Sitemap returning incorrect headers

Hi all,

Was attempting to add my blog’s sitemap.xml to Google Search Console and it returned an error stating that it was using incorrect headers. So I plugged it into the XML-Sitemaps.com validator and sure enough it gave the same error:

Incorrect http header content-type: "text/html; charset=utf-8" (expected: "application/xml")

Weirdly enough if I go to the sitemap directly (https://heyimnick.com/sitemap.xml) it shows correctly. Is there something I’m missing?

Thanks!

Nevermind I answered my own question. Private mode was still on. Doh!

1 Like

How to fix this issue? Find the same thing