Sitemap Issue

  • I am getting a sitemap parsing error in Search Console. Here’s the exact error:
    We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.

    I have already flushed the permalinks by hitting the “Save Changes” button. Also, I have flushed the sitemap settings in Rank Math by hitting the “Save” button. I have also cleared the cache of the website.

Viewing 1 replies (of 1 total)
  • Hi Ashley,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Could you please check the following:
    1. Is the sitemap working fine in your browser? You can check that by going domain(.)com/sitemap_index.xml

    If the sitemap is working fine, you can try validating it on this link: https://www.xml-sitemaps.com/validate-xml-sitemap.html

    If the validation works, please move to the second point.

    2. Have you verified the correct version of your website on Google? Please check if you have verified the www (or non-www) and https (or http) version of your website. If there is a mismatch, please fix that.

    3. Finally, make sure you have cleared the cache and excluded Google bot from seeing a cached version of your sitemap.

    If you have followed these and you are able to view your sitemap without any problem, then Rank Math is outputting your sitemap correctly and the error must be coming from Google. You can try and use a 3rd party sitemap plugin to confirm. Just make sure you have disabled the Sitemap module of Rank Math in WordPress Dashboard > Rank Math > Dashboard when using a 3rd party sitemap plugin.

    If the other plugin works, please do let us know.

    You might also want to link for troubleshooting:

    Rank Math Sitemap Issues and Their Fixes

    Please do not hesitate to let us know if you need our assistance with anything else.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.