Creative agency glossarySEO and Analytics

Sitemap

A sitemap is a list of a website's pages, provided either as an XML file for search engines or as an HTML page for visitors, that helps everything on the site get found.

What is a sitemap?

A sitemap is an index of a website's pages. It comes in two forms that share a name and little else. An XML sitemap is a machine-readable file, usually at /sitemap.xml, that lists every URL a site wants search engines to know about, with optional notes on when each was last changed. An HTML sitemap is an ordinary page for people, a long list of links organized by section, the kind that used to live in every footer and still earns its place on large sites.

Both answer the same question: what is here? A search engine crawler can find most pages by following links, but it can miss pages that are new, deep or poorly linked. A sitemap hands it the full list so nothing depends on luck.

Why it matters

Why a sitemap matters

Search engines cannot rank what they have not found. On a small site with good internal links a sitemap changes little, because the crawler finds everything anyway. On a large site, a new site or a site with pages that are hard to reach, the sitemap is often the only reason certain pages get crawled at all. It also carries timing: the last-modified date tells a crawler which pages have changed since its last visit, so it spends its limited attention on them rather than re-reading pages that are the same as last month.

A sitemap matters for diagnosis too. Google Search Console reports how many of the URLs in a sitemap are indexed, and the gap between submitted and indexed is one of the first numbers to check when a site is underperforming.

In practice

How a sitemap works in practice

  1. 01

    Most content management systems generate the XML sitemap automatically and keep it current as pages are published and deleted. The file is then referenced in robots.txt and submitted in Google Search Console and Bing Webmaster Tools, after which the engines fetch it on their own schedule. Large sites split the list into several files under a sitemap index, because a single file is capped at fifty thousand URLs. Specialized sitemaps exist for images, video and news, each carrying extra fields the general file does not.

  2. 02

    The maintenance is in the hygiene. A sitemap should only contain pages that are meant to be indexed: no redirects, no 404s, no pages set to noindex, no duplicate URL variants. Every entry that fails those rules teaches the crawler that the file is unreliable, and it starts trusting the sitemap less. The HTML version needs the same care, kept in sync with the site and organized so a person can actually use it.

At RIOT

Sitemaps at RIOT

This glossary is the reason riot.nyc needs one. More than a thousand terms, each on its own page, linked from category listings and from one another, is more than a crawler will reliably discover on its own. The sitemap lists every term, so a new entry is on the list the day it goes live rather than waiting to be stumbled upon.

See the work →

Watch out

What people get wrong about sitemaps

Thinking a sitemap makes pages rank. It makes them discoverable; ranking is decided by everything else. The reverse mistake is neglecting it: a sitemap full of dead URLs, redirected pages and noindexed junk is worse than none, because it wastes crawl budget and undermines trust. And many sites still confuse the two kinds, submitting an HTML page to Search Console or burying the XML file where no robots.txt points to it.

Questions

People also ask

Does every website need a sitemap?

Small, well-linked sites can survive without one, but there is no downside and most platforms generate it automatically. Large sites, new sites and sites with deep or poorly linked pages need one, because it is often the only way those pages get crawled.

What is the difference between an XML and an HTML sitemap?

The XML sitemap is a file for search engines, listing URLs with last-modified dates. The HTML sitemap is a page for visitors, listing links by section. Both help discovery; only the XML version is submitted to search engines.

How often should a sitemap be updated?

Every time a page is added, removed or substantially changed. Most content management systems do this automatically. What needs a regular check is the content: remove redirects, broken pages and noindexed URLs so the file stays trustworthy.

Next to it in the glossary

  1. 200 (OK) Response CodeA 200 OK response code is the server's confirmation that a request succeeded and the page was delivered as asked.
  2. 301 RedirectA 301 redirect is a permanent instruction that sends browsers and search engines from an old URL to a new one, carrying the old page's ranking signals with it.
  3. 302 RedirectA 302 redirect is a temporary instruction that sends visitors from one URL to another while telling search engines the original address will return.
  4. 304 Not ModifiedA 304 Not Modified response tells a browser or a crawler that the page has not changed since it was last fetched, so the cached copy can be used instead.
  5. 307 Temporary RedirectA 307 Temporary Redirect sends a visitor to a different URL for now, while guaranteeing that the request is repeated exactly as it was made.
  6. 403 ForbiddenA 403 Forbidden error means the server understood the request but refuses to serve the page, usually because the visitor does not have permission to see it.

Every SEO and Analytics term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage