XML Sitemap Indexing Checklist for Developers

A useful sitemap contains canonical, crawlable URLs that return 200 responses. It should not be a dump of every route your application can produce.

Workflow

  1. Generate or export the sitemap and paste the XML into a checker.
  2. Confirm that loc values use the canonical protocol, host and path format.
  3. Remove URLs blocked by robots.txt, noindex pages, redirects and 404s.
  4. Add the sitemap URL to robots.txt and submit it in Search Console.
  5. Review crawl errors after deployment instead of assuming submission means indexing.

Checks before production

  • Keep sitemap URLs canonical and indexable.
  • Avoid mixing staging, http and production https URLs.
  • Use realistic lastmod values that change only when content changes.
  • Large sites should split sitemaps and use a sitemap index.

FAQ

Does submitting a sitemap guarantee indexing?

No. It helps discovery, but search engines still decide what to crawl and index.

Should redirected URLs be in a sitemap?

No. Use final canonical 200 URLs.

Related tools

Last updated: May 18, 2026