A sitemap does not load, is empty or is too big
A sitemap address fails, redirects, holds no addresses or is over the limit of 50,000 addresses or 50 MB, so crawlers cannot use it as it is.
Why it matters #
Each sitemap address must answer 200 with the sitemap itself. A sitemap that answers an error, or a web page, cannot be read. An empty sitemap lists nothing, and a sitemap address that redirects may not be followed by every crawler.
Google limits one sitemap to 50,000 addresses or 50 MB uncompressed. A bigger file is reported as an error and must be split into several sitemaps, listed in a sitemap index.
How to fix it #
Fix or remove sitemap addresses that fail. List the final address of each sitemap, with no redirect, in robots.txt and in your sitemap index. Remove empty sitemaps, or make sure they list your pages. Split large sitemaps into smaller files and list them in a sitemap index: most SEO plugins do this for you.
Check every file with the Sitemap Checker, and look at the sitemaps report in Google Search Console.
- Open each sitemap address and note what it answers.
- Fix, replace or remove the ones that fail or are empty.
- Split any sitemap over the limit.
- Update robots.txt and the sitemap index.
What it looks like, and fixed #
GET /sitemap_index.xml HTTP/1.1
Host: www.example.com
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
The address listed in robots.txt answers with an error page, so crawlers get no sitemap.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://www.example.com/post-sitemap.xml</loc></sitemap>
<sitemap><loc>https://www.example.com/page-sitemap.xml</loc></sitemap>
<sitemap><loc>https://www.example.com/product-sitemap1.xml</loc></sitemap>
<sitemap><loc>https://www.example.com/product-sitemap2.xml</loc></sitemap>
</sitemapindex>
A sitemap index that answers 200 and lists smaller sitemaps, each under 50,000 addresses and 50 MB.
Fix it with your AI assistant #
Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.
My website [your website address] runs on [your platform, e.g. WordPress with Yoast on nginx]. A check says one or more of my sitemaps fail, redirect, are empty or are over the limit of 50,000 addresses or 50 MB. First fetch my sitemap index and every sitemap it lists, starting from the Sitemap lines in [your website address]/robots.txt, and tell me in plain words what each one answers: status, redirects, content type, number of addresses and size (or ask me to paste them). Then give me a fix for each: rebuild sitemaps that fail, list each sitemap at its final address, remove or fill empty ones, and split large ones into files listed in a sitemap index. Rules: back up first, keep one sitemap source only, keep page addresses the same, and update robots.txt and the index to match. Give me exact steps and where they go. Finally, tell me to re-check with the URSY.com Sitemap Checker at ursy.com/sitemap-checker/.
We find the problems, and help you fix them
- Check Run a free tool or the full audit.
- Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
- Re-check Come back, check again, and watch each fix turn green.
Fix it on your platform #
WordPress
If the plugin sitemap answers 404, open Settings, Permalinks and click Save to rebuild the rewrite rules. Check that only one plugin makes a sitemap.
Your server or hosting
On nginx, SEO plugin sitemaps need a rewrite rule that sends the sitemap addresses to WordPress; check your host has added it.
Your CDN (for example Cloudflare)
Purge the sitemap addresses from the cache, and make sure the CDN does not cache an error answer or block the sitemap for bots.
Check it is fixed #
Run the URSY.com Sitemap Checker (/sitemap-checker/) again. Every sitemap should answer 200 with XML, hold addresses and stay under the limits; the Search Console sitemaps report should show no errors.
Official source #
Questions #
Can a sitemap be compressed?
Yes, with gzip. The 50 MB limit applies to the uncompressed size.
Will a broken sitemap remove my pages from Google?
No. Pages already indexed stay, but new and changed pages may be found more slowly.
More problems in Sitemaps
- Change dates that are not real Medium priority
- No sitemap that bots can find Medium priority
- The sitemap lists the wrong addresses Medium priority
- robots.txt does not list the sitemap Low priority
- The sitemap refuses bots Low priority