Wealth · Recovered article

XML Sitemaps

XML sitemaps help search engines discover canonical URLs, understand update signals, and audit which important pages a site wants crawled.

Recovered from the September 2026 site snapshot. Figures and claims may reflect their original publication date.

export const FAQS = [ { question: "What is an XML sitemap?", answer: "An XML sitemap is a machine-readable file that lists important canonical URLs a site wants search engines to discover and crawl." }, { question: "Does an XML sitemap guarantee indexing?", answer: "No. A sitemap can help discovery, but it does not guarantee that a URL will be crawled, indexed, ranked, or shown in search results." }, { question: "What should be included in an XML sitemap?", answer: "Include canonical, indexable, important URLs. Exclude duplicates, redirects, blocked pages, noindex pages, thin internal search results, and low-value generated pages." } ];

Part 38 of 180

The AI Search Mastery System

Core Idea

An XML sitemap is a discovery file.

It tells search engines which canonical URLs are important enough to crawl. It can include update signals, but it does not force indexing. A sitemap is a request for attention, not a command.

Good sitemap hygiene helps technical SEO because it makes the site's preferred URLs clearer.

A Sitemap Is a Discovery File

A sitemap should list the pages the site actually wants discovered.

If a page is redirected, blocked, noindexed, duplicated, or low-value, it usually should not be in the sitemap. If a page is important but not in the sitemap, discovery may still happen through links, but the sitemap is missing a useful signal.

Sitemaps are especially useful for large sites, new pages, deep content libraries, ecommerce stores, and sites with many media or article pages.

Non-Developer Explanation

Think of a sitemap as a clean list of important pages for search engines.

It is not the public navigation. It is not a guarantee. It is not a substitute for internal links. It is a technical list that says, "These are the canonical pages we want you to know about."

If that list is messy, it sends confusing signals.

Developer Implementation Notes

Generate sitemaps from canonical source data, not from every route that happens to exist.

Include absolute canonical URLs. Keep lastmod accurate if used. Split large sitemaps when needed. Reference sitemap indexes correctly. Exclude noindex, redirected, blocked, parameterized duplicate, and non-canonical URLs. Make sure sitemap generation agrees with content metadata and route generation.

After deployment, verify that sitemap URLs return 200, are indexable, and match canonical tags.

Good Execution vs Bad Execution

Bad execution: a sitemap containing old redirects, draft pages, internal search results, duplicate parameter URLs, and pages blocked by robots.txt.

Good execution: a sitemap containing current canonical Wealth, product, article, and hub URLs that return 200 and are intended for indexing.

The sitemap should describe the site you want search systems to crawl, not every technical path the server can render.

Before and After Examples

Before sitemap includes:

After sitemap includes:

The after version lists canonical, useful pages.

Must Fix vs Nice to Optimize

Must fix:

Nice to optimize:

Fix correctness before adding sophistication.

Sitemap Audits

Audit sitemaps by comparing them against the crawlable site.

Export sitemap URLs. Check status codes. Check canonical tags. Check robots rules. Check noindex. Check whether important hubs and articles are included. Check whether junk URLs appear.

For small sites, a spreadsheet and basic checks may be enough. For large sites, automate the audit. The principle is the same: the sitemap should be clean.

How AI Helps

AI can review sitemap exports, classify suspicious URLs, identify likely duplicates, group URLs by section, and summarize sitemap health.

Human and technical verification remain necessary. AI should not decide indexability from URL text alone. Check real status codes, canonical tags, robots rules, and page content.

Sitemap Workflow for Small Sites

Small sites can keep sitemap work simple.

Confirm the sitemap exists. Open it. Check whether the important hubs and articles appear. Click a sample of URLs and confirm they load. Check that obvious junk URLs, drafts, internal search pages, and redirects are absent.

Then compare the sitemap to the site architecture. If the sitemap lists pages that are not linked anywhere, decide whether those pages need links or should be removed. A sitemap should not be the only way a valuable page is discovered.

Sitemap Workflow for Large Sites

Large sites need automation.

Generate sitemaps from canonical data. Split sitemap files by section or type when needed. Validate status codes, canonical tags, indexability, and robots access. Alert when a large number of URLs drop out or when errors enter the sitemap.

For ecommerce, watch product availability and variant rules. For publishers, watch old content archives and tag pages. For local sites, watch generated location pages.

Sitemap Failure Modes

The first failure is sitemap bloat: every generated URL gets included.

The second failure is sitemap neglect: important new hubs never appear.

The third failure is false confidence: the sitemap looks complete, but important pages are not linked internally.

Sitemap Review Triggers

Review sitemaps after route changes, content migrations, product imports, category changes, canonical template updates, and robots.txt changes. Also review when search tools report submitted URLs that are blocked, redirected, noindexed, or canonicalized elsewhere.

For a publishing site, review sitemap inclusion when new hubs are added. For ecommerce, review when products move between categories, go out of stock, or receive new canonical rules.

Sitemap problems are often symptoms of architecture drift. The file exposes disagreement between what the site can render and what the site actually wants indexed.

Sitemap Troubleshooting Questions

When a sitemap looks wrong, ask:

If the answer is unclear, treat the sitemap issue as an architecture audit, not only a file fix.

Editorial Checklist

Before approving sitemap changes, ask:

The Decision Rule

Use this rule: a sitemap should list the URLs you would confidently ask a search engine to crawl.

If a URL is not worth crawling, it probably does not belong there.

Human Quality Review

Before shipping, this article should pass these checks:

Related Articles

Frequently Asked Questions

What is an XML sitemap?

An XML sitemap is a machine-readable file that lists important canonical URLs a site wants search engines to discover and crawl.

Does an XML sitemap guarantee indexing?

No. A sitemap can help discovery, but it does not guarantee that a URL will be crawled, indexed, ranked, or shown in search results.

What should be included in an XML sitemap?

Include canonical, indexable, important URLs. Exclude duplicates, redirects, blocked pages, noindex pages, thin internal search results, and low-value generated pages.