Treat the sitemap as a maintained inventory
Generate the sitemap from published canonical records whenever possible. Keep publication status separate from whether a route exists in the application: previews, filtered views and utility pages may all return HTML without belonging in search. For a static website, compare the generated list with the deployed files after upload. The XML must be readable, but a syntactically valid document can still contain the wrong URLs.
Worked example
Illustrative scenario; not a claim of measured client results.
Imagine a library containing 200 articles and ten collections. Export the intended canonical list, normalize the host and compare it with the sitemap as sets. Investigate missing entries and unexpected entries separately. If two article addresses differ only because one has an old slug, decide which is current before adding either. A count of 210 alone would not reveal that one article was omitted and another duplicated.
Checks, limitations and next decisions
When Search Console reports successful processing, treat that as evidence Google read the sitemap, not that every page was indexed. Check a sample of newly added pages and their internal links. Preserve meaningful modification dates for actual changes. Review sitemap generation whenever content is unpublished, moved or localized; these transitions are where an otherwise healthy inventory commonly becomes misleading.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Collect canonical URLs that return successful responses and are intended for search.
- Exclude redirected, missing, private and deliberately unindexed pages.
- Submit the sitemap and reconcile discovered URLs with the published inventory.
A mistake to avoid
Do not change modification dates simply to make unchanged pages look fresh.
How to check progress
Compare sitemap URL counts with published content and investigate mismatches.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read Diagnosing a page that Google has not indexed.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
