back arrow
back to all BLOG POSTS

Sitemap for Shopify: How to Find, Optimize, and Submit It

Sitemap for Shopify: How to Find, Optimize, and Submit It

You've launched a Shopify store, published hundreds of products, and submitted the sitemap. Yet Google Search Console still shows a frustrating gap between the URLs Shopify lists and the pages Google has indexed. That gap often leads teams to edit themes, install another SEO app, or resubmit the same file repeatedly, when the issue is usually discovery, crawlability, or page quality, not sitemap generation.

A sitemap for Shopify is useful infrastructure, but it isn't an indexing switch. Shopify creates the XML files automatically. Your job is to verify that the files expose the right URLs, submit the parent file correctly, audit localized versions, and investigate why important pages remain undiscovered or unindexed.

Why Your Shopify Store Needs a Healthy Sitemap

A store owner notices the problem after months of steady work. Products are live, collections are organized, and paid campaigns are sending visitors to the site, but organic traffic remains flat. In Search Console, the sitemap has been submitted, yet many important product pages still don't appear in the index.

The sitemap isn't necessarily broken. It may be listing URLs Google can discover but doesn't consider ready to index. It may also be out of alignment with canonical tags, redirects, access rules, or the store's internal links. That distinction matters because a sitemap tells Google where a URL exists, not whether Google must index or rank it. Google's sitemap documentation makes the same practical point: sitemaps support discovery, while Google makes its own crawling and indexing decisions.

An infographic illustrating how a healthy Shopify sitemap improves store visibility, indexing, and advertising efficiency.

Discovery is not the same as indexing

Large catalogs expose weaknesses that small stores can hide. A product buried behind several collection layers, a page reachable only through filtered navigation, or a recently migrated URL may not receive enough crawl attention from internal links alone. The XML sitemap gives Google a structured list of published product, collection, blog, and page URLs to inspect.

It also helps you compare intended coverage with actual coverage. If a product appears in the sitemap but has a noindex directive, redirects elsewhere, or a canonical pointing to another page, the file is exposing a conflict rather than solving one.

Practical rule: Treat the sitemap as a discovery map first, a technical quality check second, and a ranking lever never.

Shopify's automatic canonical behavior can help consolidate duplicate URL versions, but it doesn't replace a clean information architecture. Keep important products linked from relevant collections, make their canonical URLs consistent, and use the sitemap to confirm that the pages you want Google to find are present.

Finding the Default Sitemap Shopify Generates

Screenshot from https://example.com/shopify-sitemap-browser.png

A live Shopify store publishes an XML sitemap at the root of its primary domain. Open a browser and enter the domain followed by /sitemap.xml, such as https://your-store.com/sitemap.xml. Shopify's official sitemap guidance confirms that Shopify generates this file automatically and includes published products, primary product images, pages, collections, and blog posts.

The first file is usually a sitemap index, not a single list containing every storefront URL. It links to child files for products, collections, pages, and blog posts, and large catalogs may have several product files. Use the filenames shown in the index as your reference. Shopify can change the generated structure, so do not assume a child URL exists because another store uses that pattern.

Inspect the parent and child files

Load the parent file over the live HTTPS domain. Check that each <loc> value uses the same host customers visit, then open the linked child files. A sitemap can be fetched successfully while still containing URLs that redirect, resolve to another canonical page, or belong to the wrong domain.

Review representative URLs from each group:

  • Product URLs: Confirm published products use their live canonical paths.
  • Collection URLs: Check that current collections replace retired campaign destinations.
  • Page URLs: Test buying guides, landing pages, and support content.
  • Blog URLs: Verify published posts resolve without redirects or access restrictions.

If the root sitemap returns a 404, test the production domain instead of a preview or password-protected storefront. A custom-domain setup, host mismatch, or non-production environment can make a valid sitemap appear missing. Do not create a replacement XML file until the host is confirmed.

Shopify splits large catalogs into child files to stay within Google's documented limit of 50,000 URLs per sitemap file and 50 MB uncompressed. Inspecting those child files matters because submitting the index only starts discovery. Google may need additional crawl cycles to process changes, and localized stores should audit each domain or language path for correct hosts, canonicals, and live URLs.

Submitting Your Sitemap in Google Search Console

Verification comes before submission. Add the production Shopify domain to Google Search Console and verify ownership using a method that remains independent of theme edits, such as DNS verification. Make sure the property covers the host you submit, because a sitemap on one domain variant won't be treated as the same submission on another property.

For a practical walkthrough of the broader setup, use this Google Search Console guide for Shopify.

Screenshot from https://example.com/google-search-console-sitemap-submit.png

Once the property is verified, follow this sequence:

  1. Open Sitemaps: In Search Console, select Indexing, then Sitemaps.
  2. Enter the root path: Use sitemap.xml in the submission field when the selected property already represents your store domain.
  3. Submit the parent file: Google will fetch the root index and follow the child sitemap references.
  4. Review the status: A clean fetch should move toward a successful submission. A failure requires investigation of the host, access rules, or property selection.

Submit the parent sitemap only. Adding every product, collection, page, or blog child file separately creates unnecessary administrative clutter and can make diagnosis harder. The Shopify index already tells Google where those files are.

Google Search Console provides visibility into whether Google can fetch the sitemap and how submitted URLs relate to indexing reports. It doesn't force Google to index every listed page, so avoid judging success solely by the submission status.

After the initial submission, give Google time to process the structure before making repeated changes. If the store has undergone a major domain, URL, or catalog change, resubmitting the root file is reasonable. Repeatedly clicking submit won't repair a noindex directive, a redirect chain, a blocked resource, or a weak product page.

A visual walkthrough can help teams confirm they're using the correct Search Console area:

Optimizing Sitemap Quality for Better Crawling

A healthy sitemap contains URLs that are accessible, canonical, indexable, and valuable enough to deserve search visibility. Shopify controls the generated XML, so optimization usually happens by fixing the pages and settings that determine what Shopify publishes, rather than by editing the file directly.

Open the root sitemap in a browser, follow its child files, and compare the output with a crawl of the live storefront. An audit tool can expose conflicts that aren't obvious from the XML alone. For example, a listed product may return a redirect, carry a meta robots restriction, or declare a different canonical URL.

What to inspect first

Focus on mismatches between sitemap inclusion and indexability. Search result pages, cart URLs, parameter variations, and temporary landing pages generally don't belong in a search discovery feed. If Shopify lists a URL you don't want indexed, fix the page-level configuration, theme logic, app behavior, or publication status that generated the conflict.

The <lastmod> value deserves more attention than the legacy frequency fields. It should reflect a meaningful content update, not a bulk app save that touches every product and makes the entire catalog appear freshly changed. Google states that <priority> and <changefreq> are ignored, so spending time tuning those values won't improve crawling. Use Google's sitemap guidance as the basis for prioritizing accurate coverage and trustworthy modification dates.

If structured data is also part of the audit, review structured data for ecommerce alongside indexability. Schema won't make a blocked URL indexable, but errors on product pages can weaken how Google interprets pages that are otherwise crawlable.

SignalHealthy StateRed Flag
URL coverageImportant live URLs appear in the relevant child sitemapKey products or collections are absent
HTTP responseListed URLs resolve successfullyRedirects, errors, or password protection
CanonicalSitemap URL matches the page's preferred canonicalCanonical points to another product or domain
Robots directivesPage is available to crawlers and eligible for indexingnoindex or restrictive robots rules
Last modificationTimestamp changes after meaningful editsBulk updates make every URL look freshly changed
Content qualityPage offers distinct, useful informationThin, duplicated, or placeholder content

Sitemap quality is therefore a coordination task. Merchandising, development, and SEO teams should agree on which published pages deserve discovery, then keep the storefront's navigation and technical directives consistent with that decision.

Handling Multilingual and Multi-Domain Stores

Submitting sitemap.xml once doesn't prove that every language or market version is discoverable. Shopify's default workflow is straightforward for a single-domain store, but international catalogs introduce localized paths, separate domains, subdomains, and property boundaries that require their own audit.

A diagram illustrating the process of fixing sitemap issues for multilingual and multi-domain e-commerce online stores.

Start by inventorying the URL patterns your markets use. That could include language subfolders such as /fr/ and /de/, country-specific domains, or subdomains. Record the expected product, collection, and content URL for each market, then test whether those pages can be crawled without a password, blocked resource, or market-specific robots rule.

Audit localized discovery, not just translation

Inspect the HTML <head> on localized pages and verify that hreflang references use the correct absolute URLs. The references should point to accessible equivalents, not staging hosts, redirected paths, or language pages that resolve to the default market.

Then compare that URL inventory with the sitemap output. Shopify's default sitemap is largely non-customizable, so a store shouldn't assume that translated paths are represented exactly as the team expects. Shopify's ecommerce SEO audit guidance specifically highlights localized URLs and resource access as technical SEO checks.

For separate domains, create and verify a Search Console property for each production domain and submit that domain's sitemap independently. Don't rely on the property for the primary market to provide complete reporting for every other host.

Localized SEO fails quietly when the translated page exists for shoppers but not in the discovery and linking systems search engines use.

A missing localized URL doesn't automatically mean Google will classify the page as duplicate content, but it does create a discovery and interpretation gap. Support each market with consistent internal links, correct canonicals, valid hreflang relationships, and a clear sitemap strategy. Test a sample across products, collections, and editorial pages, not just the homepage.

Troubleshooting Common Shopify Sitemap Issues

When Search Console reports a sitemap problem, begin with the file itself, then move toward the URLs it contains. Don't start by installing an app or replacing Shopify's generated structure.

A practical diagnostic sequence

  1. Load the root file: Open the live domain's /sitemap.xml in a browser. Confirm that it returns the parent index rather than an error, preview page, or unexpected host.
  2. Follow each child sitemap: Open every child URL listed in the parent file. Check whether the XML loads and whether the URLs match the current storefront.
  3. Test representative pages: Choose products, collections, pages, and blog posts. Check their HTTP response, visible content, canonical tag, meta robots directive, and access status.
  4. Compare Search Console reports: Use URL Inspection and the Pages report to distinguish discovery from indexing. A submitted URL can remain unindexed for reasons unrelated to the XML file.
  5. Check theme and app output: Inspect whether a theme customization or third-party SEO app injects noindex, changes canonicals, or references a staging domain.
  6. Resubmit only after a real fix: If the structure or access problem changed, submit the root sitemap.xml again. Don't add every child sitemap as a separate entry.

A Couldn't fetch status usually points to a retrieval problem, such as a property and sitemap host mismatch, a temporary access issue, or a blocking rule. Confirm the production URL in a browser first, then check the Search Console property selected during submission.

For submitted but not indexed URLs, compare the sitemap entry with the live page. A product may be listed but still carry noindex, resolve behind a password, redirect to another product, or expose a canonical that tells Google to choose a different URL. If the page is technically eligible, review its content and internal links instead of treating another submission as the fix.

Pagination requires careful handling. If unwanted /page/ URLs appear in search, review the theme's canonical and robots behavior, and prevent those pages from becoming discovery targets where appropriate. Don't block a URL blindly if Google needs to crawl it to reach important products.

Google's indexing process can take hours to weeks, according to the technical guidance in its sitemap documentation, so allow a meaningful observation period after a correction. Search Console is a monitoring system, not an instant confirmation that every page has been accepted.

Key Takeaways and Ongoing Sitemap Strategy

A healthy Shopify sitemap needs an operating routine, not a one-time Search Console submission. The XML file gives Google discovery paths, while indexing still depends on each page's technical signals, content, and internal links.

  • Submit the root: Use the Shopify store's sitemap.xml as the single Search Console submission point.
  • Audit the children: Review the product, collection, page, and blog files referenced by the parent index. Large catalogs require audits at child-file level.
  • Validate the URLs: Check canonicals, redirects, robots directives, content quality, and market-specific access.
  • Watch coverage: Compare submitted URLs with discovery and indexing reports, rather than treating a successful submission as proof of indexing.
  • Revisit after changes: Resubmit after a domain or URL structure change, not after every routine product edit.

Shopify splits large catalogs across child files, so audit those files directly and confirm that each localized domain or language version contains the intended URLs. Check lastmod values after substantial page changes, and keep them accurate. Google's documentation favors meaningful update signals and accurate URL coverage over ignored priority settings.

Treat the sitemap as living infrastructure. Review it quarterly, monitor Search Console monthly, and repeat localized URL audits whenever you add a market or alter domain structure. After a correction, allow time for crawling and indexing before judging the result. If indexing stalls, inspect the page and its discovery paths before resubmitting the same XML file.

ECORN helps Shopify teams audit technical visibility, storefront architecture, and crawl issues across Shopify and Shopify Plus builds. Visit ECORN to discuss a sitemap audit or development project.

Related blog posts

Related blog posts
Related blog posts
What Is Omnichannel Ecommerce

What Is Omnichannel Ecommerce

Shopify
Apps
eCommerce

Get in touch with us

Get in touch with us
We are a team of very friendly people drop us your message today
Budget
Thank you! Your submission has been received!
Please make sure you filled all fields and solved captcha
Get eCom & Shopify
newsletter in your inbox
Join 1000+ merchants who get weekly curated newsletter with insights, growth hacks and industry wrap-ups. Small reads. Free. No BS.