---
name: sitemap-segmentation-for-diagnosis
description: Use when Search Console reports thousands of unindexed URLs against one large sitemap and there is no way to tell which part of the site is failing.
---

# Sitemap Segmentation For Diagnosis

A single sitemap listing every URL reduces coverage reporting to one meaningless percentage. Splitting it is not about helping crawlers find pages, which internal linking already does; it is about turning the sitemap into a measuring instrument, because Search Console reports indexation per submitted file. Do this before an indexation investigation, not halfway through one, since the baseline has to predate the changes you are about to make.

## O que precisa primeiro

- A URL inventory with template or content type and publication date attached to each URL
- Search Console access with permission to submit and remove sitemaps
- A way to generate sitemaps programmatically from the CMS or the database, because a hand-built split rots within a quarter
- An honest answer on whether lastmod reflects real content change or just the last deploy

## Método

1. Choose the split dimension from the comparison you want to be able to make: template first, then publication cohort, then depth or language. Split by whatever you would want a separate indexation percentage for.
2. Keep each child file far below the 50,000 URL and 50MB limits, around 5,000 to 10,000 URLs, so a single failing group cannot hide inside a large denominator.
3. Generate the files from the same source of truth that produces your canonical tags. A sitemap that lists non-canonical, redirecting or noindexed URLs is treated as low quality and takes the honest segments down with it.
4. Include only URLs that return 200 and are meant to be indexed. Exclusion is the point: what you leave out is as diagnostic as what you put in.
5. Set lastmod only where it tracks a real content change, and leave it out otherwise. Google says it uses lastmod where a site has proved it accurate, and a value that updates on every deploy trains it to ignore the field entirely.
6. Submit each child through a sitemap index file, then record the indexed count per child as a dated baseline before touching anything else on the site.
7. Re-read after a full crawl cycle and rank the segments by indexation rate. The lowest-rate segment with meaningful volume is where the investigation starts, and it is usually a template rather than a scatter of individual pages.

## O que isto produz

A programmatically generated sitemap index, roughly one child file per template or cohort, with a dated indexation baseline recorded per child.

## Onde isto corre mal

- Splitting by hand once, after which the segments drift as the site grows and the per-segment numbers quietly stop describing anything
- Listing redirecting or canonicalised URLs, which drags the credibility of the whole submission down and masks the segment you were trying to isolate
- Reading a per-segment count the day after submission, when it moves for weeks, and acting on a gap that was going to close on its own
- Treating submission as a remedy: a sitemap gets a URL discovered, it does not get it indexed

---

Da biblioteca de competências da QuQi - https://www.quqi.io/pt/skills/sitemap-segmentation-for-diagnosis
