Thread Starter
M3
(@emmtre)
Anyone else with the same problem? The site maps sitemap_index.xml, page-sitemap.xml and post-sitemap.xml are now indexed as normal pages.
Thread Starter
M3
(@emmtre)
Why are the sitemaps included in search results? This behaviour started with version 2.3.4. Any comments from the Yoast developers?
Thread Starter
M3
(@emmtre)
Anyone else having problem with this? It might be a problem related to W3 Total Cache. I can see that the XML declaration in the created Yoast sitemap is displayed as HTML comments in the cached sitemap and the “X-Robots-Tag: noindex, follow” is also removed in the cached sitemap. So this is probably the reason to why sitemaps now are displayed in Google search results. Any suggestion how to fix this problem?
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="//website.com/main-sitemap.xsl"?>
<!--?xml version="1.0" encoding="UTF-8"?-->
<!--?xml-stylesheet type="text/xsl" href="//website.com/main-sitemap.xsl"?-->