An XML sitemap is a file listing all important URLs of your site to make them easier for search engines to discover. Without a sitemap, Googlebot must crawl your site by following links — which can take weeks on a 10,000-product catalog, leaving some pages unindexed for months.
XML sitemap structure for e-commerce
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/products/my-product</loc>
<lastmod>2026-04-17</lastmod>
<changefreq>weekly</changefreq>
</url>
</urlset>Segment by content type
Real-time lastmod
lastmod in the sitemap. Googlebot prioritizes recrawling recently modified pages — critical for flash promotions or stock updates.Exclude parasitic URLs
?color=red), pagination (?page=3), sort parameters (?sort=price_asc) — all inflate the sitemap and dilute crawl budget. Include only canonical URLs.| Criterion | Without sitemap | With well-structured sitemap |
|---|---|---|
| New product indexing delay | 2 to 8 weeks | 2 to 5 days |
| Catalog indexation rate | 55 to 65% | 85 to 95% |
| 404 error detection | Random | Search Console alerts within 48h |
| Crawl budget | Diluted across all URLs | Focused on important URLs |
Audit your sitemap
30 min call · PDF report included
