Google Console read sitemap as html

Hi
Am having problem submitting my sitemap to Google console due on his error:

Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.

I also try validating the sitemap and it generate the following error:

Incorrect http header content-type: “text/html” (expected: “application/xml”)

I have try changing renaming the file XML file, using different generators, and creating it my self but nothing works.

But lastly I found that it has something to do with infinityfree: here is the Website URL for the XML file.
http://yprince9jablog.epizy.com/sitemap.XML

Pls I need help.

Here, one of these may be able to help

https://forum.infinityfree.net/search?q=sitemap

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.