A sitemap is the file search engines read to discover every page on your store. Shopify builds one for you automatically and keeps it current — you never write or upload it. The work that actually moves indexing is submitting it once, then watching for the gap between what is in the sitemap and what Google decides to index.
Where your Shopify sitemap lives
Every Shopify store publishes a sitemap at yourstore.com/sitemap.xml. That top-level file is a sitemap index — it does not list your product URLs directly. Instead it points to child sitemaps, each capped at a manageable size:
- sitemap_products_1.xml — your published products
- sitemap_collections_1.xml — your collections
- sitemap_pages_1.xml — standard pages (About, Contact, policies)
- sitemap_blogs_1.xml — blog posts and article URLs
When a store passes the per-file URL ceiling, Shopify simply adds sitemap_products_2.xml, and so on. You cannot reorder, edit, or hand-add entries — the file is generated from your live catalog. That is a feature, not a limit: the sitemap can never drift out of sync with what you have published, because Shopify rebuilds it whenever you add, unpublish, or delete content.
One detail that trips people up: on the plans below the top tier, primary-domain sitemaps are only crawlable by search engine bots. If you open /sitemap.xml in a normal browser and get a 404 or a redirect, that is expected behavior on some stores — Googlebot still fetches it fine. Verify with the URL Inspection tool in Search Console rather than your own browser.
How to submit it to Google and Bing
Shopify does not submit the sitemap for you. Do it once per search engine:
- Google: open Search Console, select your property, go to Indexing → Sitemaps, enter sitemap.xml (the path only, not the full URL), and submit.
- Bing: in Bing Webmaster Tools, go to Sitemaps → Submit sitemap and paste the full https://yourstore.com/sitemap.xml.
You submit the index file only. Never submit each child sitemap separately — Google follows the index and finds them all. Submitting once is enough; both engines re-crawl on their own schedule. What matters after that is checking back. Search Console shows a "Discovered URLs" count and a status per sitemap; if it reads "Couldn't fetch" give it a day, then re-check, since that status is often transient right after a submit.
If you have a custom domain, submit the sitemap on the primary domain you actually rank with, not the .myshopify.com address. Mixing the two splits your signals and is a common reason a freshly launched store looks half-indexed.
The sitemap-versus-indexed gap
This is the failure we see most often, and it is the one worth understanding deeply: a URL sitting in your sitemap is a request, not a guarantee. Google crawls what it discovers and then decides, page by page, whether to index it. In Search Console the tell is the Pages report showing URLs as "Discovered — currently not indexed" or "Crawled — currently not indexed."
Causes we see in practice on Shopify stores:
- Thin or duplicated content — near-identical product descriptions across a variant-heavy catalog give Google little reason to index each one.
- A noindex tag that contradicts the sitemap — the page is listed as crawlable but the head carries a robots noindex, so Google honors the noindex and drops it. This contradiction is the single most confusing sitemap problem because everything looks fine at a glance.
- Crawl budget spent elsewhere — faceted collection URLs and duplicate parameter pages soak up crawls that should reach real products.
A fast way to check any single URL: paste it into Search Console's URL Inspection tool. It tells you whether Google sees the page, which canonical it picked, and whether a noindex is blocking it — far more useful than staring at the raw XML.
Pages that go missing from the sitemap
The opposite problem is a page you want indexed that never appears in the sitemap at all. On Shopify the reasons are narrow and predictable:
- The product or page is set to hidden or has no sales channel that includes the Online Store.
- The product is unpublished — draft products are excluded by design.
- A page template or app has flagged the URL for exclusion.
Shopify only lists published, storefront-visible URLs. If something is missing, fix its visibility at the source; you cannot force it into the sitemap by any other means. Password-protected stores are excluded entirely until you remove the storefront password, which is why pre-launch stores show an empty or near-empty sitemap.
Stale URLs and redirects
When you delete a product, its URL lingers in the sitemap until the next regeneration, and for a while afterward Google may keep the old URL in its index. Do not leave those as soft 404s. Set a 301 redirect from the removed URL to the closest live product or collection so the link equity and any existing rankings transfer instead of evaporating. Our guide on Shopify URL redirects covers the URL Redirects tool and the bulk-import path for doing this at scale.
The same discipline applies to handle changes. Renaming a product changes its URL; Shopify creates the redirect automatically in most cases, but confirm it — a broken old URL in a stale sitemap sends crawlers to a dead end.
Do not confuse the sitemap with robots.txt
These two files do opposite jobs and are often mixed up. The sitemap invites crawling; robots.txt restricts it. If your robots.txt blocks a path, listing that same path in the sitemap does nothing — the block wins. Keep them consistent: anything you want indexed should be crawlable in robots.txt and present in the sitemap, with no noindex tag fighting either one. When those three signals disagree, indexing stalls in ways that are genuinely hard to diagnose without checking all three.
Where a sitemap fits in the bigger picture
The sitemap is table stakes, not a growth lever. It gets pages discovered; whether they rank depends on the fundamentals covered across our Shopify SEO foundation and the Shopify SEO checklist for 2026. For newer surfaces — AI answer engines that cite sources rather than rank links — an llms.txt file and clean schema markup matter more than XML ever will, and answer engine optimization is where that discovery is shifting.
RankEngine watches your Shopify sitemap alongside these signals, flags the exact pages that are listed but blocked from indexing, and pushes faster IndexNow pings — with every change verified against live Shopify rather than assumed.
RankEngine