Sitemap “appears to be an HTML page” error on Google Search Console

#437554
  • Resolved Kelvin
    Rank Math free

    Hi, after I submit the sitemap to Google Search Console.

    I got error message, “Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.”

    How do I fix that?

    Thanks!

    This is screenshot
    https://ibb.co/fQ4mdBD

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    Please follow the steps below:

    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/

    3. After that, remove all your sitemaps from your GSC and resubmit only the primary sitemap (sitemap_index.xml).

    After all the above steps, you may give Google some time to recrawl your sitemap and see if this changes the status you see in GSC.

    If the issue persists, please share your website URL here so we can check it on our end.

    Looking forward to helping you on this one.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Sitemap “appears to be an HTML page” error on Google Search Console’ is closed to new replies.