← all terms
Glossary term

XML sitemap

A file listing the URLs you want search engines to discover and crawl, submitted through Search Console.

In depth

What it really means

A sitemap is a nomination list, not an instruction. It helps engines find pages that internal linking alone might miss, particularly on large or poorly linked sites. It does not force indexing of anything.

The most useful thing a sitemap does is diagnostic. Search Console reports indexed count against submitted count per sitemap, which tells you exactly how many of your nominated pages Google actually accepted.

How it works

  1. You generate an XML file listing canonical URLs with optional lastmod dates.
  2. It is submitted in Search Console and referenced from robots.txt.
  3. Crawlers use it to discover URLs alongside link-based discovery.
  4. Search Console reports how many submitted URLs were indexed.

Pros & cons

Pros

  • Speeds up discovery of new and deep pages.
  • Gives you a clean submitted-versus-indexed diagnostic.
  • Splitting into multiple sitemaps isolates problems by section.

Cons

  • It does not guarantee indexing.
  • Stale sitemaps listing dead URLs waste crawl attention.
  • It does not fix weak internal linking, it only masks it.

Common mistakes

  • Including noindexed, redirected or canonicalized-away URLs.
  • Never updating it, so it lists pages deleted months ago.
  • Treating it as a substitute for internal links to orphan pages.
  • One giant sitemap when splitting by section would make diagnosis far easier.

Best practices

FAQs

What is an XML sitemap?

A nomination list of URLs you would like crawled. Engines use it for discovery alongside internal links, and Search Console then reports how many of your nominations it actually accepted.

Do I need an XML sitemap?

It helps most on large sites, new sites, and sites with deep or poorly linked pages. Small well-linked sites benefit less but there is no downside.

Does a sitemap guarantee indexing?

No. It aids discovery only. Whether a page gets indexed depends on quality, duplication and canonical status.

Should I split my sitemap?

Yes, by section or content type. Search Console reports indexed counts per sitemap, so splitting turns one useless number into a diagnostic.

Keep reading

Related on LymLyt

Beyond LymLyt

Further reading

Want this working on your site?

We build the content behind the term, ranked in search and cited by AI.

Book a 30-min call