Shopify Sitemap: Where to Find It and How to Submit It
Where your Shopify sitemap lives, what Shopify puts in it, how to submit it to Google Search Console, and how to fix the problems merchants hit most.
A sitemap is a file that lists the pages on your site so search engines can find them. On most platforms you have to generate one, keep it up to date and resubmit it. On Shopify you don’t: it exists from the day you open the store and updates every time you add or remove something.
That makes the sitemap one of the few parts of Shopify SEO you mostly leave alone. What’s worth knowing is where it is, what’s in it, how to hand it to Google, and what to check when Search Console reports a problem.
Where to find your Shopify sitemap
Add /sitemap.xml to your store’s primary domain:
https://yourstore.com/sitemap.xml
Use your own domain, not the myshopify.com address. If you have international domains (for example yourstore.ca or yourstore.co.uk), each one has its own sitemap at the same path.
What Shopify puts in it
The file at /sitemap.xml is a sitemap index: a list of other sitemaps rather than a list of pages. Shopify splits your store into child sitemaps for:
- Products, including each product’s main image
- Collections
- Pages (About, Contact, FAQ and any other pages you create)
- Blogs and their articles
Open any child sitemap and you’ll see the individual URLs. Shopify adds a URL when you publish something and removes it when you delete or unpublish it. Languages you’ve added through Shopify Markets are included automatically, with hreflang annotations that tell Google which version of a page is for which language or region.
What stays out of the sitemap
Shopify leaves out content that isn’t meant to be found:
- Products, collections and pages that aren’t published to the Online Store sales channel. Drafts, archived products and anything set to unavailable on the Online Store don’t appear.
- Resources hidden with the
seo.hiddenmetafield. Setting a metafield with namespaceseo, keyhidden, type integer and value1removes the item from the sitemap and adds anoindextag to the page. It also hides the item from your store’s own search, so use it deliberately. Community reports suggest it only works reliably with the integer type, so test it on one product first. - Everything, while the store is password-protected. A store in password (private) mode blocks search engines from the sitemap. Remove the password when you launch, or Google can’t read any of it.
You can’t edit it directly
There’s no setting or theme file that changes sitemap.xml. You influence what’s in it by publishing, unpublishing or hiding content. Apps that claim to “edit” the Shopify sitemap either use the seo.hidden metafield for you or build a separate sitemap file, which you’d then have to keep up to date yourself.
For most stores the automatic sitemap is the right one. Shopify’s default robots.txt already keeps crawlers away from cart, checkout, account and filtered or sorted collection URLs, so the sitemap and robots.txt together cover the basics.
How to submit your sitemap to Google Search Console
Google can find your sitemap without help, but submitting it makes sure it does and gives you a report on what it read.
- Verify your domain in Search Console. The domain property method (a DNS record) covers every version of your domain at once. The URL-prefix method can use an HTML tag, which you paste into
theme.liquidunder Online Store → Themes → Edit code, just below the opening<head>tag. - Open Indexing → Sitemaps in Search Console.
- Enter
sitemap.xmland choose Submit.
If you have international domains, verify each domain and submit each domain’s sitemap. A store using Markets subfolders (yourstore.com/fr/) doesn’t need extra submissions: those URLs are in the main domain’s sitemap.
Our Google Search Console guide for Shopify covers verification and the reports worth checking after you submit.
Common Shopify sitemap problems
”Couldn’t fetch”
This status is common right after you submit and often clears on its own within a day or two. If it doesn’t:
- Check the store isn’t password-protected
- Open
yourstore.com/sitemap.xmlin a private browser window to confirm it loads - Make sure you submitted it on the property for the domain it lives on, not the
myshopify.comaddress
Old or deleted URLs showing in Search Console
The sitemap only lists what exists now. If Search Console shows old product URLs as “Not found (404)”, Google is re-checking addresses it remembers from before, often because other pages still link to them. Those URLs need a 301 redirect to the closest live page, and any links to them in your own content need updating.
Products missing from the sitemap
Check in this order:
- Is the product Active, not Draft or Archived?
- Is it published to the Online Store sales channel?
- Does it have an
seo.hiddenmetafield set? - Was it published in the last few minutes? Give the sitemap a moment to update.
If a product is in the sitemap but not in Google, that’s an indexing question, not a sitemap one. Use Search Console’s URL Inspection tool on the product URL to see why.
”Discovered, currently not indexed”
Google found the URL, often through the sitemap, but hasn’t crawled it yet. On new stores this is normal and clears with time. On large stores with thousands of near-identical products or collection filters, it can mean Google is spending its crawl time elsewhere. Our post on crawl budget for Shopify covers what to do.
Sitemaps for multiple markets and languages
How your sitemap looks depends on how you’ve set up international selling:
- Subfolders (
yourstore.com/en-ca/): one sitemap on your primary domain covers every market, and Shopify adds hreflang annotations to each URL. - Subdomains or separate domains (
ca.yourstore.com,yourstore.ca): each has its own sitemap, which you verify and submit separately.
If you’ve turned off Shopify’s automatic hreflang tags, you’re responsible for adding your own to the theme. Leave them on unless you have a specific reason not to.
Do you need an HTML sitemap?
An HTML sitemap is a normal page that links to your main collections and pages, for people rather than search engines. Shopify doesn’t create one. For most stores, a clear menu and footer do the same job. If you want one anyway, you can build a page with links to your top collections, or have a developer write a page template that lists them automatically. It helps most on stores with deep collection structures, where some pages are several clicks from the homepage.
What a sitemap won’t tell you
A sitemap lists your pages. It doesn’t check what’s on them. A product can sit happily in your sitemap while its description links to a collection you deleted last year. Google will crawl that link, hit a 404, and your shopper will too.
Those links don’t show up in the sitemap report, and Search Console only lists them once Google has crawled them. To find them, you need to check the links inside your pages.
FAQ
How do I find my Shopify sitemap?
Go to yourstore.com/sitemap.xml, using your primary domain. Every Shopify store has one automatically.
How often does the Shopify sitemap update?
Automatically, whenever you add, publish, unpublish or delete a product, collection, page or blog post. You don’t need to resubmit it after changes.
Can I remove a page from my Shopify sitemap?
Yes. Unpublish it from the Online Store, or set the seo.hidden metafield (namespace seo, key hidden, integer value 1). The metafield also adds noindex to the page and hides it from your store’s search.
Why does Google Search Console say my sitemap couldn’t be fetched?
Usually because the submission is new, the store is still password-protected, or the sitemap was submitted on the wrong property. Check the sitemap loads in a private browser window, then wait a day.
Do I need an app for my Shopify sitemap?
No. Shopify generates a complete sitemap for every store. An app only helps if you need to hide many items at once or want an HTML sitemap page.
Relink finds the dead links inside your Shopify products, pages, collections and blog posts, and suggests the page each one should point to. Install free.
Ready to fix your store's broken links?
Relink scans your Shopify store automatically and uses AI to suggest the right fix for every broken link it finds.
Install Relink — FreeFree plan available · No credit card required