---
title: "XML sitemaps: verified best practices and the myths to bury"
description: "Which URLs to include, how to maintain lastmod, and how to compare sitemaps in Google and Bing with review and remediation exercises."
url: "https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/"
markdown_url: "https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google.md"
lang: "en"
date_published: "2026-08-19"
author: "Martín Garay"
author_url: "https://cookingmetrics.com/about-martin-garay/"
publisher: "CookingMetrics"
publisher_url: "https://cookingmetrics.com/"
keywords: ["Technical SEO", "IndexNow", "SEO for AI (GEO)"]
citation_apa7: "Garay, M. (2026, August 19). *XML sitemaps: verified best practices and the myths to bury*. CookingMetrics. https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/"
references_apa7:
  - "Google Search Central. (n.d.). *What Is a Sitemap*. https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview"
  - "Google Search Central. (n.d.). *Sitemaps ping endpoint is going away*. https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping"
  - "sitemaps.org. (n.d.). *Sitemaps XML format*. https://www.sitemaps.org/protocol.html"
  - "Bing Webmaster Blog. (n.d.). *Keeping Content Discoverable with Sitemaps in AI Powered Search*. https://blogs.bing.com/webmaster/July-2025/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search"
  - "Bing Webmaster Blog. (n.d.). *Easily Verify Your Site in Bing Webmaster Tools by Importing from Google Search Console*. https://blogs.bing.com/webmaster/september-2019/Import-sites-from-Search-Console-to-Bing-Webmaster-Tools"
  - "Google Search Central. (n.d.). *Build and submit a sitemap*. https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap"
  - "Google Search Central. (n.d.). *HTTP status codes and crawl errors*. https://developers.google.com/crawling/docs/troubleshooting/http-status-codes"
  - "Bing Webmaster Blog. (n.d.). *AI Performance in Bing Webmaster Tools*. https://blogs.bing.com/webmaster/2026/2/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview/"
---

# XML sitemaps: verified best practices and the myths to bury

> Which URLs to include, how to maintain lastmod, and how to compare sitemaps in Google and Bing with review and remediation exercises.

- **Author:** [Martín Garay](https://cookingmetrics.com/about-martin-garay/) · Founder of CookingMetrics
- **Published:** August 19, 2026
- **Topics:** Technical SEO, IndexNow, SEO for AI (GEO)
- **Web version:** https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/

## How to cite this article (APA, 7th edition)

Garay, M. (2026, August 19). *XML sitemaps: verified best practices and the myths to bury*. CookingMetrics. https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/

In-text citation: (Garay, 2026)

## References

- Google Search Central. (n.d.). *What Is a Sitemap*. https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview
  In-text citation: (Google Search Central, n.d.)
- Google Search Central. (n.d.). *Sitemaps ping endpoint is going away*. https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
  In-text citation: (Google Search Central, n.d.)
- sitemaps.org. (n.d.). *Sitemaps XML format*. https://www.sitemaps.org/protocol.html
  In-text citation: (sitemaps.org, n.d.)
- Bing Webmaster Blog. (n.d.). *Keeping Content Discoverable with Sitemaps in AI Powered Search*. https://blogs.bing.com/webmaster/July-2025/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search
  In-text citation: (Bing Webmaster Blog, n.d.)
- Bing Webmaster Blog. (n.d.). *Easily Verify Your Site in Bing Webmaster Tools by Importing from Google Search Console*. https://blogs.bing.com/webmaster/september-2019/Import-sites-from-Search-Console-to-Bing-Webmaster-Tools
  In-text citation: (Bing Webmaster Blog, n.d.)
- Google Search Central. (n.d.). *Build and submit a sitemap*. https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap
  In-text citation: (Google Search Central, n.d.)
- Google Search Central. (n.d.). *HTTP status codes and crawl errors*. https://developers.google.com/crawling/docs/troubleshooting/http-status-codes
  In-text citation: (Google Search Central, n.d.)
- Bing Webmaster Blog. (n.d.). *AI Performance in Bing Webmaster Tools*. https://blogs.bing.com/webmaster/2026/2/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview/
  In-text citation: (Bing Webmaster Blog, n.d.)

---

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](https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview) 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)](https://blogs.bing.com/webmaster/July-2025/Keeping-Content-Discoverable-with-Sitemaps-in-AI-Powered-Search) 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](https://cookingmetrics.com/blog/que-es-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 `noindex` or crawling restrictions that conflict with the purpose of the sitemap.


[Section for signed-in readers, level C: https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/#bloque-1]


## 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](https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping). 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.


[Section for signed-in readers, level C: https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/#bloque-2]


## The myths: changefreq, priority and the ghost ping

- **changefreq and priority: Google and Bing ignore them.** [The protocol](https://www.sitemaps.org/protocol.html) defines them (priority with a 0.5 default, changefreq from `always` to `never`), 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](https://cookingmetrics.com/blog/que-es-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.xml` directive — still a valid discovery method for Google and Bing.

## Connect both consoles (yes, both)

In **Google Search Console** the drill is familiar:

1. Add the property and verify the domain.
2. In the Sitemaps section, submit your sitemap's URL.
3. 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](https://blogs.bing.com/webmaster/september-2019/Import-sites-from-Search-Console-to-Bing-Webmaster-Tools); 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](https://blogs.bing.com/webmaster/2026/2/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview/) 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](https://cookingmetrics.com/blog/accesibilidad-indexacion-ia-cloudflare/).


[Section for signed-in readers, level C: https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/#bloque-3]


## 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](https://cookingmetrics.com/product/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](https://cookingmetrics.com/blog/cloudflare-seo-geo-guia-tecnica/).

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](https://cookingmetrics.com/blog/atributos-conversacionales-merchant-center/) to describe each product with more context.

## Common mistakes in store sitemaps

The five we see most:

1. **Discontinued products still listed**: review the page status and remove URLs that no longer belong.
2. **Parameters that duplicate another canonical URL**: distinguish tracking, filters, and variants with their own purpose.
3. **Leaked staging**: test URLs in the public inventory.
4. **Contradictory signals**: inclusion, canonical, crawling, and indexing are not aligned.
5. **Dates without evidence**: using the XML generation date as if every page had changed.


[Section for signed-in readers, level C: https://cookingmetrics.com/blog/sitemaps-mejores-practicas-bing-google/#bloque-4]


## 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](https://cookingmetrics.com/blog/que-es-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](https://cookingmetrics.com/) 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](https://cookingmetrics.com/product/indexnow-connect/).

---

## About the author

**[Martín Garay](https://cookingmetrics.com/about-martin-garay/)** — Founder of CookingMetrics

I'm Martín Garay, founder and Martech Advisor at CookingMetrics and Chair of the Technology Committee at CACE, Argentina's ecommerce chamber. For more than 20 years I've worked in Analytics, development, technical SEO and ecommerce: I implement measurement, find where it breaks and turn it into information you can act on.

### My work at CACE, Argentina's ecommerce chamber

- **Chair of the Technology Committee** (SINCE AUGUST 2025): I set the committee's agenda together with Gabriel Topola, vice-chair. We look at the platforms and tools an online business needs to grow: CMS, integrations, customer service and omnichannel operations.
- **Curating the technical forum** (IT CAMP · ECOMMERCE DAY ARGENTINA): With CACE's Events team I put together the IT Camp programme: talks for engineering and development teams on platform architecture, code and good practice, given by speakers who do the implementation work.
- **Marketing and Data Analytics committees** (SINCE 2016): I started in the Marketing committee and helped create the Data Analytics committee. I gave Google Analytics webinars, including the migration to GA4, and worked on the Google Analytics implementation for Hot Sale and Cyber Monday.
- **Ecommerce metrics dashboard** (FOR MEMBERS): With the Data Analytics committee and the CACE Community team we built a dashboard in Google Analytics and Looker Studio so each member can check the key indicators of their own store.

### Talks

- [From SEO to GEO: what it takes for a brand to be cited by an answer engine](https://www.youtube.com/watch?v=mlyjuSBdMzI) — ECOMMERCE DAY ARGENTINA 2026 · IT CAMP · AUGUST 27, 2026 · BUENOS AIRES CONVENTION CENTER
- [SEO for AI: how to prepare a brand to show up in ChatGPT and Google's AI overviews](https://www.youtube.com/watch?v=4dI7jqnLg-M) — AI IN LATAM 2025 · BUENOS AIRES · OVER 3,500 ATTENDEES AND 100 SPEAKERS, PER THE ORGANIZERS

### Profiles and links

- [Full profile](https://cookingmetrics.com/about-martin-garay/)
- [LinkedIn](https://www.linkedin.com/in/seospecialistmartingaray/)
- [Instagram](https://www.instagram.com/garaymartin/)
- [YouTube](https://www.youtube.com/@MartinGaray)
- [martingaray.com.ar](https://www.martingaray.com.ar/)
- [Chair of the Technology Committee at CACE, Argentina's ecommerce chamber](https://cace.org.ar/pages/comision-de-tecnologia?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)
- [Ecommerce metrics dashboard, free for CACE members](https://cace.org.ar/pages/dashboard-de-metricas?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)

---

## About CookingMetrics

CookingMetrics provides Google Analytics consulting, measurement implementation and SEO. Founder Martín Garay brings more than 20 years of experience in Analytics, development and ecommerce. The work connects data with business decisions.

### Services

- **[Google Analytics audit](https://cookingmetrics.com/data-analytics-consulting/)**: Do purchases or revenue differ from your store? We review your measurement and deliver a correction plan in 10 business days. [See the audit scope](https://cookingmetrics.com/data-analytics-consulting/).
- **[Google Tag Manager](https://cookingmetrics.com/services/gtm/)**: Did events stop being tracked after a website change? We review tags, triggers and versions to find duplicates or missing data. [Ask about Google Tag Manager audits and implementation](https://cookingmetrics.com/services/gtm/).
- **[Server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/)**: We assess how to send data from your server, respect consent and prevent duplication. [What's included in server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/).
- **[Technical SEO](https://cookingmetrics.com/services/technical-seo/)**: Have you migrated your site, or are pages missing from Google? We review crawling, indexing, structure and performance. [How we approach technical SEO](https://cookingmetrics.com/services/technical-seo/).
- **[SEO for AI search (GEO)](https://cookingmetrics.com/services/seo-ai-geo/)**: We review whether search engines and assistants can access your pages and understand their content. [What we can improve for AI search](https://cookingmetrics.com/services/seo-ai-geo/).

**Let's talk about your measurement:** [Contact us](https://cookingmetrics.com/about-martin-garay/) · [CookingMetrics](https://cookingmetrics.com/)
