Home › Forums › Calendar Products › Events Calendar PRO › How to Remove Daily/Weekly/Monthly Archives
- This topic has 5 replies, 2 voices, and was last updated 6 years, 11 months ago by Josh Fialkoff.
-
AuthorPosts
-
May 9, 2017 at 4:46 am #1280738Josh FialkoffParticipant
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,
JoshMay 10, 2017 at 2:43 pm #1282006CliffMemberHi, 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.
May 11, 2017 at 4:24 am #1282221Josh FialkoffParticipantCan we have a day view without producing an archive?
May 11, 2017 at 10:49 am #1282459CliffMemberThe 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.
June 2, 2017 at 9:35 am #1292440Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘How to Remove Daily/Weekly/Monthly Archives’ is closed to new replies.