XML Sitemap Creation, Submission and Validation
Key takeawayA sitemap is the URL list a site hands to search engines. It does not guarantee indexing, but it shortens discovery time considerably. Real problems usually come from URLs that should not be listed, or from a file that is submitted once and never checked again.
Industries and use cases
- First submission of a URL list for a new site
- After adding products or articles in bulk
- When Search Console reports sitemap errors
- After a redesign that changed many URLs
Checklist
| Check item | Pass criteria | Risk level | Fix hint |
|---|---|---|---|
| Indexable URLs only | Every listed URL returns 200 and is not blocked by noindex or robots rules | High | Compare the list against index status periodically and remove excluded URLs. |
| Canonical URLs | Each entry is the final URL with no parameters, session identifiers or redirects | High | Export from the canonical field rather than the raw input address. |
| Count and size | No more than 50,000 URLs and no more than 50MB uncompressed per file | Medium | Split by section and use an index file pointing to each child sitemap when limits are exceeded. |
| Encoding and structure | UTF-8 encoded with valid XML structure, correct root element and namespace | High | Run a parser over the generated file to catch invisible characters introduced by manual edits. |
| Honest lastmod | lastmod changes only when content materially changes and uses a full date-time value | Medium | Refreshing it on every publish destroys its reference value. |
| Language annotations | Multilingual sites annotate each URL with its language versions | Medium | Use the same URL table as the on-page annotations to avoid two datasets. |
| Index file structure | When an index file is used, child sitemaps are clearly numbered and named | Low | Name by section or content type so individual files can be debugged later. |
| Declaration in robots | All sitemap files are listed with absolute URLs in robots.txt | Medium | Without a declaration only manual submission remains, which slows discovery. |
| Submission | Submitted successfully in Search Console with a read status and no errors | High | Check the read result within a week; error line numbers point straight to the offending URL. |
| Image and video sitemaps | Separate image or video sitemaps are provided where needed and match page content | Low | Add them only when those assets genuinely matter, not for every image on the site. |
| Update cadence | Sitemap updates follow the publishing rhythm with no long-stale files | Medium | Connect generation to the publishing workflow instead of manual exports. |
| Removed URLs | Deleted pages are dropped from the sitemap and return 404 or 410 | Medium | Keeping dead URLs lowers confidence in the whole file. |
Common misjudgements
- Assuming more URLs is better: flooding the file with parameter URLs and low-value pages dilutes the ones that matter.
- Submitting once and never returning, while errors often surface in reports two weeks later.
- Treating a sitemap as a guarantee of indexing when it only informs; inclusion is still decided by the system.
How to use this checklist
- Pair with the crawl budget sheet, since file quality decides whether crawling concentrates on useful URLs.
- Regenerate and submit after every bulk upload and check the read status monthly.
- Link with the redirect sheet so URL changes update the sitemap and old and new addresses do not coexist.
FAQ
How many sitemaps does a site need?
It depends on scale: one is enough for a small site, while large sites split by section and summarise in an index file.
How soon after submission do pages get indexed?
There is no fixed time, typically days to weeks depending on overall site health.
Can non-HTML files be submitted?
Yes, images, video and news have their own sitemap formats that must follow the corresponding specification.
Version notes2026-11-21: first release, compiled from official Google documentation and public sources; updated as engine rules and regulations change.
If you prefer not to verify each item yourself, a pre-checked B2B template site package is available as an alternative.
Related checklists
hreflang Configuration Review for Multilingual Sitesrobots.txt Configuration Checks and Common MistakesCrawl Budget and Index Permission Review for New Sites404 and Redirect Configuration ReviewDuplicate Content Risk ReviewNote: this checklist is a self-check reference only. Search-engine behaviour and regulations follow the latest official documentation of each provider and jurisdiction.