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 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 ( it shows correctly. Is there something I’m missing?


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

1 Like

How to fix this issue? Find the same thing