Home » Website Errors » Sitemap Not Found: Why Google Cannot Fetch Yours and What to Check

Sitemap Not Found: Why Google Cannot Fetch Yours and What to Check

Published 2026-10-03 | Website Errors

Sitemap Not Found: Why Google Cannot Fetch Yours and What to Check banner

"Sitemap could not be read", "Couldn't fetch" and "Sitemap not found" in Google Search Console all point to the same thing: when Google requested the sitemap URL you submitted, it did not get a valid sitemap back. Work through these checks from the top. The first one that fails is your answer.

1. Does the URL return the file?

curl -sI https://example.com/sitemap.xml

You want HTTP/2 200 and a content type such as application/xml or text/xml.

Result Meaning
404 There is no file at that address. Wrong URL, or it was never generated
301 or 302 The URL redirects. Test the final address, and submit that one
403 A firewall, security plugin or server rule is blocking requests
200 but text/html You probably get a page (a 404 page, or your homepage) instead of XML

Open the URL in a browser too. You should see XML, not a themed web page.

2. Is the URL the one the CMS really creates?

Many sites look for /sitemap.xml when their software publishes it elsewhere:

  • WordPress (5.5 and later) serves /wp-sitemap.xml on its own. Some SEO plugins serve their own, such as /sitemap_index.xml.
  • Shopify serves /sitemap.xml.
  • Next.js generates it from an app/sitemap.ts file.
  • Static site generators often need a plugin or setting to produce one.

Look at your CMS or plugin settings for the real address.

3. Is it blocked by robots.txt?

Open https://example.com/robots.txt and read it. A rule like Disallow: / or Disallow: /sitemap will stop Google from reading the sitemap. You can also list the sitemap there so crawlers find it:

Sitemap: https://example.com/sitemap.xml

4. Does the content actually validate?

Even a reachable file fails when its content is wrong:

  • It must be valid XML. A PHP warning or stray text printed before the XML tag breaks it.
  • URLs must be absolute (https://example.com/page), not relative.
  • URLs should match the version of the site you verified in Search Console. A sitemap full of http:// URLs on a site verified as https:// causes problems, as does mixing www and non-www.
  • Do not include URLs that redirect, return errors or are blocked with noindex.

5. Size and compression

One file may hold at most 50,000 URLs or 50 MB uncompressed. Past that, split it and list the parts in an index file. A gzipped sitemap (.xml.gz) is allowed.

6. Is the server unreliable?

A sitemap that is slow, intermittently failing or rate limited will show "Couldn't fetch" even when it works when you test by hand. Check your server logs for requests from Googlebot to the sitemap URL and the status codes returned.

7. Resubmit and wait

Fix the cause, then in Search Console open Sitemaps, remove the failing entry if needed, and submit again. The status can take a little while to update, and "Success" does not mean every URL gets indexed. That depends on content and quality.

Common mistakes

  • Submitting sitemap.xml when the site publishes sitemap_index.xml.
  • Caching or security plugins that serve a challenge page to bots.
  • Generating the sitemap once and never updating it when pages are added.
  • Leaving localhost or staging URLs in the sitemap after a migration.

Frequently Asked Questions

Do I need a sitemap?

Small sites with good internal links are usually found without one. A sitemap still helps Google discover new and updated pages faster and gives you a status report in Search Console.

Where should the sitemap be?

Most commonly at /sitemap.xml in the site root. Any address works as long as you submit it in Search Console or list it in robots.txt. Keeping it in the root also lets it cover the whole site.

How big can a sitemap be?

A single sitemap file can hold up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites use several sitemaps listed in a sitemap index file.

Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.

More in Website Errors