receive this error when attempting to validate
Incorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)
Hi There,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
It is likely that there is a conflict with one of your installed plugins. Could you please perform the steps outlined on this page to isolate the culprit: https://rankmath.com/kb/check-plugin-conflicts/
Looking forward to helping you. Thank you.
Hi
I installed site health but was unable to determine the problem i uninstalled your plugin cleaned the database of rankmath and installed yoast and was immediately able to submit and verify sitemap
i worked with my webhost support and was unable to determine the problem
Hi Jason,
Assuming Google’s unable to fetch the Sitemap is a bug on their end. Please read here
https://support.google.com/webmasters/thread/3280971?hl=en
It’s happening with other SEO plugins as well.
The most prominent reason behind that seems to be the introduction of the Indexing API
https://rankmath.com/blog/google-indexing-api/
Google has plans to drop the use of Sitemaps and allow indexing API.
With that said, if your Sitemap is opening fine and online tools, such as the below one, shows no error, you should be fine
https://www.xml-sitemaps.com/validate-xml-sitemap.html
With that said, always submit only the index of the Sitemap, which looks like this
https://rankmath.com/sitemap_index.xml
Hope that clears the confusion.
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.