You open Google Search Console after updating your Shopify theme and see a sitemap marked “Couldn’t fetch.” Or a new collection is live in your store but still missing from search. Before you change your theme again, check what Google actually reports: shopify sitemap errors can point to a failed fetch, an incorrect URL, or a separate indexing problem.
How to Find and Fix Shopify Sitemap Errors walks you through checking your sitemap URL, reading the response, and matching the Search Console message to the right fix. You learn how to submit a Shopify sitemap to Google Search Console and separate a temporary fetch failure from a persistent access problem. You also check whether missing products belong in the sitemap before trying to force an update.
A sitemap is a file that lists URLs you want search engines to discover. Shopify generates yours automatically at your primary domain followed by /sitemap.xml. That makes the first check straightforward, but a working file does not guarantee Google indexes every page it lists.
The tradeoff is knowing when to act and when to wait. A Shopify sitemap 404 error needs a different response from a valid sitemap whose pages remain unindexed. Do not repeatedly resubmit the file or install an app before checking the URL, storefront access, and the report’s last-read date.
Table of Contents
- Step 1: Open your Shopify sitemap URL and confirm it loads
- Step 2: Identify the exact sitemap error before changing anything
- Step 3: Fix a Shopify sitemap URL, access, or 404 problem
- Step 4: Submit the Shopify sitemap to Google Search Console
- Step 5: Investigate Shopify sitemap issues in Google Search Console
- Step 6: Resolve a Shopify sitemap that is not updating
- Step 7: Recheck the fix and monitor sitemap health
Step 1: Open your Shopify sitemap URL and confirm it loads
Start checking shopify sitemap errors in your browser, before changing settings or resubmitting anything to Google. Your first job is to establish whether the sitemap opens, what it contains, and which address fails if it does not.

Visit your store’s /sitemap.xml address
Your Shopify sitemap URL is your storefront domain followed by /sitemap.xml. For example, if your main storefront is https://example.com, open https://example.com/sitemap.xml directly in the browser’s address bar, not in a search engine.
Use the domain customers normally visit, including www if your primary domain uses it. If the browser redirects you, copy the final address so you know which domain actually serves the file.
According to Shopify’s guide to finding your sitemap, Shopify automatically generates this file at the root of your store’s domain. You do not need to upload a replacement XML file or edit your theme to create it.
- Correct path: Use /sitemap.xml, not /sitemap, /pages/sitemap.xml, or an address copied from another store.
- Public access: Test in a private browsing window. A password-protected storefront can block sitemap readers even when you can access the store while signed in.
- Final destination: Record any redirect to another domain, a password page, or a regular storefront page.
Check for a sitemap index and child sitemaps
A sitemap index is an XML file that lists other sitemap files rather than every individual page. Shopify’s main sitemap normally points to separate files for products, collections, pages, and blogs.
You may see plain XML text and a browser notice saying the file has no style information. That notice alone is not an error: a sitemap is meant for crawlers, not designed like your storefront.
Look for a sitemapindex element and addresses inside loc elements. Open one of those exact addresses to check a child sitemap, which lists the page URLs for that group of content; your browser may show a urlset element there.
The guide to Shopify sitemap structure explains how these files fit together. For this check, confirm that the index and at least one listed child file display XML rather than a storefront error page.
Distinguish a loading delay from a Shopify sitemap 404 error
A slow tab is not proof that your Shopify sitemap is not working. Wait for the request to finish, then retry once in a fresh private window rather than repeatedly refreshing or changing the URL.
A 404 status means the requested resource is not found. If you need the exact HTTP response, open your browser’s developer tools, select Network, reload the address, and inspect the sitemap request’s status.
Practical rule: Record the requested URL, final URL, response status, visible message, and time of the test. Separate a confirmed Shopify sitemap 404 error from a timeout, password screen, or XML parsing message; each needs a different next step.
A successful browser check confirms basic access from your connection. It does not yet prove that Google can fetch the file or that its listed pages are indexed.
Step 2: Identify the exact sitemap error before changing anything
You open Search Console and see “Couldn't fetch,” but your sitemap loads in another tab. Before treating all Shopify sitemap errors as the same problem, separate what your browser shows now from what Google reports about its last attempt.
The aim is to choose a targeted fix, not to edit your theme or replace a working sitemap because one report looks wrong. Keep the original error wording alongside your test results so you can compare evidence rather than guess.
Separate access errors from parsing and fetch errors
An access error means the sitemap request cannot reach the expected file successfully. A parsing error means the returned content cannot be read as valid sitemap XML; the address may respond without providing a usable sitemap.
Google’s “Couldn't fetch” status does not, by itself, identify the cause. Open the sitemap’s details in Search Console and read the available error information before deciding that your Shopify sitemap is not working.
- Access problem: A “Shopify sitemap not found” report paired with a confirmed 404 points toward the requested address or its availability, rather than malformed XML.
- Parsing problem: An error naming an XML tag, line, or format points toward the returned document. Check whether the report concerns the main sitemap index or one of its linked sitemaps.
- Fetch problem: If Google cannot retrieve the file but your browser can, investigate timing and access differences. Do not assume the file needs rewriting.
- Indexing problem: A successfully processed sitemap with pages missing from search is a separate investigation. Submission does not guarantee indexing.
Use the guide to Google Search Console sitemap reports to locate the relevant report. Google’s Sitemaps report documentation explains the distinction between fetch failures and errors encountered while reading a sitemap.
Check whether the reported URL redirects or returns an unexpected response
Compare the address in the report with the destination your earlier browser test reaches. A redirect sends a request to another address; it is not automatically a fault, but it can reveal an outdated domain or submitted path.
Check the response body as well as the status. A “200 OK” response containing a storefront page, password screen, or challenge is not a valid sitemap response just because the request succeeds.
- Wrong destination: Note whether the request lands on the homepage, another domain, or a non-sitemap page.
- Wrong content: Distinguish XML from HTML error content before labelling the issue a Shopify sitemap.xml error.
Note when the error began and what changed in the store
Compare Google’s last-read date with recent domain, password-protection, or storefront-access changes. A theme update on the same day is useful context, but timing alone does not prove it caused the failure.
If your concern is a Shopify sitemap not updating, identify the specific missing URL and relevant child sitemap. That differs from Google being unable to retrieve the sitemap at all.
Practical rule: Match each proposed change to an observed failure. Preserve working settings, change one relevant factor at a time, and allow for a later fetch before judging the result.
Step 3: Fix a Shopify sitemap URL, access, or 404 problem
When shopify sitemap errors point to a missing file or blocked request, start with the domain and access settings. A Shopify sitemap 404 error does not automatically mean the sitemap needs rebuilding. Fix the address or restriction first, without changing unrelated SEO settings.

Submit the canonical HTTPS sitemap URL for the correct domain
Your canonical domain is the preferred domain your store uses consistently. In Shopify, check Settings > Domains to confirm your primary domain, then use its HTTPS address followed by /sitemap.xml. For example, a store using https://example.com submits https://example.com/sitemap.xml.
Keep the submission aligned with the domain you actually use. A www address, a non-www address, and a myshopify.com address are not interchangeable troubleshooting shortcuts, even when some redirect to the same storefront.
- Check the path: Use /sitemap.xml at the domain root, not /collections/sitemap.xml or a filename copied from another platform.
- Check the variant: Test HTTP, HTTPS, www, and non-www versions to confirm that alternate addresses resolve toward your intended HTTPS domain without loops.
- Check the property: In Google Search Console, use a property covering the submitted URL. A URL-prefix property must match the relevant protocol and hostname.
- Submit the index: Add the root Shopify sitemap URL in the Sitemaps report. You do not need to submit every child sitemap separately for a normal setup.
Check domain redirects, password protection, and storefront availability
Open the canonical sitemap address in a private browsing window while signed out of Shopify. This helps reveal restrictions that your administrator session may hide, although it does not prove Googlebot has access.
If you recently connect a domain, check its connection and SSL status in Shopify before changing sitemap settings. If the homepage is also unavailable on that domain, resolve the storefront or domain problem first.
- Password protection: Check whether your storefront still requires a visitor password. Shopify’s guide to finding and submitting your sitemap explains that sitemap readers cannot access it while the store is password-protected.
- Redirects: Correct domain settings that send requests through loops or to an unrelated destination. Do not add a redirect from /sitemap.xml to your homepage to hide a 404.
- Launch timing: Remove storefront password protection only when you are ready for public access. Keeping an unfinished store private is a valid tradeoff, but submission will not bypass that restriction.
Avoid editing Shopify’s generated sitemap unless you have verified a specific cause
Shopify generates and maintains its sitemap automatically. Editing theme code is not the normal fix for Shopify sitemap not found errors, and uploading a replacement XML file is not the standard repair.
If the correct root URL still returns a 404 on an available, public storefront, contact Shopify Support. Provide the exact URL, response status, time checked, domain connection status, and recent domain changes so the issue can be investigated without speculative edits.
Practical rule: Repair the confirmed URL or access problem, then retry the submission and monitor a later fetch. Repeated submissions do not remove a password restriction or repair a broken domain.
Step 4: Submit the Shopify sitemap to Google Search Console
You open the Sitemaps report, but the selected property still shows your old store address. Before treating a failed submission as another of your Shopify sitemap errors, check that Search Console points to the domain your shoppers actually reach.
This step covers how to submit a Shopify sitemap to Google Search Console and verify the result. Submission helps Google discover your URLs; it does not repair inaccessible pages or guarantee indexing.
Select the matching domain or URL-prefix property
Open your storefront and copy the final address after any redirects. Then use the property selector in Search Console to choose the verified property that covers that address.
A Domain property covers all protocols and subdomains of a domain. A URL-prefix property covers only URLs beginning with its specified address, so HTTPS and the presence or absence of www matter.
- Domain match: For a live store at https://example.com, a verified Domain property for example.com covers the store.
- Prefix match: If you use a URL-prefix property, select https://example.com/ rather than http://example.com/ or https://www.example.com/ when those are not your live address.
- Store address: Use your customer-facing primary domain, not an old domain or a bookmarked myshopify.com address that redirects elsewhere.
If the correct property is missing, add it and complete verification first. Submitting under an unrelated property creates a reporting mismatch rather than a useful check of your live store.
Enter the sitemap URL and submit it once
Open Sitemaps in the selected property. Your Shopify sitemap URL normally uses your live domain followed by /sitemap.xml, such as https://example.com/sitemap.xml.
Under “Add a new sitemap,” check whether Search Console already displays your property’s address. Enter sitemap.xml if that prefix is supplied; otherwise, enter the full sitemap URL, then select Submit.
- Check the destination: Open the complete URL in another tab and confirm that it displays XML for your live store.
- Use the root index: Submit /sitemap.xml rather than adding every linked product or collection sitemap separately.
- Check existing submissions: If the same sitemap already appears, open its report instead of adding variations of the address.
Practical rule: Submit the correct address once, then review its processing result. Repeated submissions do not force faster crawling or indexing.
Review the discovered URL count and processing status
Open the submitted sitemap’s details and review its status, last-read date, and discovered page count. Google’s Sitemaps report guide explains processing statuses and fetch errors.
| Status | What to do next |
|---|---|
| Success | Review discovered URLs and linked sitemap details. |
| Has errors | Open the reported errors and identify the affected sitemap. |
| Couldn't fetch | Recheck the submitted address and Google's access to it. |
A newly submitted sitemap may not show complete counts immediately. Once processed, compare discovery totals with your public content, not just your product count: collections, pages, and blog posts can also appear.
Discovered URLs are not indexed URLs. If submission succeeds but pages remain absent from search, move to the Page indexing report and inspect individual URLs rather than resubmitting the sitemap.
Step 5: Investigate Shopify sitemap issues in Google Search Console
Your sitemap processes successfully, but a new collection still does not appear in search. These apparent Shopify sitemap errors often need a page-level investigation: Google can discover a URL without choosing to index it.

Start with a few missing URLs rather than changing your entire catalog. The goal is to separate discovery problems from access, canonicalization, and content issues.
Compare the submitted sitemap with the indexed and discovered URL reports
Open the Page indexing report and select the relevant sitemap filter if available. Compare the reported exclusions with URLs actually present in the submitted sitemap, then use URL Inspection on representative products, collections, and articles.
For each sample, record whether Google knows the URL, its last crawl date, and its indexing reason. Report totals can update at different times, so a count mismatch alone does not prove your sitemap is broken.
- Unknown URL: Confirm that the exact address appears in a child sitemap and has internal links from accessible store pages.
- Discovered, currently not indexed: Google knows the address but has not crawled it yet. Check internal links and look for patterns across the affected pages.
- Crawled, currently not indexed: Review the page’s content, duplication, and usefulness rather than repeatedly submitting the sitemap.
- Fetch or redirect error: Inspect the affected URL and test its current response. Shopify sitemap crawl errors can reflect a page problem even when the sitemap itself loads.
Check whether listed pages are canonical, indexable, and useful
A canonical URL is the preferred address for a page when similar versions exist. In URL Inspection, compare the user-declared canonical with Google’s selected canonical; a different selection can explain why the submitted address is absent from the index.
Use these Shopify canonical tag checks when duplicate paths or theme changes make the preferred address unclear. Do not force every variation into the index if another URL already represents the same content.
- Access: Check that the page returns a successful response and does not require a password. Use the live inspection test to check current accessibility, not to confirm indexing.
- Eligibility: Look for a noindex directive, robots.txt restrictions, redirects, or a missing-page response. Remove restrictions only when the page should appear in search.
- Value: Check whether the page offers distinct product details, helpful collection copy, or useful navigation. Nearly identical pages may not all merit indexing.
Treat sitemap submission and indexing as separate processes
“Shopify sitemap submitted but not indexed” describes an outcome, not a diagnosis. Google’s Page indexing report documentation explains exclusion reasons and indexing limits; submission does not guarantee inclusion.
For Shopify sitemap excluded pages, fix the specific issue first. Request indexing for a small number of important corrected URLs, then monitor their inspection results rather than deleting and resubmitting a healthy sitemap.
Practical rule: If Google can read the sitemap and discover the URL, investigate the page next. Keep intentional exclusions, correct genuine errors, and allow time for recrawling before judging the result.
Step 6: Resolve a Shopify sitemap that is not updating
You update a product, save it, and still see an older date in your sitemap. Before treating this as another case of Shopify sitemap errors, separate three things: the saved storefront change, the live sitemap response, and Google’s last recorded crawl.
A Shopify sitemap not updating can mean a missing URL, an unchanged timestamp, or simply an older Search Console report. Identify which one you see before making more changes.
Make a small product, collection, or page change and recheck the sitemap
Choose one published page and make a useful, minor edit, such as correcting a product detail or clarifying collection copy. Save it, then open the storefront page to confirm that the change appears publicly. Avoid changing its handle just to trigger an update; that introduces a redirect and complicates your test.
Open your root Shopify sitemap URL, usually https://your-domain.com/sitemap.xml. This is a sitemap index: a file that points to separate sitemap files for products, collections, pages, and blogs. Follow the relevant child sitemap and search for the page’s full URL.
- Check the response: Confirm that both the index and the relevant child sitemap display XML, not a password screen, error page, or redirect loop.
- Reload the file: Refresh it or check in a private browser window to reduce confusion from a stale browser view. A private window does not bypass a store password.
- Record the result: Note the URL, edit time, child sitemap address, and any displayed last-modified value. An unchanged timestamp alone does not prove that your edit failed.
Confirm the changed URL is eligible to appear in the sitemap
Check the resource in Shopify admin rather than assuming every working storefront address belongs in the sitemap. A product saved as a draft or not published to the Online Store is different from a publicly available product.
Look for the main page address, not a filtered collection URL, tracking link, or product variant parameter. A canonical URL is the preferred address for a page; alternate addresses do not each need their own sitemap entry.
- Publication: Confirm that the product is active and available on the Online Store, or that the collection or page is visible.
- Search visibility: Check whether an intentional SEO visibility setting excludes the resource. Do not remove a deliberate exclusion merely to populate the sitemap.
- Address: If you changed the handle, search for the new address. The old redirected URL is not the entry you need to restore.
Allow time for recrawling before resubmitting or escalating
Recheck the live sitemap later before comparing it with Search Console. Google’s last-read date describes Google’s activity, not Shopify’s latest content save. Google explains that recrawling can take days to weeks; that is not a promised Shopify sitemap refresh time.
Practical rule: If the correct URL appears in a readable live sitemap, stop editing to force another refresh. Keep the existing submission and monitor Google’s next read.
If an eligible URL remains missing across repeated checks, collect your timestamps, sitemap addresses, and response details for Shopify Support. Escalate persistent access failures rather than repeatedly deleting and resubmitting the sitemap.
Step 7: Recheck the fix and monitor sitemap health
You open Search Console after making a correction, but the old warning still appears. To confirm that your Shopify sitemap errors are resolved, separate what the store serves now from what Google reports about its last attempt.
Use the same verification routine after each change. A readable sitemap confirms access, but it does not prove that every listed page is indexed.
Test the sitemap URL and affected page URLs again
Open the exact Shopify sitemap URL associated with the error, not just your storefront homepage. If the problem involves a linked product or collection sitemap, test that child sitemap separately.
Check affected page URLs too. A working sitemap can still list a page that redirects, returns an error, or points Google toward a different canonical URL.
- Sitemap response: Confirm that the requested address returns readable XML rather than a password screen, error page, or unexpected redirect. Check the HTTP status in your browser’s developer tools; a normal successful response is 200.
- Affected pages: Open representative URLs from the sitemap and confirm that each loads the intended public page. Check both a previously failing URL and an unaffected URL for comparison.
- Google access: Review the Sitemaps report for the submitted address, status, and last-read date. Use the live URL test in URL Inspection on an affected page to check its current accessibility to Google.
Google’s Sitemaps report guidance explains fetch statuses and troubleshooting checks. A successful sitemap read and successful page indexing are separate results, so do not treat “Success” as confirmation that every product appears in search.
Record the error, fix, and date for future comparisons
Keep a short change log so you can tell a recurring failure from an older report. Record one correction per entry rather than grouping several unrelated theme, domain, and publishing changes together.
| Record | What to save |
|---|---|
| Error | Exact message and affected sitemap URL |
| Correction | Setting or URL changed, with date and time zone |
| Verification | HTTP response, XML result, and tested page URLs |
| Google follow-up | Reported status and last-read date |
Check again after the correction, then review Search Console over the next several days for a new read or renewed errors. Once the results stay stable, include sitemap checks in your regular SEO review and after domain or storefront-access changes.
Practical rule: Compare observations made at different times before changing anything else. An unchanged warning with an older last-read date is not evidence that your correction failed.
Escalate persistent fetch failures with the exact URL and response details
If repeated tests still fail, send Shopify Support a reproducible case rather than “Shopify sitemap not working.” Include the exact address, timestamps with time zones, HTTP status, redirect destination if present, and a screenshot or excerpt of the response.
If your tests succeed but Google still reports a fetch failure after a fresh attempt, include that discrepancy and the Search Console details. Avoid making unrelated changes while the issue is investigated; a stable test case makes comparisons useful.
Yassine Malti writes this checklist as a developer working on Shopify stores.
Put this into practice
Start with the store you already have, then use the guides on the blog for the next page that needs the same treatment.
Shopify apps by Yassine Malti
Put this into practice
-
ALT SEO · Image alt text
AI alt text for every product image · 100 images/month free
-
RANKit · Meta titles & descriptions
AI meta titles and descriptions, sized for Google · 50 meta tags/month free
-
TAGit · Product tags
SEO-friendly product tags, generated in bulk · 50 tags/month free