XML sitemaps: verified best practices and the myths it's time to bury
Contents
A sitemap is your site's inventory: an XML file listing the URLs you want search engines to know about, with the date of each one's last real change. That's all it is. And it's worth saying quickly what it is not: Google's official documentation states it plainly — submitting a sitemap does not guarantee indexing. It's a discovery signal, not a command.
What has changed is how much that signal weighs. Bing re-reads sitemaps at least once a day, and in its official blog (July 2025) it said something that redefines the game: sitemap freshness now influences AI-generated answers. The sitemap stopped being technical hygiene and became direct input for generative engines — the territory now called GEO, Generative Engine Optimization.
Which URLs belong in the sitemap (and which don't)
There is exactly one rule: the sitemap lists exactly what you want indexed, and nothing else. Concretely:
In:
- Canonical URLs: the versions you want to propose to search engines.
- Absolute and within the verified scope: with a complete protocol and host. Cross-domain configuration requires specific verification; do not mix hosts without checking it.
- Useful pages that respond correctly, with no redirects or errors that contradict their inclusion.
- Indexable for their editorial purpose, with consistent canonical and directives.
Out:
- Tracking or session URLs that duplicate another page. A parameter does not invalidate a URL by itself: a variant may have its own canonical and indexing purpose.
- Staging or pre-production environments.
- Removed (404) or redirected (301) pages.
- URLs with
noindexor crawling restrictions that conflict with the purpose of the sitemap.
Exclusive content
For signed-in readers
A worksheet for deciding which URLs to include
Review six fictional URLs, their responses, canonicals, and editorial purpose to see which decision fits each case.
Sign in to access this section →We work to offer the best possible content, which is why some of these explanations are not public.
Your account does not have access to this section. Request a demo
Honest lastmod or nothing
lastmod is the tag that adds the most value — and the one most often faked. Google's position is explicit: use lastmod only if it's consistent and verifiable. If your sitemap says a page changed yesterday when it actually changed years ago, Google eventually stops believing your lastmod — and you lose the signal for the entire site. It's a signal, not a command: a correct lastmod doesn't guarantee an immediate recrawl either.
Report the time precision you actually know and a format accepted by the protocol. If you record an instant, retain its timezone; do not add an invented time to a modification date.
The most common mistake isn't malice, it's the CMS: plugins and generators that stamp the sitemap's generation date on ALL URLs. A sitemap where everything "changed today" is a sitemap that says nothing.
Exclusive content
For signed-in readers
A change history that justifies lastmod
Compare real changes with rebuilds in a worked history and a minimal XML example.
Sign in to access this section →We work to offer the best possible content, which is why some of these explanations are not public.
Your account does not have access to this section. Request a demo
The myths: changefreq, priority and the ghost ping
- changefreq and priority: Google and Bing ignore them. The protocol defines them (priority with a 0.5 default, changefreq from
alwaystonever), but both engines have confirmed in their official sources that they don't use them. Writing them does no harm; expecting anything from them does. - The Google ping is dead. Google announced it in June 2023 and switched it off by the end of that year; today the endpoint returns 404. Note: sitemaps.org still lists the ping as a valid method — on that point it's outdated.
The editorial contrast matters: Google killed unauthenticated push (it was a spam magnet) and kept only the crawler's pull. The Bing ecosystem went the opposite way: it built IndexNow, a push authenticated with a per-domain key. That's why IndexNow requires verification — and that's why it works.
Limits and the sitemap index
The protocol's numbers are generous, but they exist:
- 50,000 URLs or 50 MB uncompressed per sitemap file.
- Got more? Use a sitemap index: a file that groups up to 50,000 sitemaps.
- Reference it in robots.txt with the
Sitemap: https://yourstore.com/sitemap.xmldirective — still a valid discovery method for Google and Bing.
Connect both consoles (yes, both)
In Google Search Console the drill is familiar:
- Add the property and verify the domain.
- In the Sitemaps section, submit your sitemap's URL.
- Use the page indexing report to see how many URLs made it in, how many stayed out and why.
Bing Webmaster Tools lets you review another search engine, with its own statuses and reading dates. You can import sites from Google Search Console; check the imported scope and permissions before treating setup as complete. Being on Bing does not guarantee a citation in an assistant.
The AI Performance report in Bing Webmaster Tools provides citation information for the surfaces it covers. Its official announcement describes Copilot, Bing answers and certain partners. It is not a universal inventory of AI answers or a measure of indexing or sales.
You should also check what each crawler can read: an index may retain earlier content, while a current restriction affects future requests. Review access in the guide to accessibility and indexing for AI bots.
Exclusive content
For signed-in readers
Two consoles, two evidence records
Use a comparison record to distinguish submission, reading, discovery, and indexing without adding results from two search engines together.
Sign in to access this section →We work to offer the best possible content, which is why some of these explanations are not public.
Your account does not have access to this section. Request a demo
Pull + push: the sitemap doesn't compete with IndexNow
What's left is a two-speed model worth keeping clear:
- The sitemap is pull: the full inventory the engine re-reads every so often (Bing, at least once a day). Typical latency: hours to days. It gives you coverage and recovery — if the engine loses track, the sitemap rebuilds it.
- IndexNow is push: a per-URL notice at the moment of the change. The notice goes out right away; when to recrawl is up to each engine.
They don't compete: the sitemap is your map; IndexNow, your emergency channel. For a store, emergencies are daily: prices, stock, product additions and removals. That's where IndexNow Connect closes the loop — it listens to every addition, change and removal in your catalog and fires the IndexNow notice automatically, without touching your store's code, while your sitemap remains the background inventory.
A tip for domains on Cloudflare: the Crawler Hints feature already emits IndexNow notices passively when your content changes — how to enable it is in the Cloudflare technical guide for SEO and GEO.
The sitemap and IndexNow cover the site's pages. The catalog a store submits to Google Merchant Center is a separate channel, which now accepts conversational attributes to describe each product with more context.
Common mistakes in store sitemaps
The five we see most:
- Discontinued products still listed: review the page status and remove URLs that no longer belong.
- Parameters that duplicate another canonical URL: distinguish tracking, filters, and variants with their own purpose.
- Leaked staging: test URLs in the public inventory.
- Contradictory signals: inclusion, canonical, crawling, and indexing are not aligned.
- Dates without evidence: using the XML generation date as if every page had changed.
Exclusive content
For signed-in readers
A repair plan with closure checks
Organize duplicate, redirect, removal, and date issues with owners and concrete evidence to close each task.
Sign in to access this section →We work to offer the best possible content, which is why some of these explanations are not public.
Your account does not have access to this section. Request a demo
Frequently asked questions
Do I need a sitemap if my store is small?
You probably don't need one: Google's guidance is that a well-linked site under ~500 pages can do without it. But it's worth having anyway: most platforms auto-generate it for free, it's a practical requirement for the consoles, and it's the freshness signal Bing re-reads daily.
How often does Bing read my sitemap?
At least once a day, according to its official blog from July 2025. That's why an honest lastmod pays off: every re-read tells Bing exactly what changed without it having to crawl your whole site.
Is manually resubmitting the sitemap worth it?
Almost never. Search engines re-read it on their own, and manual resubmission forces no recrawl. If you need speed for specific URLs, that's push work: IndexNow, not the sitemap.
Does the sitemap guarantee indexing?
No, and Google's own documentation says so. The sitemap helps discovery; final indexing depends on each page's quality, authority and technical health. The same goes for IndexNow: notifying doesn't force indexing.
What do I do with out-of-stock products?
It depends on whether the URL is still alive. An out-of-stock product whose page returns 200 can stay in the sitemap — it sells again when you restock. A deleted product (404 or redirect) has to leave the sitemap, and it's worth notifying the removal via IndexNow so the index stops showing something that no longer exists.
IndexNow Connect, the CookingMetrics tool, notifies every addition, change and removal in your catalog through IndexNow and records the date and response of each submission; your sitemap remains the background inventory. More details on the IndexNow Connect product page.