- Google calls a sitemap a hint, not a guarantee. It only works if it contains nothing but canonical, indexable pages.
- A single sitemap file can hold up to 50,000 URLs or 50 MB uncompressed. We split large catalogs by category so indexing gaps can be traced quickly.
- Google ignores priority and changefreq. It only uses lastmod if the date consistently reflects the last significant change.
- According to Google, AI Overviews and AI Mode have no special rules: a page simply has to be indexed. No llms.txt file is needed.
When a new product doesn't show up on Google, the XML sitemap is the first thing we check. It's the list of URLs a store submits to the search engine for indexing.
According to Google, a submitted sitemap is only a hint. Google decides on its own whether to fetch it and which URLs to crawl. That makes it all the more important for every entry to be correct. This article shows how we audit and organize an online store's sitemap.
We start every audit with submitted and indexed URLs
In Google Search Console, you can filter the Pages report by individual sitemaps. It shows how many of the submitted URLs are indexed and why the rest are missing.
If the sitemap is split by category, the report also shows where the gap is. If most URLs are missing from the “Shoes” sitemap, for example, you start there rather than combing through the whole store.
Google lists the reasons in the report itself, including redirects, pages with noindex, duplicates without their own canonical URL, and pages Google has crawled but not indexed. Each reason calls for a different fix.
For how the other Search Console reports can help, see our article on Google Search Console.
The sitemap should only list pages meant to appear on Google
A sitemap is not a list of every URL in the store. It contains only pages that return a 200 status, are canonical, and are allowed to be indexed. Here's how we classify a store's typical page types:
| Page type | In the sitemap? | What we do instead |
|---|---|---|
| Product page with its own URL | yes | Update lastmod when content, price, or availability changes |
| Variant without its own search demand (color, size) | no | Canonical to the product's main URL |
| Variant with its own demand and content | yes | Separate page with its own copy |
| Sorting and filters without their own search demand | no | Exclude via robots.txt or canonical |
| Temporarily sold-out product | yes | Show availability on the page and in structured data |
| Permanently removed product | no | 301 to an equivalent successor product; otherwise 404 or 410 |
| Page with noindex | no | Remove from the sitemap at the same time |
| URL with tracking or session parameters | no | Use internal links without such parameters |
We look specifically for two contradictions: pages with noindexthat are still listed in the sitemap, and sitemap URLs that the robots.txt blocks. In both cases, Search Console reports errors and the sitemap becomes less reliable.
Shirtinator shows what a cleaner structure can achieve. We removed pages that were no longer reachable and excluded sorting pages via robots.txt. The crawl rate rose by 19% and organic visibility by 28%.
lastmod only works if the date is accurate
Google ignores the fields priority and changefreq. Google uses the field lastmod if it consistently and verifiably matches the last significant change. According to Google, a new year in the footer doesn't count.
Some store systems stamp the current date on every request, which makes the field meaningless. We check this with spot samples: products that haven't changed in months shouldn't carry a fresh date.
The old sitemap ping to Google is gone; Google deprecated the endpoint in June 2023. You submit new sitemaps through Search Console, the Search Console API, or a Sitemap: line in robots.txt . Google learns about changes through an accurate lastmod.
We split large catalogs before they hit the limit
A single sitemap file can hold up to 50,000 URLs or 50 MB uncompressed. Larger catalogs need a sitemap index: a file that points to multiple sitemaps.
We split the sitemap along the store's structure:
- by category or brand, so indexing gaps can be traced to a specific product group;
- by content type, with products, categories, guides, and static pages kept separate;
- by country or language for international stores.
Store platform plugins provide a starting point. If that isn't enough, the sitemap is generated directly from the product database. We either write up this task for your IT team or implement it ourselves if we have system access.
International stores map language versions in the sitemap
If you sell in multiple countries, hreflangtells Google which page is meant for which country. These annotations can go in the HTML head, the HTTP header, or the sitemap. For large catalogs, we maintain them in the sitemap so they're all in one place.
<url>
<loc>https://example.com/de-at/produkt</loc>
<xhtml:link rel="alternate" hreflang="de-at" href="https://example.com/de-at/produkt"/>
<xhtml:link rel="alternate" hreflang="de-de" href="https://example.com/de-de/produkt"/>
</url>
Each language version references all the others as well as itself. If a return link is missing, Google can't use the mapping.
Gradient Zero shows how much depends on this. For its international website, search impressions rose by 123% in six months. Learn more about our work on international websites on our SEO International page.
Google's AI search relies on the same index
According to Google, optimizing for AI Overviews and AI Mode is still SEO. A page needs to be indexed and eligible to appear with a snippet in search. Google says you don't need an llms.txt or special structured data for this.
For your sitemap, that means it helps Google discover new and updated products, which is the prerequisite for those products appearing in a Google AI answer.
ChatGPT, Perplexity, and other AI services use their own crawlers. Whether they may fetch your pages is set in your robots.txt file. To learn how we improve your chances of being mentioned in AI answers, see our page on GEO.
We check the sitemap after every major change to the store
Range changes, migrations, and new plugins all change a store's URLs. So we check the sitemap after such changes and compare it against a crawl of the store. That surfaces entries that no longer exist and pages missing from every sitemap.
For us, this check is part of technical SEO, where we fix the errors affecting your highest-revenue pages first.



