This article is part of our Complete SEO Guide, which shows how on-page and off-page SEO fit together and links to every topic in the series.
Indian searches for "sitemap" jumped to their highest level in years in February 2026, and spiked again in early August. If you're one of the people who searched, you probably found a lot of advice telling you to set priority to 1.0 on your home page, set changefreq to "daily", and ping Google after every update.
None of that does anything in Google today. Google retired the sitemap ping endpoint in 2023 and has said for years that it ignores priority and changefreq. What it does read, it reads carefully. This guide sorts the advice that still works from the advice that's been dead for a while.
- An XML sitemap helps search engines find and recrawl your URLs. It doesn't make pages rank or guarantee indexing.
- Google reads
<loc>and an accurate<lastmod>. It ignores<priority>and<changefreq>. - One sitemap file can hold up to 50,000 URLs or 50 MB uncompressed. Use a sitemap index for more.
- Submit through Search Console and list the sitemap in robots.txt. The old ping URL returns a 404.
- List only canonical, indexable URLs that return 200. A sitemap full of redirects and noindex pages sends mixed signals.
What is an XML sitemap?
An XML sitemap is a file, usually at /sitemap.xml, that lists the URLs on your site you want search engines to crawl, optionally with the date each page last changed meaningfully. Search engines use it as a discovery and recrawl hint alongside links. Extensions exist for images, videos, news articles and language versions (hreflang).
Google says sitemaps matter most for large sites, new sites with few external links, sites with lots of rich media, and sites whose pages aren't well linked internally. A ten-page site with a clear menu will be crawled fine without one. Even so, almost every site should have one: it costs nothing, most CMSs generate it automatically, and it gives you a useful report in Search Console.
What the data shows
Sitemap rules in four numbers
Both spikes are short and sharp, the shape you'd expect from coursework or a training batch rather than a change at Google; I couldn't find a Google announcement that lines up with either week. Outside the spikes, interest is steady. Sitemaps are a permanent basic, not a trend.
What Google reads, and what it ignores
A standard sitemap entry can carry four tags. Here's how Google treats each one in 2026.
The four URL tags, sorted
"Google still doesn't use the changefreq or priority elements at all."Google Search Central Blog, 26 June 2023
The lastmod rule is the one people get wrong. Google says it uses lastmod when it's "consistently and verifiably" accurate, and its example of a meaningful change is a change to the main text, structured data or links. Updating the date in the footer, or stamping today's date on every URL each night, doesn't count. Sites that do that train Google to ignore their lastmod values entirely.
Sitemap types compared
| Type | What it lists | Who needs it | Key limit or rule |
|---|---|---|---|
| Standard XML sitemap | Page URLs, optional lastmod | Almost every site | 50,000 URLs or 50 MB per file |
| Sitemap index | Other sitemap files | Sites with more than one sitemap | Up to 50,000 sitemaps per index |
| Image sitemap (extension) | Images on each page | Sites whose images matter in search, especially if loaded by JavaScript | Added inside the standard sitemap |
| Video sitemap (extension) | Video details per page | Sites hosting their own videos | Title, description, thumbnail and content or player URL |
| News sitemap | Recent news articles | Publishers in Google News | Articles from the last two days, up to 1,000 URLs |
| hreflang in sitemap | Language and country versions | Multilingual or multi-country sites | Every version lists all others, including itself |
If your images are added with JavaScript or lazy loading, the image extension helps make sure they're found; our image SEO guide covers that case. For language versions, the hreflang method in a sitemap is often easier to maintain than tags in every page head.
How a sitemap index organises a bigger site
A sitemap index for a mid-sized store
How Google uses your sitemap
How to set up a sitemap properly: 8 steps
- Check what you already have. Visit
yoursite.com/sitemap.xml,/sitemap_index.xmland your robots.txt. WordPress (since version 5.5), Shopify, Wix and most SEO plugins generate one automatically. Use one generator only; two plugins making two sitemaps causes confusion. - Decide what belongs in it. Include canonical, indexable pages that return a 200 status. Leave out redirects, 404s, noindex pages, parameter URLs, internal search results, and thin tag or author archives you don't want indexed.
- Get lastmod right. It should change only when the main content, structured data or important links change. Check your plugin's behaviour: some update lastmod on every save, including trivial ones.
- Split by type if the site is large. Separate sitemaps for pages, categories, products and posts, joined by a sitemap index. Stay under 50,000 URLs and 50 MB per file; gzip compression is allowed.
- Use full, consistent URLs. Absolute URLs with https and the same host version (with or without www) as your canonical tags. Mismatches between sitemap URLs and canonicals are a common source of "Duplicate, Google chose different canonical" reports; our canonical tags guide explains why.
- List it in robots.txt. Add a line such as
Sitemap: https://www.example.com/sitemap_index.xml. Any search engine that reads robots.txt can then find it. - Submit it in Search Console. Go to Indexing, then Sitemaps, enter the URL and submit. Do the same in Bing Webmaster Tools. Remove any code or plugin setting that still calls the old Google ping URL; it does nothing now.
- Read the report monthly. Search Console shows whether the sitemap was read, how many URLs it found, and, through the page indexing report filtered by sitemap, which listed URLs aren't indexed and why.
The page indexing report filtered by sitemap is the most useful thing a sitemap gives you. It's the cleanest list you'll get of "pages I said matter that Google chose not to index". I'd look at that before worrying about any of the tags.
If you also want instant notification for Bing and other engines that support it, IndexNow lets your site tell them when a URL is added or updated. Google doesn't use IndexNow, so your sitemap and Search Console remain the route for Google.
Sitemap checklist
- Exactly one sitemap system, generated automatically by your CMS or one plugin
- Only canonical, indexable URLs that return 200
- No redirects, 404s, noindex pages or parameter URLs listed
- lastmod changes only with meaningful content changes
- Files under 50,000 URLs and 50 MB, joined by an index if there's more than one
- Absolute https URLs matching your canonical host
- Sitemap line in robots.txt
- Submitted in Google Search Console and Bing Webmaster Tools
- Old ping calls removed from code and plugins
- Page indexing report reviewed monthly, filtered by sitemap
What good looks like on three kinds of site
A 25-page service business site on WordPress: the built-in or SEO-plugin sitemap is enough. Turn off sitemaps for tags, authors and media attachment pages, submit the index once, and check it twice a year.
A 70,000-product online store: a sitemap index with separate files for categories, products (split into two files) and blog posts. Out-of-stock products that stay live with useful content remain listed; deleted products are removed from the sitemap the same day they start returning 404 or redirecting.
A news site publishing 40 stories a day: a news sitemap with only the last two days of articles, plus a standard sitemap index for everything else, with lastmod updated when a story is substantially revised.
Sitemap mistakes that still turn up
- Every lastmod set to today. Teaches Google to ignore the field.
- Priority 1.0 on every page. Harmless for Google, but a sign the sitemap was set up from old advice and probably needs a wider check.
- Listing URLs that redirect. Common after a migration or an http to https move. List the final URLs only.
- Listing noindex pages. The sitemap says "index this", the page says "don't". Pick one.
- Two competing sitemaps from a theme and a plugin, or an old static file left on the server.
- Infinite paginated or filtered URLs generated into the sitemap. Our pagination guide covers which of those should be crawlable at all.
- Blocking the sitemap or its URLs in robots.txt. Google can't crawl what robots.txt blocks, however it's listed.
Frequently asked questions
Do I need an XML sitemap for SEO?
Small, well-linked sites can be crawled fine without one, but almost every site benefits from having one. It helps discovery of new and updated pages and gives you sitemap-filtered indexing reports in Search Console.
Does Google use priority and changefreq in sitemaps?
No. Google has said it doesn't use either. It reads the URL and, when it's consistently accurate, the lastmod date.
How many URLs can an XML sitemap contain?
Up to 50,000 URLs or 50 MB uncompressed per file. Larger sites split their URLs across several sitemaps and list them in a sitemap index.
How do I submit a sitemap to Google?
Open Google Search Console, go to Indexing and then Sitemaps, enter your sitemap URL and submit it. Also add a Sitemap line to your robots.txt file.
Can I still ping Google with my sitemap?
No. Google retired the sitemap ping endpoint, and requests to it now return a 404 error. Use Search Console and robots.txt instead.
Does submitting a sitemap guarantee indexing?
No. A sitemap helps Google find and recrawl URLs, but each page is still judged on its own quality, canonical status and directives before it's indexed.
How often should my sitemap update?
It should update automatically whenever pages are added, removed or meaningfully changed. Most CMSs and SEO plugins do this for you; check that lastmod changes only for real content updates.
Should noindex or redirected pages be in my sitemap?
No. List only canonical, indexable URLs that return a 200 status. Including noindex pages or redirects sends conflicting signals and clutters your reports.
Keep it accurate, then leave it alone
An XML sitemap in 2026 is a short list of rules: real URLs only, honest lastmod, sensible splitting, listed in robots.txt and submitted in Search Console. Skip priority, changefreq and pings. Then use the sitemap-filtered indexing report to find pages you care about that Google isn't indexing. If you'd like your sitemap, robots.txt and indexing reports checked as part of a technical review, our SEO team runs technical audits for Indian business sites of every size. Book a free consultation and send us your sitemap URL.
Sources
- Google Trends, India web search for "sitemap", "xml sitemap" and "robots.txt", January 2025 to August 2026, pulled 12 August 2026.
- Google Search Central Blog, "Sitemaps ping endpoint is going away", 26 June 2023 (ping retirement; priority and changefreq not used; lastmod guidance). developers.google.com
- Google Search Central, "Build and submit a sitemap" (50,000 URLs, 50 MB, formats, submission). developers.google.com
- Google Search Central, "Manage your sitemaps with a sitemap index file" (index limits, 500 index files per site). developers.google.com
- Google Search Central, "Learn about sitemaps" (when a site needs one). developers.google.com
- Google Search Central, "Create a News sitemap" (two-day and 1,000-URL rules). developers.google.com
- Search Engine Land, "Google to deprecate Sitemaps ping endpoint later this year", June 2023. searchengineland.com
- IndexNow protocol documentation. indexnow.org
Are your important pages getting crawled?
Talk to our experts. Your first consultation is free.
