Shopify Sitemap: Where It Is and How to Use It
Shopify automatically generates and maintains your sitemap - you do not need to install a plugin or configure anything. Your sitemap is always at yourstore.com/sitemap.xml. It updates automatically whenever you add or remove products, pages, blog posts, or collections.
What Your Shopify Sitemap Includes
The Shopify sitemap.xml is a sitemap index that links to several child sitemaps: sitemap_products_1.xml (all product pages), sitemap_pages_1.xml (standalone pages like About and Contact), sitemap_collections_1.xml (collection/category pages), and sitemap_blogs_1.xml (blog posts if you have a blog). Each child sitemap can hold up to 5,000 URLs. If you have more, Shopify creates sitemap_products_2.xml and so on.
What Shopify Does NOT Include in the Sitemap
Pages that are password-protected are excluded. Variants of products are not included - only the main product URL is in the sitemap. Policy pages (refund policy, shipping policy, privacy policy, terms of service) generated by Shopify are excluded because they are canonical to Shopify itself. Search results pages, cart pages, and account pages are also excluded - this is correct behavior since these should not be indexed.
How to Submit Your Shopify Sitemap to Google
Go to Google Search Console and select your Shopify store property. Click Sitemaps in the left menu. Enter sitemap.xml and click Submit. You do not need to submit each child sitemap separately - submitting the index file is enough. Google will discover and process all the child sitemaps automatically.
Common Shopify Sitemap Problems
Password-protected store blocks Google
If your store is password-protected (common during development), your entire sitemap returns a 401 or redirects to the password page. Google cannot index any pages. Make sure to disable the password protection before going live. Go to Online Store, then Preferences, and remove the password.
Duplicate product URLs
Shopify products can be accessed via two URL patterns: /products/product-name and /collections/collection-name/products/product-name. Both return the same content. Shopify handles this with canonical tags pointing to /products/product-name, but the collection-path URLs still exist. Only the canonical URL appears in the sitemap, which is correct - but verify this is working by checking the canonical tags in your product page source.
Out-of-stock products still indexed
By default, even out-of-stock products remain in your sitemap and are indexed. Whether you want them indexed depends on your strategy. If the product will return to stock, keep it indexed with updated schema markup showing availability. If it is permanently removed, either delete the product or create a redirect to a similar product before deletion - never just delete without redirecting.
Missing collection pages
All active collections appear in the sitemap by default. If you notice collections missing, check that they are set to Active (not Hidden) and that they have at least one product. Empty or hidden collections do not appear in the sitemap.
Can You Customize the Shopify Sitemap?
Shopify does not provide a built-in way to exclude specific pages or products from the sitemap. However, you can exclude pages from indexing using the noindex meta tag - Shopify will still include them in the sitemap, but Google will not index them (though this creates a contradiction you should fix eventually). For advanced sitemap customization, third-party Shopify apps like SEO Manager or Sitemap Noindex give you more control.
Related Guides
- WordPress Sitemap: Setup, Fix, and Submit Guide
- Wix Sitemap: How It Works and How to Submit It
- Squarespace Sitemap: How It Works and Common Fixes
- Webflow Sitemap: How It Works and How to Submit It
- Next.js Sitemap: App Router and Pages Router
- 5 Shopify Sitemap Issues That Block Google Indexing
- BigCommerce Sitemap: Location, Submission, and SEO Best Practices
- Technical SEO for Ecommerce: The Complete Guide
- Canonical Product Tags: Ecommerce Canonicalization Guide