Australian Website Design Measured figures. Named sources.
Menu Close

XML sitemaps

An XML sitemap is a machine-readable list of the addresses a site wants search engines to know about. It assists discovery and does not compel indexing. It differs from the planning sitemap agreed with a supplier during scoping.

Search readiness

An XML sitemap is the machine-readable file listing a site's published addresses — what it's for, what it can't do, and why it's not what you agreed.

An XML sitemap is a machine-readable file listing the addresses a website wants search engines to know about. That is why this specific SEO document is called an XML sitemap rather than just “sitemap”. Its job is discovery — helping a search engine like Google learn that an address exists — and it does nothing at any later stage.

An XML sitemap is not the sitemap agreed with a supplier during scoping. That other kind of sitemap is a planning document about which pages a site will have and how they nest, written for people, not for Google or any other search engine. It is covered on the sitemap as a document. The two share a word and nothing else, and hearing “the sitemap is done” refers to either one.

What XML sitemaps contain, and what the file lists

An XML sitemap holds one entry per address, with the address itself as the only genuinely important field. Optional fields record when the page last changed and its expected change interval.

The optional fields are worth a caution. A last-modified date that updates every night on a page that has not changed is noise, and platforms produce that pattern routinely. A change-frequency hint that claims every page changes hourly is not believed and does not need to be.

What the list of URLs does and does not do

An XML sitemap does one thing and is credited with four it does not. It helps discovery; it does not force indexing, improve ranking, guarantee fast storage, or replace internal linking. The table below marks each claim true or false.

ClaimTrue?
Helps search engines discover addressesYes, particularly ones with few internal links
Forces pages to be indexedNo
Improves rankingNo
Speeds up indexing of a new pageIt assists discovery; it does not compel storage
Replaces internal linkingNo, and a page that is only in the sitemap is a page nothing links to

The last row is the one worth acting on. A page that appears in the sitemap and is linked from nowhere on the site is a structural defect, and the sitemap is compensating for it rather than solving it. That page is an orphan, and the fix is a link from somewhere sensible.

Where the sitemap XML file lives, and how to submit XML to Google Search Console

An XML sitemap conventionally lives at the root of the domain, at an address ending in sitemap.xml, and is referenced from robots.txt so a crawler finds it without being told. It is submitted directly through Google Search Console, which additionally reports the count of listed URLs Google has actually indexed.

That last number is the useful one for SEO purposes. A sitemap listing sixty addresses of which twelve are indexed is a diagnosis: discovery is working and a later stage is failing. Without the XML sitemap submitted to Search Console, that comparison is unavailable.

The contradictions worth checking before pages get indexed

A sitemap agrees with the rest of the site, or the disagreement is itself a finding. Three disagreements occur regularly, and a search console shows all three. The three are listed below in the order they occur.

  • Listed pages that carry a noindex instruction tell the search engine “know about this” and “do not store this” at once.
  • Listed pages that redirect put an address in the file that is not the address of the page, which marks the file as stale.
  • Listed pages that do not exist are deleted pages left in a generated file, left there because the generation is cached.

None of these is catastrophic. All of them indicate that nobody is looking at the file, which is the more useful finding.

What the file cannot express

Three limits are worth knowing before anyone attributes more to the file than it does. The file carries no indexing instruction, states nothing about the relationship between pages, and expresses no priority that is acted upon.

It carries no instruction about indexing. Listing an address is a suggestion that it exists, not a request that it be stored, and there is no field that makes the request stronger.

It says nothing about the relationship between pages. A sitemap is a flat list; the parent-and-child structure a reader navigates is expressed by internal links and by the addresses themselves, not here.

It expresses no priority that is acted upon. The optional priority field is a hint that is widely ignored, and setting every page to the highest value communicates nothing at all.

Multiple sitemaps, index files, and how crawlers use them

Large sites split the list across a set of files with an index file pointing at them. A small business site does not need this and does not encounter it unless a platform generates it by default, which certain platforms do.

Where a platform generates separate files for pages, posts, images and categories, the thing to check is whether the categories and archives listed are pages intended for search results. Platform-generated archive pages are a common source of thin, near-duplicate addresses.

Whose job the sitemap is, and where it sits in SEO

On nearly every modern platform the file is generated automatically and stays current without intervention. The build obligation is therefore small: confirm it exists, confirm it lists the right addresses, confirm it is referenced from robots.txt, and submit it once.

What is not automatic is anybody looking at the indexed-versus-submitted figure afterwards. That is an ongoing check rather than a build task. It belongs in whatever maintenance arrangement exists — the shape of those arrangements is on website maintenance cost.

What to check on your own site

Type your domain followed by /sitemap.xml. A list of addresses confirms the file exists. Read ten of them and confirm they are pages intended for search results. Then check that the same file is named in your robots.txt, which is on blocking and excluding pages.

If nothing appears at that address, check /sitemap_index.xml, the other common convention, before concluding the file is missing.

A quick recap of what the sitemap file actually does

An XML sitemap is one file, and its job is narrow: it lists the URLs a site wants a crawler to find, in a format Google and other search engines read automatically. Submitting the sitemap through Search Console tells Google where that file lives and lets it report the number of listed URLs it has actually indexed. The sitemap itself does not crawl anything and does not index anything — it is a list a crawler reads, not a process a crawler runs. Confusing “the sitemap is submitted” with “the pages are indexed” is the recurring misunderstanding this page exists to correct.

What to do next

Add two lines to the launch checklist. The sitemap exists and lists only pages intended for search results. And it has been submitted in a search console owned by the business. The second half of that sentence is the part that gets skipped, and the reason it matters is on measuring what search engines did. What a build includes as standard is on services.