A sitemap of sitemaps, checked branch by branch
A regular XML sitemap lists pages. A sitemap index lists other sitemap files, each of which lists its own pages. Large sites need one because a single sitemap is capped at 50,000 URLs and 50MB uncompressed, and most SEO plugins create one anyway so posts, products and pages each get their own file. You submit the one index URL and search engines find every child from there.
The weak point is the links between the files. The index can load perfectly while one of its children returns a 404, and every URL in that child silently drops out of the sitemap route to discovery. This checker loads the index, lists every child sitemap it references with its declared lastmod date, and requests each child to report its HTTP status, so a dead branch stands out immediately.
What the checker does with your URL
Paste the index URL directly, or enter a domain. With a domain, the tool tries /sitemap.xml first and, if that is missing or not a sitemap, uses the location declared in robots.txt or another common path such as /sitemap_index.xml. Gzipped files are decoded. It then reads the root element: sitemapindex means an index, urlset means a regular sitemap of pages, and anything else is reported as not a valid sitemap.
For an index, it requests the first 25 child sitemaps and shows each one's status code next to its lastmod. If the index lists more than 25, the rest are shown as listed but unchecked. Any child that does not return 200 is flagged as broken, and a child whose address looks like another index file gets a warning, because the protocol allows only one level of indexing. You can export the child list as a CSV for a ticket or spreadsheet.
This tool checks the structure and reachability of the tree. It does not open each child to count or validate the page URLs inside; for that, paste a child sitemap into the Sitemap Validator, which checks URL format, duplicates, lastmod values and a sample of live status codes.
What a healthy index looks like
Here is a typical index from an SEO plugin. Each sitemap entry has an absolute loc and, ideally, a lastmod that reflects when something in that child last changed:
<?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>
<lastmod>2025-03-14T08:12:00+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/product-sitemap.xml</loc>
<lastmod>2025-03-10T17:40:00+00:00</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.com/page-sitemap.xml</loc>
<lastmod>2025-01-22T11:05:00+00:00</lastmod>
</sitemap>
</sitemapindex>Notice that the page sitemap's date is older than the others. That is normal: static pages change less often than posts and products. What you do not want is every child showing the same timestamp, to the second, on every visit, which usually means the dates are generated at request time rather than from real content changes.
Index versus urlset: two different structures
The two file types look alike but use different elements. A regular sitemap wraps entries in urlset, and each url points at a page. An index wraps entries in sitemapindex, and each sitemap points at another sitemap file. Listing pages inside an index, or child sitemaps inside a urlset, leaves search engines unable to use the file as intended.
An index may contain up to 50,000 child entries, but it cannot point to another index. If you outgrow one index, submit several separate indexes. Every child loc must be an absolute URL, normally on the same host as the index.
Broken branches and how they happen
The most common failure is an index that still points at child files from an old setup: old filenames after switching SEO plugins, an old folder, or the previous domain after a migration. Every child 404s or redirects, and the whole tree is dead even though the index itself loads. A child that returns a 5xx error on a large catalog is another classic; generating a 50,000-URL file on request can time out under load.
Redirecting children are a softer problem. Google can follow them, but they signal the index is out of date, so point the index at the final URL. And if a child is blocked to bots by a firewall or login, it returns 403 here too, which is a useful early warning.
Where indexes come from on common platforms
WordPress
Core WordPress serves /wp-sitemap.xml as an index. Yoast SEO and Rank Math serve /sitemap_index.xml with children such as post-sitemap.xml. After switching plugins, flush permalinks (Settings, Permalinks, Save) so the new sitemap routes load, and update the Sitemap line in robots.txt.
Shopify
Shopify's /sitemap.xml is an index with children for products, collections, pages and blogs, split automatically as catalogs grow. Broken children there are rare and usually temporary.
Nginx or Apache
If child sitemaps are static files, make sure the server serves .xml and .xml.gz files with a 200 status and does not route them to your app's catch-all page. If they are generated, cache them so a crawler request does not trigger a slow rebuild.
How search engines use the index
Reference the index in robots.txt with a Sitemap: line and submit it in Search Console. Google then fetches each child on its own schedule and can use honest lastmod dates to decide which children to revisit sooner. Search Console also reports submitted and indexed counts per child, which makes sections that are struggling easy to spot. Our XML sitemap guide covers how to split sitemaps so those reports stay useful.
Order of fixes after a run
Fix dead branches first: regenerate any child that 404s or errors, or remove its entry from the index. Then update redirecting entries to their final URLs. Next, check that the page URLs inside each child are not blocked by robots.txt with the Robots.txt vs Sitemap Conflict Checker, which follows the whole index. Finally, re-run this check after every migration or plugin change, because indexes are generated by automation that can fall out of sync without anyone noticing.