Technical SEO5 min

XML Sitemaps in 2026: Do You Even Need One?

Yes. But not for the reasons you think. And yours probably has problems.

"Google Will Find My Pages Without a Sitemap"

Sure. And you could drive cross-country without a map.

But why would you?

An XML sitemap tells Google exactly which pages exist, when they were last updated, and how important they are. It is the most direct communication channel you have with search engine crawlers. Google's sitemap documentation covers the spec in detail.

What Goes In Your Sitemap

Do include: Canonical versions of all pages you want indexed. Your important landing pages. Blog posts. Product pages.

Do NOT include: Noindexed pages. Redirecting URLs. Duplicate content. Paginated filter pages. URLs blocked by robots.txt.

Your sitemap should be a curated list of your best content. Not a dump of every URL your CMS has ever generated. We cover the most common screw-ups in our 7 sitemap mistakes post.

Common Sitemap Mistakes

Including URLs that return 404 or redirect. This is shockingly common. It tells Google you do not maintain your site.

Listing non-canonical URLs. If page A canonicalizes to page B, only page B goes in the sitemap.

Never updating the `lastmod` date. Or worse, setting every page's lastmod to today. Google will eventually ignore your lastmod entirely.

Having a sitemap with 50,000+ URLs and no sitemap index. Break large sitemaps into smaller ones organized by content type.

The Simple Test

Go to `yoursite.com/sitemap.xml` right now. Open it. Does every URL return a 200? Is every URL one you actually want ranked? Is the lastmod date accurate?

If you answered "no" to any of those, you have work to do.

seocheckup.app walks you through sitemap validation as part of our 113-task checklist. Free. No credit card.

Keep reading