If you are using Yoast SEO in combination with Modern Tribe Events calendar, I do, in general, personally recommend adding the snippet mentioned above to functions.php
:
add_filter( 'tribe_events_add_no_index_meta', '__return_false' );
I believe the logic behind adding noindex tag to the main events page is to prevent so-called “spider traps” where bots crawls every iteration of your events page – filtered views, date-based pages, etc… This indeed is not great for SEO.
However, if you are using Yoast SEO, Yoast adds a canonical link tag to your Events page which makes the noindex tag less necessary.
For example:
https://www.domain.com/events/
Has a canonical tag:
<link rel="canonical" href="https://www.domain.com/events/" />
AND these views have the same canonical tag:
https://www.domain.com/events/2019-02/
https://www.domain.com/events/month/?tribe_eventcategory=38
This tells Google that the canonical version of the page is https://www.domain.com/events/, and that is the page that should be ranked and indexed.
This does not affect any individual events, which are all canonicalized individually.
That said, while I think this is an ok solution for Yoast SEO / Modern Tribe combination, I think ideally there would be rel="prev"
and rel="next"
links on the date-based event views so that search bots understand your calendar is part of a series.
-
This reply was modified 5 years, 10 months ago by nocabt.