• Resolved directrosa

    (@directrosa)


    Hello,
    I have been using yoast seo plugin for sometime and have just had this issue come up.

    google console has just advised me the sitemaps are returning a 404 and there is a ‘noindex’ detected in ‘X-Robots-Tag’ http header.

    This is occurring in the index sitemap, page sitemap and category sitemap but NOT the post sitemap?

    I have never had this issue before – how do I resolve this?

    I have tried the “Re- Saving Permalinks” (without changing permalinks) fix however this did Not work.

    Can you please advise how I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @directrosa,

    Sitemap noindex

    By default, the sitemap is set to ‘noindex’ which means it is not indexed by Google, and therefore is not included in Google’s search results for your site. The reason for this is that the sitemap file is not created or meant to be viewed by a site’s users. But rather, the sitemap is meant only to be read by search engine bots, and serves as a guide to the search engines for what pages are to be indexed for a site.

    Page sitemap and Category sitemap

    Yoast SEO has settings (SEO > Search Appearance > Content Types / Taxonomies) where content types like Post, Page, etc and taxonomy like Category can be set to Disable to prevent them from appearing in search results. Yoast SEO does not generate respective sitemaps if those options are disabled. You can check if Page and Category are disabled. Also, check whether page-sitemap.xml and category-sitemap.xml exist inside the main sitemap sitemap_index.xml. If they don’t, do enable them from Search Appearance settings and resubmit the sitemap.

    Thread Starter directrosa

    (@directrosa)

    Thanks for the reply Suwash

    Regards
    P

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Noindex detected in Sitemaps’ is closed to new replies.