I have submitted a sitemap that is under a folder of root domain. Example: https://www.example.com/sitemap_in/sitemap.xml

And now it is showing me error in GSC. Showing me status "Couldn't Fetch"

I checked the submitted sitemap in different sitemap validator tool and it's shown me error:

Incorrect HTTP header content-type: "text/html" (expected: "application/xml")

My website is built on React JS

  • Can you post part of your sitemap here, you can disguise your domain by using example.com Commented Apr 23, 2023 at 12:33

1 Answer 1


From what you are describing, the problem is not in that it's on a folder, but that the MIME type that your web server responds is not of type "application/xml".

Depending on your web server being IIS, Apache or other, you have to configure the extension XML to the correct Mime Type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.