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
- Generate or export the sitemap and paste the XML into a checker.
- Confirm that loc values use the canonical protocol, host and path format.
- Remove URLs blocked by robots.txt, noindex pages, redirects and 404s.
- Add the sitemap URL to robots.txt and submit it in Search Console.
- 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
Sitemap
Sitemap Checker
Check pasted XML sitemaps for basic structure, URL counts, loc values, lastmod format and common SEO mistakes.
Open tool SEO robots.txt GeneratorGenerate a clean robots.txt file for crawlers, staging blocks, sitemap discovery, and simple SEO crawl control.
Open tool HTTP HTTP Headers CheckerAnalyze pasted HTTP response headers for cache, redirects, security headers and content-type issues without making server-side requests.
Open toolLast updated: May 18, 2026