XML Sitemap Errors

Search & Indexing Errors

The map you handed Google leads to places that no longer exist.

datacram.com/fix/xml-sitemap-errors
Likely causes, ranked
XML Sitemap Errors
The sitemap URL returns an errormost likely
It lists dead or redirected URLscommon
It includes noindexed pagescommon
Two plugins generating sitemapspossible
Fix steps in this guide5
the causes explained below, most likely first
What you’re seeing

Search Console shows “Couldn't fetch”, “Sitemap could not be read”, or reports thousands of submitted URLs with almost none indexed. Sometimes the sitemap URL itself returns an error page.

What it actually means

A sitemap is a list of the pages you want search engines to know about. It does not force indexing — it is a recommendation, not an instruction — but it is how a crawler discovers pages that are not well linked internally.

Errors matter less for the sitemap itself than for what they reveal. A sitemap full of 404s, redirects, and noindexed URLs tells Google your list is unreliable, and an unreliable list gets less attention. A clean one is a small, honest inventory of pages that actually exist and are meant to rank.

What usually causes it

Most likely first.

  1. 1

    The sitemap URL returns an error

    A plugin conflict, a caching rule, or a rewrite problem means the file itself cannot be fetched.

  2. 2

    It lists dead or redirected URLs

    Pages deleted or moved without the sitemap regenerating. Common after a redesign.

  3. 3

    It includes noindexed pages

    Contradictory instructions: listed as important, then marked do-not-list. Confusing to crawlers and a wasted crawl.

  4. 4

    Two plugins generating sitemaps

    WordPress core generates one and an SEO plugin generates another. Two competing lists, one of them stale.

  5. 5

    Wrong protocol or hostname inside

    URLs listed as http when the site is https, or without www when the site uses it. Every entry then redirects.

How to fix it

Work through these in order. Take a backup before you change anything.

  1. Step 1Open the sitemap in a browser

    Visit the URL you submitted. If it errors or 404s, that is the problem — nothing else matters until it loads.

  2. Step 2Check for duplicates

    Look for both /sitemap.xml and /wp-sitemap.xml. Pick one source, disable the other, and submit only the survivor.

  3. Step 3Confirm the URLs inside are correct

    They must match your canonical protocol and hostname exactly. Every mismatch becomes a redirect and wastes crawl budget.

  4. Step 4Remove what should not be there

    Noindexed pages, redirects, tag archives, and thin pages do not belong. A short accurate sitemap outperforms a long messy one.

  5. Step 5Resubmit and watch coverage

    Submit the clean sitemap in Search Console, then check the coverage report over the following weeks rather than the following hours.

When to stop and call someone

Call someone if the sitemap looks correct but pages still are not indexed — the sitemap is rarely the real blocker — or if your site is large enough that the submitted-versus-indexed gap is thousands of URLs, which usually points at a structural problem rather than the file itself.

Frequently asked

Usually because the sitemap URL itself returns an error, a redirect, or a caching response rather than XML. Open the exact URL you submitted in a browser — if it does not load clean XML for you, Google cannot read it either.

No. A sitemap helps search engines discover pages, but indexing is a separate decision based on quality, crawl budget, and whether the page is worth listing. Submitting a URL is a suggestion, not an instruction.

Only large sites need multiple sitemaps under an index file. The problem to avoid is two systems generating competing sitemaps — WordPress core and an SEO plugin both do — which leaves one stale list contradicting the other.

No. A sitemap should contain only canonical, indexable URLs that return a 200 status. Including redirects or noindexed pages sends contradictory signals and reduces confidence in the whole list.

Automatically, whenever content changes. Most SEO plugins handle this. A sitemap that has to be regenerated by hand will eventually go stale, which is how dead URLs end up being recommended to Google months later.

Free · AI-powered · Emailed to you

See exactly what’s holding your website back.

Get a free audit of your site — speed, SEO, mobile, and security — with the fixes that matter most, delivered as a PDF to your inbox.

Get my free audit
CallGet a quote