Search all pages  ·  Press Esc to close  ·  ↑↓ to navigate
Content Strategy Local SEO GMB Prompts Technical SEO E-E-A-T Guest Post GA4 Analytics
Technical SEO · Sitemaps · AlgoBlueprints · September 2026

XML Sitemap Complete Guide for SEO 2026 — What to Include, How to Submit, and Why Sitemap Quality Matters More Than Size

Add as Preferred Source on Google
Table of Contents

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>
The Truth About <priority>, <changefreq> and <lastmod>

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 TypeFormatUse For
Standard XML sitemapsitemap.xmlAll indexable page URLs — the sitemap every site needs
Sitemap index filesitemap_index.xmlSites over 50,000 URLs, or splitting sitemaps by content type — it lists the individual sitemap files
Image sitemapimage: extension in the sitemapHelping Google discover important images, especially ones loaded in ways crawlers may miss
Video sitemapvideo: extension in the sitemapSites hosting video — title, description, thumbnail and duration for video results
News sitemapnews: extension in the sitemapNews publishers — articles published in the last two days
HTML sitemapA normal web pageA navigation aid for users; not submitted in Search Console

What to Include — and What to Exclude

❌ Keep Out of Your Sitemap
  • 🔴 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
✅ Include in Your Sitemap
  • 🟢 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

1

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.

2

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.)

3

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.

4

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.

From My Practice — Akif Qureshi

"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

Does submitting a sitemap guarantee Google indexes all the URLs in it?
No. A sitemap tells Google which URLs exist and that you consider them important; it doesn't guarantee they'll be crawled or indexed. Google still decides based on quality, duplication, and technical signals such as noindex tags, canonicals and status codes. The Page indexing report in Search Console shows which submitted URLs weren't indexed and why.
How large can a single sitemap file be?
A single sitemap can contain up to 50,000 URLs and must be no larger than 50MB uncompressed. Larger sites should split URLs across several sitemaps and list them in a sitemap index file. Many sites split by content type — for example posts, pages, products and categories — which also makes it easier to spot indexing problems by section.

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.

Akif Qureshi
Akif Qureshi
Senior SEO Specialist & Marketing Analyst | Content Strategist
5+ yrs experience Google Certified 6 guides

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.

No sponsored content No affiliate links Reader supported

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 →

© 2026 Algoblueprints. All rights reserved.