Sitemaps create two kinds of misunderstanding in my client work. Some teams believe sitemaps improve rankings — they don't, directly. Others believe that with great internal linking a sitemap is unnecessary — sometimes true for a small, well-linked site, almost never true for content sites, e-commerce sites, or any site adding pages regularly. The accurate position: a sitemap doesn't make pages rank, but it helps the pages that should rank get discovered, crawled and indexed consistently — which every other ranking signal depends on.
What an XML Sitemap Contains
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <!-- Minimal valid entry — loc is the only required element --> <url> <loc>https://www.yoursite.com/page/</loc> </url> <!-- Entry with optional elements --> <url> <loc>https://www.yoursite.com/important-article/</loc> <lastmod>2026-09-15</lastmod> <!-- W3C date format; used when accurate --> <changefreq>weekly</changefreq> <!-- Ignored by Google --> <priority>0.8</priority> <!-- Ignored by Google --> </url> </urlset>
Google ignores <priority> and <changefreq>. What matters is <loc> (the URL) and <lastmod> — which Google uses only if it's consistently accurate. An accurate lastmod helps Google prioritise recrawling pages that genuinely changed. Setting every lastmod to today's date to look "fresh" teaches Google to ignore the value entirely. Update lastmod only when the main content changes, not for a new footer year or sidebar tweak.
Types of Sitemaps and When to Use Each
| Sitemap Type | Format | Use For |
|---|---|---|
| Standard XML sitemap | sitemap.xml | All indexable page URLs — the sitemap every site needs |
| Sitemap index file | sitemap_index.xml | Sites over 50,000 URLs, or splitting sitemaps by content type — it lists the individual sitemap files |
| Image sitemap | image: extension in the sitemap | Helping Google discover important images, especially ones loaded in ways crawlers may miss |
| Video sitemap | video: extension in the sitemap | Sites hosting video — title, description, thumbnail and duration for video results |
| News sitemap | news: extension in the sitemap | News publishers — articles published in the last two days |
| HTML sitemap | A normal web page | A navigation aid for users; not submitted in Search Console |
What to Include — and What to Exclude
- 🔴 Pages with noindex — it sends contradictory signals
- 🔴 Duplicate URLs (parameter variants, UTM URLs, session IDs)
- 🔴 URLs that redirect — list only the final destination
- 🔴 URLs returning 404 or other non-200 status codes
- 🔴 URLs blocked in robots.txt
- 🔴 Admin, login and thank-you pages with no search value
- 🟢 The canonical URL of every indexable page
- 🟢 Newly published and recently updated content
- 🟢 Deep pages that aren't well linked internally
- 🟢 Key product and category pages for e-commerce
- 🟢 Language and region variants (sitemaps can carry hreflang annotations)
- 🟢 Canonical URLs only — never their duplicate variants
Submitting and Monitoring Your Sitemap in Search Console
Reference Your Sitemap in Robots.txt
Add Sitemap: https://www.yoursite.com/sitemap.xml to your robots.txt. Every crawler that reads robots.txt — not just Googlebot — can then find your sitemap without a manual submission. Use the full absolute URL. See our robots.txt guide for the rest of that file.
Submit It in Google Search Console
Go to Search Console → Indexing → Sitemaps, enter your sitemap URL and click Submit. The report shows whether Google could read it, when it was last read, how many URLs it discovered, and any errors. (Google's old "sitemap ping" URL was retired in 2023, so Search Console and robots.txt are now the ways to tell Google about your sitemap.)
Monitor Submitted vs Indexed
The key metric is the gap between URLs you submitted and URLs Google indexed. Open the Page indexing report filtered to your sitemap to see how many are indexed and why the rest aren't. If you submit 850 URLs and only 340 are indexed, the reasons listed — duplicates, "Crawled – currently not indexed", soft 404s, accidental noindex tags — tell you what to fix.
Keep It Updating Automatically
Your sitemap should update itself when pages are published, changed or removed. On WordPress, Yoast SEO and Rank Math generate and refresh sitemaps automatically; Shopify does the same natively. A hand-maintained static file goes out of date almost immediately.
"The sitemap problem I see most often is quality dilution — a sitemap with 15,000 URLs when only 3,000 of those pages have any real search value. The rest are thin filter pages, parameter variants, pagination, single-post author archives and near-empty tag pages. Google crawls them, finds most of them low-value or duplicate, and the new, genuinely useful pages in the same sitemap get discovered more slowly. For a healthcare content client, removing 8,400 low-value URLs from the sitemap and keeping 6,600 canonical, quality pages improved indexing speed for new articles by about 40% within eight weeks — measured as the average time from publication to showing as indexed in Search Console. Sitemap quality, not size, drives crawl efficiency."
A clean sitemap works hand in hand with canonical tags and good crawl budget management.
Frequently Asked Questions
The Bottom Line
An XML sitemap tells Google which pages exist, which URLs are canonical and which have changed. List only canonical URLs that return 200 and aren't noindexed — padding it with low-value, duplicate or blocked URLs slows discovery of your best content. Keep lastmod accurate and ignore priority and changefreq. Reference the sitemap in robots.txt, submit it in Search Console, let your CMS update it automatically, and review the submitted-versus-indexed gap each month. The sitemap doesn't make pages rank; it makes sure the pages that should rank get crawled and indexed so every other signal can work.
Sources: Google Search Central — Sitemaps overview; Google — Build and submit a sitemap; Google Search Central Blog — lastmod and sitemap ping deprecation.
Driven by advanced SEO expertise, deep marketing analytics, high-impact content strategy
With 5+ years of hands-on experience, I specialize in holistic search strategies that don’t just rank—they drive real, measurable business growth. I’ve worked across industries including healthcare, hospitality, legal, e-commerce, and professional services, helping brands dominate their target markets. My approach bridges the gap between raw data and creative execution. Every strategy I build is rooted in rigorous market analysis, structured SEO frameworks, and tailored content ecosystems—no templates, no shortcuts. Whether you’re a single-location brand or scaling across multiple cities, I create data-driven marketing systems designed to compound results and grow with you.
Pages Submitted but Not Indexed?
Get an indexation audit that explains the gap between your sitemap and Google’s index — and exactly what to fix.
Book a Free SEO Audit →