Free auditStart free
GuideSEO issue · Crawlability

Sitemap contains non-200 URLs

Separate redirects, errors, and temporary failures in your sitemap, then publish only final URLs you want Google to consider for Search.

5 min
read
6
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

A sitemap should list the final canonical URLs you want Google to consider for Search. Fetch every listed URL and classify its result: replace redirects with their final destination, remove permanent errors and URLs that should not be indexed, and investigate transient server failures before changing the file. A clean sitemap helps communicate your preferred URL set, but it does not guarantee crawling or indexing.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Different status codes need different repairs

Classify the response before editing the sitemap

Observed response

301 or 308 redirect

What it means for the sitemap
The listed URL is not the final destination.
Next action
Replace it with the final canonical URL if that page should appear in Search.
Observed response

302, 303, or 307 redirect

What it means for the sitemap
The URL is temporarily routed elsewhere; the target might not be the preferred result.
Next action
Check whether the move is temporary. Keep or replace the sitemap entry based on the page's intended canonical URL.
Observed response

404 or 410

What it means for the sitemap
The resource is missing or intentionally gone.
Next action
Remove it. Add a redirect only when there is a relevant replacement.
Observed response

5xx or timeout

What it means for the sitemap
The server or an upstream dependency failed during the check.
Next action
Check logs, CDN/origin health, and repeat the fetch before pruning a valid page.
Observed response

200 with noindex or a different canonical

What it means for the sitemap
The response is successful, but the page's indexing signals conflict with the sitemap preference.
Next action
Decide which URL should represent the content, then align the sitemap, canonical, and indexing rule. See noindex pages in a sitemap.

Google's technical requirements say it only indexes pages served with an HTTP 200 status code, and that meeting them does not guarantee indexing. A sitemap tells Google which URLs you prefer; Google says it helps discovery but doesn't guarantee that every item is crawled and indexed. Google's crawling guide also warns that including URLs in your sitemaps that you don't want to appear in Search can waste your crawl budget on pages you don't want indexed. Don't treat every non-200 response as the same error: a transient 503 calls for investigation, while a retired 404 usually calls for removal from the generated URL set.

02How it works

Compare the sitemap with the pages you intend to publish

  1. 1

    Fetch the submitted sitemap

    Check the sitemap index and every child sitemap. Confirm each file loads successfully and returns parseable XML or text.

  2. 2

    Extract and normalize URLs

    Use fully qualified absolute URLs. Normalize host, protocol, and trailing slash only according to your site's real redirect and canonical rules; do not silently merge paths that serve different pages.

  3. 3

    Request each URL and follow the path

    Record the initial status, redirect chain, final status, and final URL. Test with and without redirects so a crawler can reveal the first response and a visitor can reveal the destination.

  4. 4

    Compare to the intended indexable inventory

    Join the response report with your CMS or route list. Remove deleted, redirected, blocked, duplicate, and intentionally noindex entries; keep important pages reachable through internal links too.

Inspect one sitemap URL and its redirect destination
curl -sSIL --max-redirs 10 'https://www.example.com/category/item'
03Worth knowing

Fix the generator so the URLs stay clean

Prefer the final URL in the source data

if a slug or hostname changed, update the sitemap input and internal links rather than relying on redirects forever.

Filter by publishing state

draft, private, preview, expired, and intentionally excluded pages should not enter the public sitemap.

Preserve transient failures for review

a server outage is not evidence that the page was intentionally deleted. Retry and inspect the origin or CDN before removing a live page.

Do not add routes to force indexing

Google says a sitemap helps search engines discover URLs but doesn't guarantee that all the items in it will be crawled and indexed. Improve the page or fix the technical issue the evidence shows.

For a sitemap near the documented 50,000 URL or 50MB uncompressed limit, split it into child files and use an index. See sitemap-too-large troubleshooting for the limits and verification steps.

04How it works

Verify the corrected sitemap after deployment

  1. 01

    Run the same full comparison

    Re-fetch the sitemap and all listed pages after deploy. Confirm each retained URL returns 200 at the intended host and path, without redirecting to another canonical.

  2. 02

    Submit or resubmit the sitemap

    Use Search Console's Sitemaps report to check the latest fetch. Success means the sitemap was loaded and processed without errors; Has errors and Couldn't fetch need a fix and a resubmit. None of these statuses says the listed pages are indexed.

  3. 03

    Inspect representative URLs

    Use URL Inspection for pages still missing from Google. Check the last crawl, crawl access, user-declared canonical, and Google-selected canonical before changing more signals.

  4. 04

    Watch the next generated version

    Compare URL counts and status distributions across deploys. Alert on new redirects, 4xx/5xx responses, unexpected host changes, and URLs that have noindex or point to another canonical.

Sources · 6

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Google Search technical requirementsdevelopers.google.com · checked 2026-10-24
  2. 02Build and submit a sitemapdevelopers.google.com · checked 2026-10-24
  3. 03Site moves with URL changesdevelopers.google.com · checked 2026-10-24
  4. 04Learn about sitemapsdevelopers.google.com · checked 2026-10-24
  5. 05Sitemaps reportsupport.google.com · checked 2026-10-24
  6. 06Troubleshoot Google Search crawling errorsdevelopers.google.com · checked 2026-10-24
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Should a sitemap URL return exactly HTTP 200?

For a page you want considered for Google Search, list its final canonical URL and verify it returns 200. Redirecting URLs should generally be replaced by the destination; errors should be reviewed based on whether the page is gone or temporarily unavailable.

02Should I remove a URL from the sitemap if it returns 503 once?

Not automatically. A 503 can indicate a temporary server or upstream problem. Check logs and repeat the request; remove the URL only if the page was intentionally retired or should not be indexed.

03Can I leave a redirect URL in my sitemap?

Replace it with the final URL when the move is permanent and the destination is the page you want in Search. During a site move, Google says Search Console may show warnings for the sitemap that contains the old URLs about the URLs redirecting; this is normal and you can ignore those warnings.

04Does a clean sitemap make Google index all its URLs?

No. A sitemap helps Google discover URLs, but Google says it doesn't guarantee that all the items in it will be crawled and indexed.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane