The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Yoast SEO
[Plugin: WordPress SEO by Yoast] Removed xml sitemaps still returning a 200 status, but look like 40 (2 posts)

  1. milian
    Posted 3 years ago #

    WordPress version: 3.4.1
    WordPress SEO version:

    I did this:

    I have certain taxonomies 'noindexed' via this plugin, so I excluded them from the xml sitemap.

    I expected the plugin to do this:

    The links to these taxonomy sitemaps to be removed from the sitemap_index.xml and the excluded taxonomy sitemap urls to return a 404 status.

    Instead it did this:

    The links were removed from sitemap_index.xml, but if you manually browse to the excluded taxonomy sitemap urls they look like a 404 page (Has the 404 template message on the page), but they actually return a 200 status)

    I've seen this happen on 3 different sites now, and can cause a very serious problem. On some of the sites, these 404 looking pages are duplicating the home page under the 404 message. As they are returning a 200 status the pages are getting indexed and thus duplicate home pages are being indexed in Google.

    I thought this was an issue with caching plugins, but have now experienced it on a site with no such plugins. This has happening from with all versions of this plugins right down to version 1.0.


  2. darrylholland
    Posted 3 years ago #

    My sitemap isn't working on my Yoast plugin.I tryed deactivating the Super Cache and that didn't work.A message says,Cannot view xml input using xsl style sheet.How do i fix it?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.