Sitemap

A sitemap is a structured representation of a website's pages — what content exists, how it's organized, and how it relates. The term covers two distinct but complementary concepts: HTML sitemaps designed for human visitors, and XML sitemaps designed for search engines. Modern ecommerce sites typically have both, though the XML version is the more important of the two for SEO.

HTML sitemaps

HTML sitemaps are user-facing pages that list the site's main content in a navigable structure. They were common in the 2000s and early 2010s as a navigation aid, particularly on large sites where the main navigation couldn't surface every page. Modern best practice has shifted: well-designed primary navigation, search, and category structure handle most discovery, and HTML sitemaps have become rarer in 2026.

Where HTML sitemaps still appear:

  • Footer "site map" links on enterprise and government sites where comprehensive navigation is expected.
  • Accessibility-focused sites where a single-page directory provides screen-reader-friendly navigation.
  • Large knowledge bases or documentation hubs where users genuinely benefit from a top-level index.

For most ecommerce brands, an HTML sitemap is optional and rarely affects either UX or SEO meaningfully.

What a sitemap is worth to the business

To a search engine, the sitemap is your store's inventory of pages, and on an ecommerce site most of those pages are products and collections that exist to make money. It matters at two moments and is otherwise invisible. The first is a replatform or a URL change, where a stale sitemap and broken redirects can pull revenue-earning pages out of the index for weeks. The second is catalog scale: a large store submits thousands of URLs and only a fraction of them get indexed.

Submitting a sitemap is not a ranking action and will not fix either problem. It is a diagnostic. The number worth looking at is the gap between submitted and indexed pages in Search Console, checked after any migration and again as the catalog grows. A widening gap usually means the store is generating more near-identical variant and filter URLs than there is demand for.

XML sitemaps

XML sitemaps are the more important type. They're machine-readable files that list every page on the site for search engine consumption. Search engines use them for crawl discovery, prioritization, and re-crawling decisions. Every modern ecommerce site should have a working XML sitemap; most are generated automatically by the platform.

Shopify generates an XML sitemap automatically at /sitemap.xml; WordPress sites typically rely on plugins like Yoast or Rank Math; headless setups need explicit sitemap generation.

Sitemaps and information architecture

Beyond the technical formats, "sitemap" is also used loosely to describe a site's overall information architecture — how content is organized, what categories exist, how pages relate. In this sense, the sitemap is a planning document used during site design and rebuilds, distinct from the technical sitemap files. UX designers and information architects produce sitemaps as part of structuring a new site.

Modern best practices

  • Keep XML sitemap fresh. Auto-generation handles this on most platforms; verify it's working, particularly after migrations or platform changes.
  • Submit XML sitemap to search consoles. Google Search Console and Bing Webmaster Tools both accept sitemap submission for faster indexing.
  • Reference the sitemap in robots.txt. Standard practice; helps crawlers find it without explicit submission.
  • Skip the HTML sitemap unless there's a specific reason for one. For most ecommerce sites, the navigation and search handle discovery better than a flat sitemap page.

Checking that a sitemap is actually current, correctly referenced in robots.txt, and free of stale URLs after a migration is a five-minute task that gets skipped more often than it should, and a practical walkthrough of finding, checking, and submitting a Shopify sitemap covers exactly that checklist.