Sitemap URLs and HTTP 200

An XML sitemap tells search engines which URLs you care about. For those listed URLs, it is good hygiene that each URL responds with HTTP 200 on the first HTTP response—without relying on redirects (3xx), client errors (4xx), or server errors (5xx). That keeps crawl budgets predictable and avoids sending crawlers through unnecessary hops or dead ends.

This is separate from “soft” error pages that still return 200 with a thin or misleading body; those require manual review and are not inferred automatically here.

We expand a Possibility that explains why a sitemap-listed URL redirects instead of returning HTTP 200
An expanded Possibility shows the issue, affected URL, and crawl evidence so you can fix the response or update the sitemap.

What SEO Perception does

We discover sitemap documents from your site’s robots.txt file using standard Sitemap: lines (case-insensitive). If none are declared, we also try a common default path (/sitemap.xml on your site’s host).

We parse urlset sitemaps for <loc> entries and follow sitemap index files to nested sitemaps, with limits on how many documents and page URLs we process per run so large or unusual setups stay bounded.

For each in-scope page URL (same crawl scope as your website, including subdomain settings where applicable), we merge a sitemap marker onto that URL’s row in our database (or queue it for the normal crawler if it was not discovered yet). There is no separate bulk HTTP probe: the crawler records the first HTTP response when it visits that exact URL string (redirects not followed).

A background pass then compares that stored status to 200; you can also refresh possibilities from saved crawl data using Recheck possibilities on the website. Fixing the server response or updating the sitemap to match live URLs addresses the finding.

A sitemap URL that asks not to be indexed

The same pass looks at sitemap URLs that already return HTTP 200. If the page also sends noindex, in a robots meta tag or in the X-Robots-Tag header, the sitemap and the page are asking for different things. One lists the URL. The other asks search engines to leave it out.

A page that is noindex and is not in the sitemap stays as it is. Login, cart, checkout, privacy, and similar utility paths are skipped even when they appear in a sitemap. Feeds and files such as PDFs are skipped too.

What to do

Keep the URL in the sitemap when it should be indexed, and drop noindex. Or keep noindex and remove the URL from the sitemap. Either choice is fine. The possibility is only there when both are true at once.

Example

https://example.com/guides/leather-care is listed in the sitemap and the page asks not to be indexed:

<!-- sitemap.xml -->
<url>
  <loc>https://example.com/guides/leather-care</loc>
</url>

<!-- On the page, before -->
<meta name="robots" content="noindex, follow" />

<!-- After, when this URL should stay in the sitemap -->
<meta name="robots" content="index, follow" />

Search Console can still report that Google saw a noindex rule. That is a separate check, and it only covers URLs in an inspection sample. This one uses the crawl and the sitemap list.

Related articles