← All guides · Ingenious AI team · November 14, 2026 · Reviewed November 14, 2026
Your Sitemap Is the Agent's Map: Listing Every Product Page
The short answer
The sitemap is the one place your store lists everything it sells, in a form built for machines — so it must exist, answer, and list the product pages. The audit checks both halves: sitemap_present (sitemap.xml reachable with entries) and sitemap_lists_products (product URLs actually in it). Agents use the map to establish the full catalog; the audit itself falls back to a sitemap product URL when the feed and homepage offer none. Draw your map with the free store audit looking over your shoulder.
What the audit does with your sitemap
The fetch is simple: GET /sitemap.xml. If it answers 200 with loc entries, sitemap_present passes and the evidence counts them. If the response is a sitemap index, the audit follows into a child sitemap and reads its entries too — large catalogs are expected to shard, and the check accommodates the pattern properly. Then the product question: do the entries include product URLs (/products/ or /product/ paths)? Present earns a pass for sitemap_lists_products; absent earns a warn — the map exists but omits the territory that sells. No sitemap at all fails both checks.
The audit also uses the sitemap the way an agent does: when neither the feed nor the homepage yields a product URL, the sampled product page is taken from the sitemap. That fallback is the check's quiet importance made visible — the sitemap is the discovery route of last resort, and on stores with thin feeds it is the route.
The collections-only sitemap
The common failure is a sitemap of everything except products: homepage, collections, blog posts, pages — the marketing surface, lovingly indexed — while the product URLs, generated by a different part of the platform, never made it in. It happens because sitemaps are usually configured for search engines by whoever owns SEO, and regenerated by whoever owns the platform, and the product feed by whoever owns the catalog; three owners, one file, no one's checklist containing 'products present'. The warn the audit issues is the first time anyone is told.
The opposite failure is staleness: product URLs for deleted products, missing the current range. An agent following a stale map wastes fetches on 404s — each individually forgiven, collectively a signal that the store's published data does not describe the store. Sitemap generation should be a function of the live catalog, regenerated on change, not a file someone exported once.
Sitemap among the discovery routes
Put the sitemap in its place in the chain from how agents find products: permission (robots.txt — which should also reference the sitemap), then feed first for data, sitemap for completeness. The feed carries product data; the sitemap carries product existence. An agent cross-checks them: feed products missing from the sitemap, sitemap products missing from the feed — each gap is a set of products one reader or another cannot fully reach. The audit's two sitemap checks plus the feed check, read together, are that cross-check performed for you.
Housekeeping that matters: keep the sitemap at the root path the fetch expects, keep it valid (the check looks for loc entries in the returned body — an error page served as 200 does not count), and keep it referenced from robots.txt so crawlers find it by the standard route.
Sources
- The Sitemaps protocol, the format the sitemap checks read (sitemaps.org, 2026).
- RFC 9309, Robots Exclusion Protocol, the standard behind the robots.txt checks (rfc-editor.org, 2022).
- Schema.org Product vocabulary, the structured-data type the Catalog checks parse (schema.org, 2026).
While auditing the map, check its edges: the sitemap should not list what the store would not sell — deleted products, draft pages, test items left from a theme build. Junk entries waste agent fetches and dilute the map's authority as the catalog's canonical list, the same way dead checkout links dilute a cart. Generation from the live catalog solves both directions at once — everything sellable listed, nothing else — which is why 'generated, current, complete' is the whole standard, and why a hand-maintained sitemap file is a smell in a modern store.
Five actions to take
- Publish sitemap.xml at the root. Answering 200 with real loc entries — not an error page with a success status.
- List every product page. Product URLs (/products/ or /product/) present for the full live catalog — the check that turns a map into a selling map.
- Shard properly if you shard. A sitemap index is fine — the audit follows into child sitemaps — as long as the children answer and carry the products.
- Generate from the live catalog. Deleted products out, new products in, on change — a stale map teaches readers your data does not describe your store.
- Reference it from robots.txt. The standard discovery route, and the permission file agents read first.
Worked example: The Map Room (Stationery & Prints), 63 to 84
Example — a fictional store, shown to illustrate how the audit's findings and fixes fit together. These are the example's numbers, not a customer's results.
The Map Room is a fictional 210-product stationery and print store. Its first audit scored 63/100:
- Access: sitemap.xml answered with 340 loc entries (sitemap_present, pass) — a healthy-looking map.
- Access: none of the 340 entries was a product URL (sitemap_lists_products, warn): collections, prints' category pages, blog and store pages — the catalog itself absent, because the platform's sitemap module had been configured to content pages only.
- Catalog: the feed answered, so discovery survived on one route; the sitemap route would have failed any reader that relied on it.
The fixes, in the order the audit's impact weights dictate:
- Enabled product URLs in the sitemap module; the regenerated sitemap listed all 210 product pages alongside the content pages.
- Verified the regeneration is catalog-driven: a test product added and removed appeared and disappeared on the next generation.
- Confirmed robots.txt references the sitemap at its root path.
The re-audit scored 84/100 (the round also cleared two policy warns). The store had not lacked a sitemap — it had lacked its products in one. A map of the shop that omits the shelves is the kind of error only a reader who uses the map will ever report.
Run the free store audit · See pricing · Ingenious AI
Frequently asked questions
What do the sitemap checks require?
sitemap_present: GET /sitemap.xml answers 200 with loc entries (a sitemap index is followed into its children). sitemap_lists_products: product URLs actually appear among the entries. No sitemap fails both; a sitemap without products passes the first and warns on the second.
Why do agents need the sitemap if there is a feed?
The feed carries product data; the sitemap carries product existence — the complete, canonical list. Agents cross-check them, and when the feed is missing or thin, the sitemap is the discovery route of last resort: the audit itself samples a product from the sitemap when feed and homepage offer none.
What is the most common sitemap failure?
The collections-only sitemap: hundreds of entries covering the marketing surface and no product URLs, usually because the sitemap module was configured for content pages. It passes presence and warns on products — often the first time anyone is told.
Does a sitemap index work?
Yes — the audit detects a sitemap index, follows into a child sitemap and reads its entries. Sharding is expected for large catalogs; the children must answer and carry the product URLs.
How fresh should the sitemap be?
A function of the live catalog: new products in, deleted products out, regenerated on change. A stale map sends readers to 404s and teaches them your published data does not describe your store.
Keep reading
Start from the top of the subject: Why AI Shopping Agents Skip Your Store · Can AI Agents Buy From Your Store? · Agentic Commerce Checklist for Online Stores. Then run the instrument itself: the free store audit, the Store Audit lab, and the pricing page. All guides are listed in the guides index.
Previous guide: How Store Audit Scoring Works: Pass, Warn, Fail and Impact · Next guide: HTTPS and the Plain Read: The Audit's First Two Questions