404 error in /product-sitemap.xml, GSC detects noindex

#167414
  • Resolved Wojtek Czaja
    Rank Math free

    Google Search Console displays a 404 error in /product-sitemap.xml
    No: “noindex” tag detected in the “X-Robots-Tag” http header

    I was looking for help, similar problems on the internet, and despite trying, I can not fix it.

    Steps I took:

    1. Settings -> Direct links -> I saved the changes
    2. Rank Math -> Sitemap -> Main -> I changed the number of links in the sitemap to 201, saved the changes and performed step one again.
    3. I excluded the sitemap from the LiteSpeed ​​cache https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Turning the Sitemap module on and off does not help, and neither does resending the map to GSC.

    Please help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Could you please share the Sitemap URL in the sensitive data section so we can check it?

    Looking forward to helping you. Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anas
    Rank Math business

    Hello,

    I checked your sitemap and it is working fine.

    Please note that sitemaps are set to noindex as you do not want them to appear in the search results.

    For the sitemap resulting in 404, can you please follow these steps?
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    Once done, please remove all the sitemaps from the Search Console and submit only the sitemap_index.xml in the sitemaps section in the search console.

    That should fix the issue. Please let me know if that does not. We are here to assist.

    Unfortunately, it does not work, I am sending the video to the google drive what I was doing and what the result was.

    Wordpress and GSC are not in English, but understanding shouldn’t be a problem.

    Ok, problem solved.

    1. I added the second sitemap /product-sitemap.xml to GSC, the map has been loaded correctly.

    2. I deleted /sitemap_index.xml and sent it again, all sitemap elements have been loaded correctly.

    3. I deleted the /product-sitemap.xml sitemap

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘404 error in /product-sitemap.xml, GSC detects noindex’ is closed to new replies.