6.2.6

2023-11-08 Fix2 Tweak6

Fixes

  • SEO: Ensure that the noindex meta tag properly observes whether events are present on the page or not. [TEC-4976]
  • SEO: Add noindex, nofollow for grid-based views like Month and Week View when they are not set as the home page. [TEC-4976]

Tweaks

  • Add an X-Robots-Tag to the response headers for ical download links to help prevent search engine crawling. [TEC-4976]
  • Added filter: tec_events_ical_header_noindex to allow preventing the X-Robots-Tag addition. [TEC-4976]
  • Added filter tec_events_seo_robots_meta_include and tec_events_seo_robots_meta_include_{$view} to short-circuit the robots meta tag addition. [TEC-4976]
  • Added filter tec_events_seo_robots_meta_content to alter the content attribute of the robots meta tag addition. [TEC-4976]
  • Added filter tec_events_seo_robots_meta_allowable_post_types to allow for the filtering of single post types that can have robots meta tags added.
  • Deprecated filters tec_events_add_no_index_meta_tag, tribe_events_add_no_index_meta, and tec_events_{$view}_add_no_index_meta in favor of the above new filters.