Google Search Console is showing the following error:
Sitemap can be read, but has errors
Unsupported file format
I tried validating the sitemap here, and it shows me the following error:
Incorrect http header content-type: "text/html" (expected: "application/xml")
But don't understand how to fix it? My sitemap is an xml file.
<?xml version="1.0" encoding="utf-8"?>
andxmlns
that are required at the top of it. See Unsupported file format of sitemap - Google for details.