Sitemap strategy for large sites
One sitemap holds 50,000 URLs or 50 MB uncompressed — whichever comes first. Plan the split before you need it.
Know the hard limits
All sitemap formats limit a single file to 50 MB uncompressed or 50,000 URLs. Past either limit, break the list into multiple sitemaps and optionally point a sitemap index file at them. A sitemap index can reference up to 50,000 sitemaps. Submit the index (or the individual files) in Search Console — per-file submission also lets you track each section's search performance separately.
Split by section, not by alphabet
When you outgrow one file, split along content boundaries you already manage: product categories, content types, locales, or publication eras. Section-aligned sitemaps make Search Console coverage reports readable — "the /guides/ sitemap is healthy, the /archive/ one is not" — where an alphabetical split tells you nothing actionable.
Only canonical, only absolute, only wanted
Use fully-qualified absolute URLs, exactly as you want them crawled. A sitemap entry should be the canonical address of a page you want discovered. Keep out:
- Redirect targets and redirect chains — list the destination, not the hops
- Non-canonical variants (parameter versions, print pages, session URLs)
- Pages blocked by robots.txt or carrying noindex — a sitemap cannot override those directives
- 4xx/5xx addresses — a map full of errors stops being read as the truth about the site
Keep lastmod honest
Google uses <lastmod> only when it is consistently and verifiably accurate, and it should reflect a significant update — content, structured data, or links. Bumping lastmod on every build to look fresh teaches Google to ignore the field for the whole site. <priority> and <changefreq> are ignored entirely; emitting them is wasted bytes.
Generate from the same source of truth
The sitemap, the canonical annotations, and the noindex decisions must agree. Generate all three from the same publishing data — the moment the sitemap is hand-maintained separately, it drifts, and a sitemap that disagrees with the site's own signals gets discounted.
Audit on a schedule
- Extract the current sitemap URLs with the sitemap URL extractor.
- Check the list for duplicates and non-canonical entries with the duplicate checker.
- Verify a sample of URLs returns 200 and matches the canonical address — a crawl or Search Console, not this site.
- Reconcile the sitemap against what the site actually serves, and fix the generator — not just the file.
pSEO Tech · Published . Prepared with AI assistance; editorial approach and corrections are described on our method page. Examples are illustrative, not case-study results.
References and further reading
- Google: build and submit a sitemap — size limits, absolute URLs, lastmod accuracy, and ignored fields.
- Google: manage large sitemaps — splitting files and using a sitemap index.
- Sitemaps.org protocol — the underlying file specification.