How to Remove Daily/Weekly/Monthly Archives

Home Forums Calendar Products Events Calendar PRO How to Remove Daily/Weekly/Monthly Archives

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1280738
    Josh Fialkoff
    Participant

    Hi,
    How can we remove URLs such as https://jordilabs.com/events/2016-01-26/ and https://jordilabs.com/events/2016-01-24/ from being produced?
    These are not relevant to users because the site only has a dozen or so events, so a daily archive is of little user value.
    And I do not want to have these urls dilute the main calendar’s SEO value.
    Thanks,
    Josh

    #1282006
    Cliff
    Member

    Hi, Josh. I’m happy to say this should be easy!

    Please go to wp-admin > Events > Settings > Display tab > Enable event views > uncheck “Day”

    Please let me know how this goes for you.

    #1282221
    Josh Fialkoff
    Participant

    Can we have a day view without producing an archive?

    #1282459
    Cliff
    Member

    The your-site-com/events page is always technically a WordPress archive, but our plugin has code to determine which view/template file to load based on your settings or other things added to the URL (like your-site-com/events/month)… so, no…

    I visited your site — https://jordilabs.com/events/ — and see that you do have Day View active in the Tribe Bar view switcher, but https://jordilabs.com/events/today/ redirects back to List View — maybe this is intentional via some custom code you added to your site.

    Assuming that redirect wasn’t there, I saw that the 2 URLs you initially shared already ask search engines to noindex them.

    Therefore, I’m wondering if you just don’t want the Day View archive links to exist at all (just personal preference or some UX concerns), or is it because you’re concerned about SEO?

    FYI: You could possibly also leverage the tribe_events_add_no_index_meta filter at https://github.com/moderntribe/the-events-calendar/blob/4.5.1/src/Tribe/Main.php#L1112-L1147

    Please let me know your thoughts about this.

    #1292440
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to Remove Daily/Weekly/Monthly Archives’ is closed to new replies.