Sitemap is HTML error in GSC

  • Hi. Just switching over and setting up Rank Math – so far it seems great! Just one issue. When submitting all the sitemaps to Google Search Console, two of them give an error that says they are HTML. It says ‘Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.’

    Sitemap screenshot

    Sitemap image 2

    Am I doing something wrong, or have you seen this issue before? Appreciate any help. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    You just need to add the sitemap_index.xml sitemap to the Google Search Console. Google will use that sitemap to find the others and you shouldn’t have any error that way.

    Looking forward to help you.

    Oh okay – should I delete all the other ones then (ie /product-sitemap.xml, /page-sitemap.xml?) The other ones were successfully indexed after I submitted them. Thanks!

    Hello,

    Yes, you should. Don’t worry, Google won’t deindex the pages added using them and the next pages you add will be found using the sitemap_index.xml file.

    Looking forward to help you.

    Okay, thank you!!

    Hello,

    We are super happy that this resolved your issue.

    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 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.