Skip to content

Last updated

What is an XML sitemap, and does a small site need one?

An XML sitemap is a machine-readable file listing every page on a site that the owner wants indexed, usually at /sitemap.xml. It helps search engines discover pages and notices when they change. A small, well-linked site can rank without one, but there is no reason not to have it.

What it does and does not do

A sitemap helps with discovery. It does not guarantee indexing, and it does not improve ranking. Pages that are linked from the navigation get found regardless. The sitemap earns its place on larger sites, on pages that sit several clicks deep, and on anything published recently enough that no links point to it yet.

What belongs in it

Only URLs that should be indexed, that return a normal response, and that are canonical. Including redirects, dead pages, or URLs blocked in robots.txt turns the file into noise and reduces how much attention search engines give it. A sitemap contradicting the rest of a site's signals is worse than no sitemap.

The lastmod field is a promise

The last-modified date is meant to say when the content genuinely changed. Sites that regenerate it on every deploy, so every page claims to have changed this morning, teach search engines to ignore the field entirely. Keeping it honest is what makes it a useful freshness signal instead of a decoration.

Start with the free audit.

Get a free audit

Send the link. We read the site by hand and write back inside five business days.

No call, no commitment