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.

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.