Finding and submitting your sitemap

All Shopify stores automatically generate a sitemap.xml file that contains links to all your products, product images, pages, collections, and blog posts. This is used by search engines like Google and Bing to index your site so that your store's pages appear in search results. Submitting your sitemap to Google Search Console helps Google find and index valuable pages on your site.

The process of crawling and indexing your site can take time, and Google doesn't guarantee how long it'll take. Learn more about what to expect when your site is indexed from the Google Search Console Help.

Find your sitemap

The sitemap file is located at the root directory of your Shopify store's primary domain name. For example: johns-apparel.com/sitemap.xml.

This sitemap file is automatically generated and links to separate sitemaps for your products, collections, blogs, and webpages. It's automatically updated when you add a new webpage, product, collection, image, or blog post to your Shopify online store.

Verify your site with Google

Third-party services like Pinterest and Google Webmaster require you to verify your domain. This makes sure that you are the correct owner of your Shopify store before they provide their services to you.

To verify your domain, you need to disable password protection for your online store. If you aren't ready to launch your store, you can disable password protection and then enable it again after verifying your domain.

To verify your domain:

  1. On the third-party site, choose to verify your site using a meta tag verification method. For example, for Google Webmasters, you'd click the HTML tag option button on the Alternate methods tab.

  2. Highlight the full meta tag on the third-party site and copy it to your clipboard with cmd + c on a Mac or ctrl + c on a PC. Make sure you select everything, including the < and >. For example:

    <meta name="google-site-verification" content="IV7BPLESttSpBdxSWN1s4zlr4HIcuHkGQYmE3wLG59w" />
  1. In the Layout section, click theme.liquid to open the file in the online code editor.

  2. Paste the meta tag that you copied on a blank line directly below the opening <head> tag:

    The meta tag pasted below the opening HTML head tag

  3. Click Save.

  4. Complete the verification steps on the third-party site (such as Pinterest or Google Webmasters).

Submit your sitemap to Google Search Console

You can submit your sitemap to Google Search Console to help Google find and index valuable pages on your site.

Steps:

  1. After your site is verified, go to Google Search Console.

  2. Click Sitemaps.

  3. In the Add a new sitemap section, enter sitemap.xml and then click SUBMIT.

After you submit your sitemap, Google uses it to crawl and index your site. The process can take time and Google doesn't guarantee how long it takes for your site to be crawled. To learn more or to troubleshoot, visit Google Search Console Help.

Ready to start selling with Shopify?

Try it free