Skip to content
SEO & AI Search

Shopify SEO: A Step-by-Step Guide to Ranking Your Store on Google

Shopify SEO step by step: titles and handles, collection pages, duplicate product URLs, structured data, robots.txt, speed, blog content and Search Console.

ParvesFounder and Creative DirectorUpdated 6 min read
Shopify SEO: A Step-by-Step Guide to Ranking Your Store on Google

Quick answer

Shopify handles a lot of SEO basics automatically, including a sitemap, canonical tags and mobile-friendly themes. To rank, you still need to write unique titles, descriptions and product copy, turn collections into proper category pages, fix collection-based duplicate product URLs in your theme, keep apps from slowing the store down, add helpful blog content and monitor everything in Google Search Console.

Shopify makes it easy to launch a store, and it handles some SEO basics without you lifting a finger. That is why many store owners assume search will take care of itself. It does not. Shopify SEO still needs unique content, a sensible structure and a few theme-level fixes that most stores never make.

This guide walks through the steps in the order we follow on new and existing stores. You can do most of it from the Shopify admin.

What does Shopify handle for you?

Out of the box, Shopify:

  • Generates an XML sitemap at /sitemap.xml
  • Adds canonical tags to products, collections, pages and posts in most themes
  • Uses https on every store
  • Serves mobile-friendly themes
  • Lets you edit titles, descriptions and URL handles for every page
  • Creates redirects automatically when you change a handle, if you leave the box ticked

What it cannot do is write for you, decide your structure, or stop apps and theme choices from slowing your store down.

Step 1: Connect Search Console and set your primary domain

  1. In Settings, then Domains, make sure your custom domain is the primary domain, so the myshopify.com address redirects to it.
  2. Verify the domain in Google Search Console, ideally as a Domain property.
  3. Submit https://yourstore.com/sitemap.xml under Sitemaps.

Step 2: Plan your collections as category pages

Collections are your category pages, and they often rank better than individual products for broad searches like "cotton kurtas for women" or "cold pressed oils".

  1. Research the searches for each category with our keyword research guide.
  2. Create a collection for each real category people search for, not for internal groupings like "Spring drop 3".
  3. Give each collection a clear title and handle, such as /collections/cotton-kurtas.
  4. Write a short introduction (80 to 150 words) at the top that helps shoppers choose, and an optional FAQ below the products.

Step 3: Write titles and descriptions for every page

Each product, collection and page has a Search engine listing section at the bottom of its edit screen. Click Edit to change it.

  • Page title: around 50 to 60 characters, with the product type and key detail first. "Handwoven Cotton Kurta, Indigo | Brand" beats "Product 1 | Brand".
  • Meta description: around 140 to 155 characters that say what makes the product or category worth clicking.
  • URL handle: short and descriptive, with no dates or stop words: /products/indigo-cotton-kurta.

For large catalogues, start with your best-selling products and main collections.

Step 4: Write product descriptions nobody else has

Many stores paste the manufacturer's description, which appears word for word on dozens of other sites. Google has no reason to rank yours.

Write a description that answers what a shopper asks before buying: what it is made of, how it fits or works, who it suits, how to care for it, what is in the box, delivery and returns. Our guide to product page best practices covers the full layout.

Step 5: Fix duplicate product URLs from collections

This is the most common technical issue on Shopify stores.

When a theme links to a product from a collection, it often uses a collection-aware URL such as /collections/kurtas/products/indigo-cotton-kurta. The same product is also at /products/indigo-cotton-kurta. Shopify adds a canonical tag pointing to the main product URL, but Google still crawls the duplicates, and on large stores that wastes crawling.

The fix is in the theme code. In the product card snippet, find links that use the within filter:

{{ product.url | within: collection }}

and change them to:

{{ product.url }}

Make the change in a duplicate of your theme first, check that product links still work, then publish. If you are not comfortable editing Liquid, ask your developer.

Step 6: Optimise images

Product images matter for both Google Images and page speed.

  • Rename files before uploading: indigo-cotton-kurta-front.jpg, not IMG_2231.jpg.
  • Add alt text in the admin by clicking each image in the product editor.
  • Upload images at a sensible size (around 2,000 pixels on the long side is plenty); Shopify serves resized versions automatically.

See our image SEO guide for alt text examples.

Step 7: Check your structured data

Most modern Shopify themes output Product structured data, which helps Google show rich results such as availability and ratings. Check it:

  1. Open a product page in Google's Rich Results Test.
  2. Confirm a valid Product item is detected, with name, image and offer.
  3. If your reviews app shows ratings, check they are included correctly.

Avoid installing several apps that each add their own product schema; duplicate or conflicting markup causes errors. Our schema markup guide explains the basics.

Step 8: Keep the store fast

Speed affects rankings a little and conversions a lot. On Shopify, the biggest slowdowns usually come from apps and heavy themes.

  • Audit your apps. Uninstall what you do not use, and check that removed apps did not leave code in the theme.
  • Choose a lightweight theme. Shopify's own free themes are a good baseline.
  • Limit homepage sliders and autoplay videos.
  • Check Core Web Vitals in Search Console and PageSpeed Insights. Our Core Web Vitals guide explains the scores.

Step 9: Be careful with robots.txt

Shopify lets you customise robots.txt with a robots.txt.liquid template, as described in Shopify's developer documentation. The default rules already block checkout, cart and many internal URLs, which suits most stores.

Edit it only for a clear reason, such as blocking a specific filter parameter that is creating thousands of crawlable URLs. Remember that a page blocked in robots.txt cannot be crawled, so Google cannot see a canonical or noindex tag on it. When in doubt, leave the default.

Step 10: Handle out-of-stock and discontinued products properly

  • Temporarily out of stock: keep the page live, show it as sold out, and offer a back-in-stock alert.
  • Permanently discontinued with a replacement: redirect to the replacement or the most relevant collection. See our 301 redirect guide.
  • Discontinued with no replacement: let it return a 404, or keep a page explaining alternatives if it still gets traffic.

Step 11: Use the blog for questions products cannot answer

Shoppers search for guidance before they search for products: "how to choose a running shoe", "is cold pressed oil better". These searches are a great fit for Shopify's blog.

  • Write one helpful article per real question.
  • Link each article to the relevant collections and products.
  • Link product pages back to useful articles, such as care or sizing guides.

Our guide on SEO content writing shows how to structure articles that rank.

Step 12: Expand internationally with care

If you sell abroad, Shopify Markets can create country or language versions of your store with the correct hreflang tags. Translate properly rather than relying only on automatic translation for key pages, and make sure each market shows the right currency and shipping information. Our multilingual website guide explains the basics.

A monthly Shopify SEO routine

Task Where
Check indexing errors and new 404s Search Console, Pages report
Review top queries and pages Search Console, Performance
Update titles on pages ranking 5 to 15 Shopify admin, Search engine listing
Add or improve one collection introduction Shopify admin, Collections
Publish one helpful blog article Shopify admin, Blog posts
Remove unused apps Shopify admin, Apps

For the broader picture on e-commerce search, read our e-commerce SEO guide, and if you are still choosing a platform, see Shopify vs WooCommerce.

If you would like a store built for search from day one, or an existing store audited and fixed, our e-commerce website development team builds and optimises Shopify and WooCommerce stores.

Work with us

E-commerce Website Development from The Coral Flow

Get a free store review. Share your store link. We send a video review of your product pages, checkout and speed, with quick wins to lift sales.

Review my store

Frequently asked questions

Is Shopify good for SEO?

Yes. It produces a sitemap, canonical tags and clean, mobile-friendly themes out of the box. Its limits are fixed URL prefixes such as /products/ and /collections/ and less control over some technical details than a self-hosted platform.

Can I change Shopify's URL structure?

You can change the handle (the last part of the URL) for every product, collection, page and post, but not the fixed prefixes. That is fine for SEO; focus on short, descriptive handles.

Do I need an SEO app on Shopify?

Not necessarily. Most of the important work, titles, descriptions, alt text and content, can be done in the admin. Add apps only for specific needs, and remove ones you no longer use because they can slow the store.

How do I submit my Shopify sitemap to Google?

Your sitemap is at yourstore.com/sitemap.xml. Verify your domain in Google Search Console, open Sitemaps, and submit that address.

Should I use Shopify's blog?

Yes, for informational searches your product pages cannot answer, such as how to choose, care for or use your products. Link each article to the relevant collections and products.

Written by

Parves, Founder and Creative Director

Leads strategy and creative direction at The Coral Flow in Chennai, across web, search and content for brands in India and abroad.

About the author

Share this guide

Let's talk

Want us to do this for you?

Tell us what you are working on. We reply within one working day with honest advice and next steps.