Sitemap can be read, but has errors

  • Hi RankMath Support Team
    I have a problem with my sitemap in Google Search Console. Recently I have got the error Sitemap can be read, but has errors. I followed the similar tickets and did the following.
    1.Cleared the Cache
    2.Checked the sitemap in validators and got the error : Incorrect http header content-type: “” (expected: “application/xml”)
    3.Deativated all the other plugins
    4.Deactivated Sitemap Module and installed 3rd party plugin but the same error in Validator

    I included my sitemap link in Sensitive Data

    I look forward to hearing back from you to fix this error
    Thanks in Advance

    • This topic was modified 1 week, 5 days ago by Hamed Najafi. Reason: added one other step i have done to fix the error
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for getting in touch with us.

    I checked and validated your sitemap and everything seems to be fine from my end. Here is the validation URL

    Please check your sitemap in a private browser to avoid browser caching. If no issues are detected, please resubmit your main sitemap in the GSC(you should only have your sitemap_index.xml submitted)

    If you are able to view your sitemap without any problem and there is no validation issue, 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.

    Thank you.

    Thanks for your reply Michael
    I have used a third party plugin and the error was there

    And I checked the url you sent wasn’t my site map.
    I checked sitemap right now and I got the error again.

    My guess is that there is something wrong with my cdn setting


    Thank you for the URL update.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


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

    Thank you.

    I added the Login link to Sensitive Data

    Thanks for your good support and help


    I have tried to log in to check it but it seems like the link has expired, could you check it?

    Looking forward to help you.


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

    Thank you.


    The issue here is that your web server is blocking access to bots from checking the sitemap:

    It happens even when using any other sitemap or SEO plugin.

    Could you please check with your web host and ask them to not block bots from checking the sitemap and other URLs? Or, at least whitelist Google and other important bots.

    Hope that helps.

    Thanks a lot the problem solved


    We are super happy that this resolved your issue. 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 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 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this ticket.