Setting cookies to unnecessary causing noindexing of pages
-
Hi, I would like to report an incompatibility between GDPR Cookie Consent plugin (1.5.9) and Yoast SEO plugin (7.7.3).
When both plugins are active, a robots noindex meta tag gets automatically added to <head> of all the pages, preventing our site from getting indexed:
<meta name=”robots” content=”noindex,follow”>More specifically, when both Yoast SEO and GDPR Cookie Consent are active and all the cookies in the “Cookie List” of GDPR Cookie Consent are marked as necessary the indexing works fine. The noindexing problem appears only when we have any of the cookies (such as Google analytics) marked as unnecessary in the “Cookie List” of GDPR Cookie Consent plugin.
We confirmed this incompatibility with Health Check plugin, as well as manually deactivating different plugins and testing their combinations together. We know the problem is not from Yoast SEO since when we deactivate GDPR Cookie Consent plugin the indexing problem disappears. Also we didn’t see this issue before setting some of the cookies to unnecessary on GDPR Cookie Consent.
Now as a temporary fix we have set all the cookies to necessary. Could you please look into this and let us know if you have any suggestions or solutions. Thank you in advance.
- The topic ‘Setting cookies to unnecessary causing noindexing of pages’ is closed to new replies.