Finding and submitting a Shopify sitemap is an important part of making sure that your site is being indexed and ranked properly by search engines. Not only does a proper sitemap make it easier for search engines to crawl and index your content, but it can also help you spot problems with your website architecture that might be preventing your pages from being found and ranked. In this article, we'll show you how to quickly create a Shopify sitemap and have it verified by Google and Bing.
All Shopify merchants can access the sitemap files by adding /sitemap.xml at the end of your domain. For example, my store's domain is https://boost-pfs-demo.myshopify.com, I'll find my sitemap at https://boost-pfs-demo.myshopify.com/sitemap.xml.
This URL will lead you to what's called the Parent sitemap, linking to additional sitemaps for products, collections, and pages.
Shopify automatically generates the sitemap and keeps it up to date in real-time. You won't have to and won't be able to edit it manually.
One thing to note is that password-protected stores can't view sitemap files using this method. Neither Google nor other sitemap readers can access it if your website is password protected. Therefore, remember to disable your store password, if any, before submitting the Shopify sitemap.
Stores with multiple domains for international selling will have dedicated sitemaps for each domain. However, if you don't use these domains for international targeting, you can set up redirects to the primary domain. This way you will have a universal sitemap and only need to submit one.
People in different regions tend to use different search engines to look for products online. However, the F4 of online search which includes Google, Bing, Yahoo, and Yandex has remained pretty much the same over the years. Hence, we’ll guide you through how to get these 4 search engines to verify the sitemap for your Shopify store.
To get Google to validate your sitemap, you need to log in to Google Search Console. If you don’t have an account on Search Console, you will need to add domain properties and verify your site with Google.
Verify your site with Google
There are 2 property types to choose from here.
If you have subdomains, choose the former. Otherwise, use the URL Prefix property as this is much simpler. Connecting your Google Analytics or Google Tag Manager account is the easiest way to register URL Prefix. However, if you are completely new to all Google Webmaster Tools, you can try the meta tag option.
After copying the HTML tag:
In case your Shopify store has subdomains and you need to do DNS verification, follow the instructions here.
The verification process normally takes several minutes to complete. If there are any errors, you should wait for 15 minutes before submitting another verification.
Submit Shopify sitemap
After your site is verified, uploading your sitemap is a piece of cake.
Because Yahoo uses Microsoft's Bing search engine to power results, you just need to submit the sitemap on Bing Webmaster Tools to make both search engines recognize your online store.
Like Google Search Console, the first step is to verify your site with Bing. However, it's far easier once you have verified your site with Google. You can choose to import your sites from Google Search Console.
After connecting Search Console data with Bing Webmaster Tools:
Registering your site on Yandex Webmaster is similar to verifying your site with Google. There are 3 options: HTML file, Meta tag, and DNS record.
You can follow the steps for Google Search Console verification to get your site registered on Yandex. Remember to double-check the meta tag for Yandex as it can be easily confused with the meta tag for Google Search Console. The Yandex meta tag for verification looks like this <meta name="yandex-verification" content="635bec0dd4e40ced" />.
When you finish adding the tag under the <head> section on theme.liquid, click Check to start the verification process.
After your Shopify site is successfully added to Yandex Webmaster, locate Indexing > Sitemap files on the left side menu. Insert the XML Sitemap URL and click Add. That's it!
No. As mentioned above, your Shopify sitemap is automatically generated and doesn’t allow manual editing. However, there is a workaround for you to exclude certain pages from being indexed. Go to <head> section in theme.liquid and do the following:
{% if template contains ‘search’ %}<meta name="robots" content="noindex">{% endif %}
{% if handle contains ‘page-handle-you-want-to-exclude’ %}
<meta name="robots" content="noindex">
{% endif %}
Note: replace ‘page-handle-you-want-to-exclude’ with your actual page handle.
No. Shopify sitemaps are automatically updated in real-time so you don't have to re-submit them.
Yes. Shopify stores with international domains are required to submit the sitemap file for each domain.
No. Stores with multiple languages won’t have to as these languages are added automatically to the sitemap files for each of your domains.
Check if your store has a password active. If yes, disable the password and verify the sitemap again. To learn more or to troubleshoot, visit Google Search Console Help.
-----
Boost Commerce is a technology company that is helping more than 11,000 Online Stores Across 80+ Countries grow sales with Shopify Advanced Filter and Search app.
You can try our filter and search app for Free here.