SEO

Sitemap Index

Also called Sitemap index file

An XML file listing your other sitemap files, so a large site can be split up but submitted once.

Quick facts: Sitemap Index

Category
SEO
Also called
Sitemap index file
Level
Intermediate
Affects
URL discovery, indexing diagnostics, crawl efficiency
Where to see it
Google Search Console (Sitemaps report), Bing Webmaster Tools, Screaming Frog
In this article4
  1. How a sitemap index works
  2. Why a sitemap index matters
  3. Where sitemap indexes go wrong
  4. How to get it right

How a sitemap index works

An ordinary XML sitemap lists page URLs. A sitemap index lists sitemaps instead: each entry points at a sitemap file and, optionally, records when that file last changed. You submit the index once and the search engine follows it down to everything underneath.

It exists because the sitemap protocol caps both the number of URLs a single file may hold and the size of that file. Beyond those ceilings you have no choice but to split, and the index is what keeps the pieces connected as one set. Most content management systems, WordPress included, switch to an index automatically the moment a site outgrows a single file, which is why many owners have one without ever deciding to.

Why a sitemap index matters

The real benefit is diagnosis, not ranking. Search Console reports indexing results for each submitted sitemap separately. If every URL sits in one file, all you learn is that some pages are not indexed. If products, category pages, blog posts and location pages each have their own sitemap under an index, you learn which type is failing, and that is a completely different conversation with a developer.

It also makes maintenance sensible. A sitemap that holds only blog posts can be rebuilt when a post is published without touching the rest, and a whole section can be pulled out of the index the day it stops being something you want crawled.

Where sitemap indexes go wrong

Nesting is the first trap. An index may list sitemaps, but it may not list other indexes, and a nested structure will simply be rejected rather than followed.

The second is assuming the split itself is an improvement. Splitting a bad list into several files gives you several bad files. A sitemap should list canonical URLs that return a normal response and are genuinely meant to be indexed. Redirected URLs, noindexed pages, thin tag archives and dead links waste attention wherever they are listed, and they make the indexing report harder to read rather than easier.

The third is the last-modified date. If the system stamps today’s date on every entry each time it regenerates, the signal carries no information and gets discounted. It should change when the content actually changes.

Location matters too. A sitemap is expected to sit on the same host as the URLs it lists, and a file placed inside a subfolder can only cover URLs at or below that folder, so a sitemap dumped in a random directory may cover nothing at all.

How to get it right

Split by content type before you split by size, because that is the split that answers questions later. Submit only the index file in Search Console and Bing Webmaster Tools and let the engines find the rest, then reference the index in robots.txt so any other crawler finds it too.

After that, treat the per-sitemap indexing figures as a monthly health check. A section where indexed pages fall well behind submitted pages is telling you something specific about that template, that content type or that part of the navigation, and chasing it there is far quicker than auditing the whole site. On large catalogues this is usually where technical SEO work starts paying for itself.

Do and do not

Do

  • Split sitemaps by content type, not just by size
  • Submit the index file rather than every child sitemap
  • Keep last-modified dates honest and generated automatically

Do not

  • Nest one sitemap index inside another
  • List redirected, noindexed or broken URLs
  • Point a sitemap at URLs on a different host

Questions people ask about this

Do I actually need a sitemap index?

Only if the site is too big for a single sitemap file, or if you want indexing reported separately by section. A small brochure site is perfectly served by one sitemap. An ecommerce catalogue, a jobs board or a site with many location pages will need an index, and most content management systems create one without being asked.

Should I submit the index or each sitemap?

Submit the index. Search engines follow it and discover every child sitemap, and the Sitemaps report still breaks the results down file by file. Submitting both is not harmful, but it clutters the report with duplicate rows and makes it slower to spot which section of the site has the problem.

Can a sitemap index point at sitemaps on another domain?

Not in normal use. Sitemaps are expected to live on the same host as the URLs they list, and an index on the same host as its sitemaps. Cross-host submission is only possible in specific setups where you have verified ownership of both properties, so for almost every business the answer is to keep everything on one host.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.