Skip to content
HextaraHextara

Technical SEO2 min read

Designing sitemaps for large sites

A sitemap should list the pages you want indexed, not every URL you have. For big sites that means splitting, filtering and keeping it accurate.

Written by SofiaChecked Published
On this page9 sections
  1. 01List only pages worth indexing
  2. 02Respect the limits
  3. 03Split by meaning, not just by size
  4. 04Keep it accurate
  5. 05Reference it
  6. 06A model for a site with generated pages
  7. 07Check what the search engine reports
  8. 08Automate with care
  9. 09Quality over quantity

A sitemap is a file that lists URLs you want search engines to know about. It helps discovery but does not guarantee crawling or indexing, so what you put in it matters more than its size.

List only pages worth indexing

  • Canonical, working pages that return a success status.
  • Pages you allow to be indexed.
  • Not redirects, errors, duplicates, internal search results or private areas.

Respect the limits

The sitemap protocol limits each file to 50,000 URLs and 50 MB uncompressed. Larger sites use a sitemap index that points to several sitemap files.

Split by meaning, not just by size

Separate files by section, such as services, locations and articles. Search Console reports per sitemap, so you can see which sections are being discovered and which have problems.

Keep it accurate

  • Generate it from the same data that decides which pages are published and indexable.
  • Remove a page from the sitemap the moment it is unpublished or set to noindex.
  • Use last-modified dates only when they reflect real content changes.

Reference it

Add the sitemap or sitemap index address to robots.txt and submit it in Search Console. Then watch the coverage reports rather than assuming submission means indexing.

A model for a site with generated pages

  • core.xml: the main pages, such as services and company pages.
  • One file per content type: services, industries, articles.
  • locations.xml: only location pages that have passed review and are meant to be indexed.
  • combinations.xml: only reviewed pages that combine a service with a place or industry.

Check what the search engine reports

Search Console shows, per sitemap, how many URLs were submitted and how many are indexed, with reasons for exclusions. If a section shows many submitted but not indexed, the usual causes are thin content, duplicates or pages the engine considers not useful. Treat this as feedback on the pages, not on the sitemap.

Automate with care

Generate sitemaps from the same data and rules that decide whether a page is published and indexable. A separate hand-edited list will drift. Add a test that fails the build if a noindex, draft or redirected URL appears in any sitemap.

Quality over quantity

A sitemap with a million thin URLs does not help. If most generated pages would not satisfy a visitor, leave them out of the sitemap and out of the index, and publish the ones that do.

What we read for this article

Topics

  • #sitemaps
  • #indexing
  • #largesites

About the writer

Sofia · Content writer

Sofia writes Hextara's guides on websites, AI automation, CRM and search, in plain language for business owners.

More from Sofia

Planning something like this?

Tell us what you want to build or automate. We will look at it with you in a free consultation, with no obligation.

Book a consultation or send us a message

Tell us what you want to build.

Book a consultation to discuss your project, or send the details for a written estimate.