A healthy sitemap lists every page you want crawlers to read and nothing a crawler should skip, such as a page marked noindex, a redirect or a leftover test product. Shopify builds the sitemap for you at the root of your primary domain, and since it mirrors whatever is published in your store, its health depends on the state of the store itself.
Google calls a sitemap a hint. It helps a crawler find pages, and it promises nothing about indexing. So the sitemap is only useful when every address in it is a real page that loads.
How does Shopify build my sitemap?
Shopify generates sitemap.xml at the root of your primary domain, such as example.com/sitemap.xml, and updates it automatically. The main file links to separate sitemaps for products, collections, blogs and pages. Shopify says a product, page or blog post with the seo.hidden metafield set to 1 is left out.
Automatic is useful, and it is also why most owners never open the file. Automatic means the sitemap lists whatever is published, including the test product from launch week and the collection that has been empty since spring.
When do a sitemap and a page disagree?
A sitemap and a page disagree when the sitemap says "read this page" and the page says something else. These are the cases we see on Shopify stores.
- A theme or app adds a noindex tag to a page, such as an out of stock product, while the sitemap still lists it.
- Test products, sample pages or empty collections are published, so the sitemap invites crawlers to pages nobody should land on.
- Links elsewhere still point at old addresses that redirect, sometimes several times, before reaching the page. Our article on redirects and canonicals covers those.
- The store has more than one domain, and links or a Search Console submission point at a domain that is not the primary one.
- A page that matters is in the sitemap but no other page links to it. Our article on orphan pages explains why that still hurts.
| What a messy sitemap contains | What it tells a crawler | The fix |
|---|---|---|
| URLs that 301-redirect | “This index points at moved pages” | List only final, canonical URLs |
| Dead URLs that 404 | “This index is unreliable” | Remove anything that does not resolve |
| Pages marked noindex | “You told me not to index this” | Exclude noindex pages from the sitemap |
| Missing key PDPs | “These products do not exist” | Ensure every live product is listed |
Why does sitemap health matter for AI crawlers?
AI crawlers use the same public pages a search crawler uses, and a sitemap is one of the places they learn which pages exist. A crawler that spends its visit on test products and noindex pages reads less of what you wanted read. In our June 2026 study of 216 Shopify storefronts, 41% failed Front Door, the metric that tests whether an AI crawler can read a page at all. A clean sitemap is part of passing that test. If Google shows nothing of your store at all, start with our guide to why a Shopify store is not showing on Google. The figures are in The State of AI Visibility 2026.
How do I check my Shopify sitemap?
Give it fifteen minutes and a notepad.
- Go to Settings > Domains and note your primary domain, since every check below uses it.
- Open primarydomain.com/sitemap.xml in a browser, then open the products sitemap linked inside it.
- Scan the product addresses for anything that should not be public, such as "test", "copy of" or "sample". Open each one you find.
- Open ten product addresses at random. Each should load the product directly, without a redirect or an error.
- On two of those products, right click, choose View page source and search for "noindex", which a page in the sitemap should never carry.
- Open the collections sitemap and look for collections that show no products.
- In Google Search Console, open Sitemaps under Indexing and check that sitemap.xml on the primary domain shows a status of Success. Our guide to verifying your sitemap shows each screen.
How do I fix what the check finds?
- For a test or sample product, go to Products, open it and set its status to Draft, or delete it if you will never sell it.
- For an empty collection, go to Products > Collections and either add products or remove the collection from the Online Store sales channel.
- For a page that carries noindex while it is in the sitemap, decide which is true. If the page should be found, remove the noindex from the theme or the app that adds it. If it should not, set the seo.hidden metafield so Shopify also drops it from the sitemap.
- For redirect chains, update the links in Content > Menus and in your pages so they point at the final address.
- Submit the sitemap again in Search Console only if you changed domains. Shopify updates the file itself.
What should a furniture store do about six test products in its sitemap?
Take a furniture store on Shopify with 400 products. The products sitemap lists 406 addresses. Six are leftovers from launch, with names such as "Test sofa" and "Copy of oak table", and two of them still show a placeholder photo. An app the store uses for back in stock alerts adds a noindex tag to 30 sold out products, all of which are still in the sitemap.
The owner sets the six leftovers to Draft, which takes them out of the sitemap at once. For the 30 sold out pieces, she decides they should stay findable, since most come back into stock, and turns off the app's noindex setting. The sitemap now says one thing and the pages agree with it. The test sofa had a good run.
What else do owners ask about sitemaps?
Does Shopify create a sitemap automatically?
Shopify builds it for you. It generates sitemap.xml at the root of your primary domain and keeps it updated, with separate sitemaps for products, collections, blogs and pages. It lists whatever is published, so its accuracy depends on what you publish.
How do I check if my sitemap is healthy?
Open the products sitemap, look for test or sample products, open ten addresses at random and check that each loads directly without noindex. Then confirm in Search Console that the sitemap on your primary domain shows a status of Success.
Can I edit my Shopify sitemap by hand?
You cannot edit the file, since Shopify builds it for you. You change what it lists by changing what you publish, for example by setting a product to Draft or by setting the seo.hidden metafield.
Does a sitemap guarantee that Google indexes my pages?
A sitemap guarantees nothing. Google calls a sitemap a hint that helps Google find pages, and it makes no promise about indexing them. If your sitemap is healthy and Google still lists nothing, read our guide to what is normal when Google has indexed none of your pages.
If a theme or an app is the source of the contradictions, AI Visibility Setup: Foundation fixes sitemaps, canonicals, rendering and crawler access on Shopify for $2,500, in a copy of your theme.
Sources
- Finding and submitting your sitemap, Shopify Help Center, read November 9, 2026.
- Hiding a page from search engines, Shopify Help Center, read November 9, 2026.
- Build and submit a sitemap, Google Search Central, read November 9, 2026.
- The State of AI Visibility 2026, Visibility Mesh, 216 Shopify storefronts scored in June 2026.