Shopify SEO

Shopify Sitemap: How to Submit & Optimize

Your Shopify sitemap is at /sitemap.xml on your store domain: Shopify generates it, updates it in real time and does not let you edit it. The one thing you do is submit that URL in Google Search Console, and this guide shows how, what the sub-files and their numbers mean, and how to fix the errors Google reports.


Key takeaways

  • Your Shopify sitemap is at yourstore.com/sitemap.xml Shopify builds it, updates it in real time and does not let you edit it. You only submit it.
  • Submit it once in Google Search Console under Indexing, then Sitemaps. Type sitemap.xml and click Submit. Google re-reads it on its own after that.
  • The index points to sub-files for products, collections, pages and blogs with ?from= and &to= ID ranges, split into _1, _2 files on big catalogs. Submit only the index.
  • Indexed is not the same as ranking A sitemap gets pages into Google. Meta titles, descriptions and alt text decide whether they earn clicks.

Where is my Shopify sitemap? At https://yourstore.com/sitemap.xml. Shopify generates it for you, updates it the moment you publish or edit a product, collection, page, image or blog post, and does not let you edit the file. There is nothing to install or configure.

The problem is that Google does not know it is there until you tell it. Submitting your Shopify sitemap in Google Search Console takes under two minutes and shortens the gap between publishing a product and Google finding it.

This guide shows the exact submission steps, explains the sub-sitemap files and the ID numbers in their URLs, and covers the errors Google reports. It also separates two things merchants mix up: a page being indexed and a page being optimized. Confusing the two is where most stores lose weeks of potential rankings.

What Is a Shopify Sitemap?

A sitemap is an XML file that lists the pages on your store you want search engines to find. Think of it as a table of contents you hand to Google directly: instead of waiting for Googlebot to discover pages by following links, you give it the full list up front.

Your Shopify sitemap lives at a fixed URL, https://yourstore.com/sitemap.xml. Shopify's sitemap documentation states that "sitemap files are generated automatically" and update when you add a webpage, product, collection, image or blog post. The file itself is a sitemap index: it points to separate sub-sitemaps for each content type.

Google's own sitemap overview says a sitemap helps most on large sites, where it is hard to make sure every page is linked from another page, and on new sites with few external links. That describes almost every Shopify store in its first year. Google also notes that a sitemap "doesn't guarantee that all the items in your sitemap will be crawled and indexed", which is why the second half of this guide matters.

What the Shopify Sitemap Covers (and What It Misses)

What's included automatically

Open /sitemap.xml on any Shopify store and you see an index like the one below. The comment at the top is Shopify's own: "The sitemap can not be edited manually, but is kept up to date in real time."

Sub-sitemapWhat it listsNotes
/sitemap_products_1.xml?from=…&to=…Your homepage plus every published product, with the primary product imageSplit into _2, _3 files on large catalogs
/sitemap_collections_1.xml?from=…&to=…Every published collection that contains productsEmpty collections are skipped
/sitemap_pages_1.xml?from=…&to=…Standalone pages: About, Contact, FAQ, policies you built as pagesNot the password page or checkout
/sitemap_blogs_1.xmlEvery published article across all blogsBlog index pages are included
/sitemap_agentic_discovery.xmlShopify's new file pointing AI agents to /agents.mdAppears on stores rolled into Shopify's agentic commerce features; nothing to configure
/es/sitemap_products_1.xml, /en-sg/…One set of sub-sitemaps per extra language or market subfolderOnly when you sell in more than one language or market

Each product entry carries the URL, a lastmod date and an image:image block with the main product image. Google's image sitemap documentation explains that this helps Google find images it "might not otherwise find", which is the direct link between your sitemap and image search traffic.

What the ?from=, &to= and _1, _2 numbers mean

The numbers in a sub-sitemap URL, for example sitemap_products_1.xml?from=9780974092310&to=15264268091414, are the range of Shopify product IDs that file covers. Shopify slices a big catalog into numbered files so each one stays well under Google's limits. Those limits, from Google's sitemap build guide, are 50,000 URLs and 50 MB uncompressed per file.

You never manage the chunks. If you have 12,000 products, you will simply see more numbered product files in the index, and Google reads all of them through the one index URL you submitted.

What's excluded

This is the part that catches merchants out. The sitemap only lists pages that are:

  • Published (not draft, not archived, not scheduled for a future date)
  • Available on the Online Store sales channel (a product sold only through POS or a marketplace is skipped)
  • Not hidden from search engines through an SEO app or a theme edit that adds a noindex tag

The sitemap also leaves out variant URLs, search result pages, cart and checkout, and customer account pages. Variants are canonicalized to the parent product, which is the right outcome; see the Shopify canonical tags guide for how that works and when it goes wrong.

How to Submit Your Shopify Sitemap to Google Search Console

This takes under two minutes once your store is verified. The steps below match Shopify's and Google's current instructions for the Sitemaps report.

1. Make the store public

In private mode "all of your online store's pages are hidden from visitors and search engines", per Shopify's store access documentation. In Shopify admin go to Online Store, open the access menu, select Public and click Update (or Launch store the first time). Google cannot fetch a sitemap behind the password page.

2. Verify the domain in Search Console

Open search.google.com/search-console and add your store as a URL prefix property with https://. Choose the HTML tag method, copy the meta tag, and in Shopify admin go to Online Store > Themes > Edit code > theme.liquid. Paste it on a blank line directly below the opening <head> tag, save, then click Verify.

3. Open Indexing, then Sitemaps

In the left sidebar of Search Console click Indexing, then Sitemaps. You will see an "Add a new sitemap" field with your domain prefilled, and a history of anything submitted before.

4. Enter sitemap.xml and submit

Type sitemap.xml so the full URL reads https://yourstore.com/sitemap.xml, then click Submit. Submit only the index. Google follows it to every product, collection, page and blog sub-file, including the per-language ones.

5. Confirm the status reads Success

Google normally fetches the file right away and shows Success with a count of discovered URLs. If the status is "Couldn't fetch" or "Has errors", click the row for details and jump to the troubleshooting section below.

6. Repeat for each international domain

If you use international domains (for example yourstore.de), Shopify generates a sitemap for each one. Verify each domain as its own property and submit its sitemap.xml. Subfolder markets such as /es/ are already inside the main index, so they need nothing extra.

Prefer to watch the Search Console side of this? Google's own walkthrough shows the Sitemaps report, how to read the discovered-URL count, and what the statuses mean.

What Happens After You Submit

Submitting the sitemap does not force Google to index every page. Per the Sitemaps report documentation, a successful fetch means every URL in the file is queued for crawling, and Google warns that crawling "can take time" and that not all URLs may be crawled. Discovery is now solved; the rest depends on the pages themselves.

Crawl budget and why it matters for large catalogs

Crawl budget is Google's term for the set of URLs it can and wants to crawl on your site. Google's crawl budget guide says most sites never need to think about it: the rough thresholds are 1 million+ pages that change weekly, or 10,000+ pages that change daily. A 300-product store is nowhere near that.

The same guide lists what wastes the budget you do have: duplicate URLs, soft 404s and slow or erroring servers. For a dropshipping store that pastes supplier descriptions, duplication is the real problem, and the fix is making each product page distinct, not touching the sitemap.

The difference between indexed and ranking

Indexed means Google has crawled and stored your page. Ranking means Google shows it for relevant queries. These are separate outcomes. A page can be indexed and sit at position 94 where nobody sees it.

What decides ranking after indexing is on-page relevance: meta title, meta description, heading structure, image alt text and the content itself. The sitemap is the prerequisite, not the result. If your indexed pages are not ranking, the next layer to fix is their on-page SEO. Start with the complete Shopify SEO guide for the full picture.

Optimizing Beyond the Sitemap

Once the sitemap is submitted and pages are indexing, the real SEO work begins. The sitemap tells Google what pages exist. Your meta tags tell Google what those pages are about and decide whether searchers click.

Meta titles and descriptions

Every product, collection and page in your sitemap needs a unique meta title and description written for both Google and the humans scanning results. Shopify's defaults pull the product title and the first lines of the description, which are rarely written for clicks. Our guides on Shopify meta title best practices and the meta description character limit cover the lengths and patterns that work; the free meta tag checker shows how any page's title and description will look in Google.

Say a store has 300 products and writing a good title and description takes 10 minutes each. That is 50 hours of work, which is why most catalogs still run on defaults. MetaGenius AI does this in bulk: AI-written meta titles and descriptions for every product, collection, blog and page, with a Google preview before you publish and a live check that confirms the tags are on the storefront.

Image alt text

Your product sitemap lists the primary image of every product, so Google will crawl those images. Without alt text they carry no words Google can match to a query. Alt text is the most overlooked fix on Shopify stores: it helps image search rankings, meets accessibility requirements, and adds a relevance signal to the product page. The free alt text checker shows which images on a page are missing it.

Sitemap submitted. Now make every page worth indexing.

MetaGenius AI bulk-generates SEO image alt text and meta tags for your entire Shopify catalog, with a Google preview before anything goes live. Free plan, no credit card needed.

Install MetaGenius AI Free →
Free plan · 50 AI credits/month · 15 languages

Fixing noindex pages leaking from your sitemap

One contradiction to watch for: a page listed in the sitemap but tagged noindex. Google's Page indexing report files these under "URL marked 'noindex'", meaning Google tried to index the page, hit the directive and stopped. On Shopify this is usually a leftover from an SEO app's "hide from search engines" toggle or a theme snippet. Remove the directive if you want the page indexed, or unpublish the page if you do not.

Troubleshooting Shopify Sitemap Errors

Most sitemap problems on Shopify come down to a handful of causes. Match the status Search Console shows you to the fix.

What Search Console saysUsual cause on ShopifyFix
Couldn't fetchStore still in private mode, or robots.txt blocking GooglebotSet the store to Public; check /robots.txt for custom rules
Sitemap could not be readTemporary Google-side issue, or an app rewriting the sitemap outputOpen /sitemap.xml in a browser; if it loads, wait and resubmit; if not, disable the app
Discovered, currently not indexedGoogle found the URL but has not crawled it yetImprove internal links and page quality; do not resubmit
Crawled, currently not indexedThin or duplicate content, often supplier descriptionsRewrite the page so it is distinct
URL marked 'noindex'SEO app or theme snippet hiding the pageRemove the noindex if the page should rank
Products missing from the sitemapDraft, archived, or not on the Online Store channelPublish the product and add the Online Store channel

"Couldn't fetch" error in GSC

Google could not retrieve /sitemap.xml. The documented causes are a robots.txt block, a 404 at the URL, a server error, or an unresolved manual action. On Shopify the usual culprit is the password page on a store that forgot to switch to Public after launch. The second is a custom robots.txt.liquid with a stray Disallow; the Shopify robots.txt guide shows what belongs in that file.

Pages discovered but not indexed

Google's definition of "Discovered - currently not indexed" is that "the page was found by Google, but not crawled yet", often because crawling it then would have overloaded the site. If the status is "Crawled - currently not indexed", Google looked at the page and chose not to keep it. The fix is page content, not the sitemap.

Google's March 2024 core update announcement described reducing unhelpful, unoriginal content in results and introduced a spam policy for scaled content abuse. Product pages that copy a supplier feed word for word sit squarely in that target. Making each one distinct is the way out.

"Sitemap could not be read" error

Rare on Shopify because the platform writes the XML, but it happens when an app modifies the sitemap output or when a temporary Google error coincides with the fetch. Open yourstore.com/sitemap.xml in a browser. If it loads cleanly, the issue is on Google's side; Google retries for a few days, then stops, so resubmit if the status does not change. If it does not load, disable recently installed SEO apps and contact Shopify Support.

Missing products or collections

If products are not in the sitemap, check that they are Active (not draft or archived), that the Online Store sales channel is selected on the product, and that no SEO app has hidden them from search engines. Collections with no products are skipped automatically. If an old product URL was in the sitemap and now returns 404, set up a Shopify 301 redirect so Google and shoppers land on the replacement.

Frequently asked questions

Where is my Shopify sitemap?
Your Shopify sitemap is at https://yourstore.com/sitemap.xml. Shopify generates it automatically for every domain connected to the store and updates it whenever you publish or change a product, collection, page, image or blog post. You do not need to create or install anything: submit that URL in Google Search Console.
Do I need to submit my Shopify sitemap to Google?
You do not have to, but you should. Without a submission Google discovers your pages by following links, which can take weeks for a new store with few backlinks. Submitting the sitemap in Google Search Console puts every published URL in Google's crawl queue at once, takes under two minutes and has no downside.
How often does Shopify update the sitemap?
Shopify updates the sitemap in real time. When you publish a new product, create a collection, upload an image or add a blog post, the entry appears in the relevant sub-sitemap immediately. You do not need to resubmit in Google Search Console after each change; once submitted, Google re-reads the sitemap on its own schedule.
Why are some pages missing from my Shopify sitemap?
Pages are left out of the Shopify sitemap when they are in draft or archived status, not available on the Online Store sales channel, hidden by an SEO app's noindex setting, or are collections with no products. The sitemap also leaves out variant URLs, search result pages and customer account pages by design.
How long does it take Google to index my Shopify store after sitemap submission?
Google usually fetches the sitemap within minutes of submission, but crawling the URLs inside it takes longer and Google does not promise to crawl all of them. A new store's catalog commonly takes days to a few weeks to appear. Established stores with regular updates are crawled faster. Page quality and internal linking decide how quickly each URL moves from discovered to indexed.
Can I customize or edit my Shopify sitemap?
No. Shopify generates the sitemap and the index file itself carries a comment saying it cannot be edited manually. You control its contents indirectly: publish or unpublish pages, hide a product from the Online Store channel, or set noindex on a page through an SEO app or a theme edit. That applies to every plan, including Shopify Plus.
Does submitting a sitemap improve my Shopify SEO rankings?
Sitemap submission speeds up discovery and indexing but does not change rankings on its own. Rankings depend on page quality signals: meta titles, meta descriptions, image alt text, content relevance and the links a page earns. Treat the sitemap as the way to get pages in front of Google, and on-page SEO as the way to make them rank.
Should I submit individual sub-sitemaps or just sitemap.xml?
Submit sitemap.xml only. It is a sitemap index that lists every sub-sitemap (products, collections, pages, blogs, and one set per language or market domain), so Google discovers all of them through the single submission. Submitting sub-files separately is harmless but gives you nothing extra beyond per-file counts in the report.
What does the 50 in Shopify sitemap limits refer to?
The 50 comes from Google's sitemap protocol, not Shopify: one sitemap file may hold at most 50,000 URLs and 50 MB uncompressed. Shopify stays under that by splitting large product catalogs into numbered files such as sitemap_products_1.xml and sitemap_products_2.xml, each with an ID range in the URL. You never manage these files yourself.

Sitemap submitted. Now make every page earn its index.

MetaGenius AI bulk-generates image alt text and meta tags across your entire Shopify catalog: the on-page signals that decide whether indexed pages actually rank. Start on the Free plan and see results on your own products.

Install Free on the Shopify App Store →
  • Free plan
  • 50 AI credits/month
  • 15 languages
  • No credit card