Defined Sitemap must return XML

Rule from seo under content category

What is a trooper!

we have submitted your edit to the community for review! We'll review and make it live on the site in the next few hours, the internet thanks you :).

Browse another section of the knowledge base

Suggest an edit


This rule has no content... yet.

Add content to this rule

Or just browse to view rules that have content


Sitemaps (although not that widely used anymore but still a valid standard) allow site owners to give search engines lists of URLs that might be hard to find while doing a normal crawl of the website.

These sitemaps must be an XML file on the root of the site, namely /sitemap.xml. Common mistakes around these files involve websites that do not have these files added and return either a full page or content other than XML.

These urls are expected to return either application/xml or text/xml, anything else indicates that the server is not handling the request correct and/or the file is simply not present and the server is falling back to a full page load. This leads to wasted server time, although minimal.

How do I fix this ?

Ensure that the sitemap listed at /sitemap.xml that is returning a 200, is either defined or updated to return a code other than 200 to show that the file is not present.

The request is expected to be returned as either application/xml or text/xml.


Browse another section of the knowledge base

Signup icon
Ready to see how well your site scores?

Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.

Sign up to get started