Include
- Canonical, indexable URLs
- Accurate modification dates when supported
- The intended protocol and hostname
- Separate files or indexes when scale requires them
Exclude
- Redirects, errors, noindex pages, and noncanonical versions
- Private, staging, and test environments
- URLs the site does not want indexed
Sitemap operating process
- 01
Generate from canonical records
Build the sitemap from the same source that determines published, canonical, indexable URLs.
- 02
Separate large or operationally distinct sets
Use sitemap indexes and focused files for content types, sites, languages, or update patterns when that improves diagnosis.
- 03
Use modification dates honestly
Update lastmod only when the page changed materially enough to justify recrawling.
- 04
Submit and monitor
Connect the sitemap to the relevant search platform and compare submitted, discovered, crawled, and indexed states.
- 05
Audit for drift
Remove redirects, errors, noindex pages, noncanonical URLs, staging hosts, and deleted content.
A sitemap is a discovery signal
A sitemap helps communicate which canonical URLs matter and when they changed. It does not guarantee crawling, indexing, or ranking, and it should not become a substitute for internal links and clean site architecture.
Apply XML sitemaps to a real website decision
Use xml sitemaps as a decision framework rather than a detached definition. Start with the user or business task, collect discovery paths, response codes, rendering, directives, canonicals, internal links, sitemaps, duplication, and selected URLs, document uncertainty, and decide what action is justified by the evidence.
Evidence
Page-template and url-pattern evidence rather than isolated examples.
Interpretation
Explain how the observed condition affects the intended outcome: make the intended pages discoverable, interpretable, internally connected, and maintainable.
Verification
Recrawl the affected patterns, inspect rendered output and directives, and monitor indexation and search behaviour over time.
Questions to answer about XML sitemaps
- What user, search, commercial, compliance, or operational task does xml sitemaps affect?
- Which templates, URLs, entities, environments, or journeys are actually in scope?
- What evidence would distinguish a confirmed problem from the risk of changing directives or canonicals without understanding the intended URL model?
- Who owns the decision, implementation, approval, and follow-up?
- What measurement or retest will prove the change improved the intended outcome?
Turn xml sitemaps into an accountable record.
A documented decision or practice for xml sitemaps that can be applied to a real website.