/Glossary/Sitemap

Sitemap

A sitemap is a file that lists all the important pages on your website so search engines can find and crawl them. On Shopify, your store automatically generates an XML sitemap at yourstore.com/sitemap.xml. This file tells Google about every product page, collection page, blog post, and static page on your store, along with when each was last updated.

A sitemap is essentially a map of your website that you hand directly to search engines.

Why It Matters

Without a sitemap, search engines rely on crawling links to discover your pages. If a page is not linked from anywhere obvious, Google might never find it. New products, recently added collections, and blog posts can take weeks to appear in search results without a sitemap guiding Google to them.

For stores with hundreds or thousands of products, a sitemap ensures that every single page is discoverable. Google does not guarantee it will crawl every URL in your sitemap, but it guarantees it cannot crawl URLs it does not know about.

A sitemap does not improve your rankings directly. It ensures your pages get indexed in the first place, which is a prerequisite for ranking at all.

How Sitemaps Work on Shopify

Shopify generates your sitemap automatically. You do not need to create or maintain it manually. The sitemap updates whenever you add, edit, or remove products, collections, pages, or blog posts.

Your sitemap structure:

Shopify creates a sitemap index file at /sitemap.xml that links to several child sitemaps:

Child SitemapContents
sitemap_products_1.xmlAll published products
sitemap_collections_1.xmlAll published collections
sitemap_pages_1.xmlAll static pages
sitemap_blogs_1.xmlAll blog posts

Each entry in the sitemap includes the page URL, the last modification date, and optionally image URLs. Google uses this information to decide which pages to crawl or re-crawl.

Diagram showing how a sitemap connects your store pages to Google

How to Submit Your Sitemap to Google

Step 1: Open Google Search Console. Go to search.google.com/search-console and sign in with your Google account. Add your Shopify store domain if you have not already.

Step 2: Navigate to Sitemaps. In the left sidebar, click “Sitemaps” under the “Indexing” section.

Step 3: Enter your sitemap URL. Type sitemap.xml in the field and click Submit. Google will fetch your sitemap and begin processing the URLs.

Step 4: Monitor the results. Search Console shows how many URLs were discovered and how many are indexed. Check back after a week to see progress.

You only need to submit your sitemap once. Google re-fetches it automatically on a regular schedule after that.

Common Sitemap Issues on Shopify

Pages not in the sitemap. Shopify only includes published, visible pages in the sitemap. If a product is in draft status or a page is password-protected, it will not appear. This is correct behavior, not a bug.

Too many URLs for Google to process. Very large stores with 100,000+ products might see incomplete indexing. Google crawls based on its own priorities and budget. Improving your site’s page speed and internal linking helps Google crawl more efficiently.

Duplicate content in sitemap. Shopify can list the same product under multiple collection URLs. The platform handles this with canonical tags, telling Google which URL is the primary one. Make sure your theme does not break these canonical tags with custom code.

You cannot edit Shopify’s auto-generated sitemap directly. If you need to exclude specific pages from the sitemap, the simplest approach is to add a noindex meta tag via your theme code or an SEO app.

Sitemap vs. Robots.txt

A sitemap tells search engines which pages you want them to find. A robots.txt file tells search engines which pages you want them to ignore. They work together. Shopify generates both automatically. Your robots.txt file at yourstore.com/robots.txt already points to your sitemap location, so Google knows exactly where to look.