Shopify SEO: Step-by-Step Guide to Rank Your Store
Shopify SEO means working inside what the platform already does well, such as the sitemap and SSL, and correcting what it does badly: weak default titles, duplicate product URLs under collections and heavy themes with too many apps. You edit page titles and handles, fix internal links, keep the theme light and publish useful content.
Key takeaways
- Shopify handles the basics automatically, so your gains come from titles, handles, collection pages and internal links.
- The same product can open under /products/ and under /collections/, and your theme decides which version you link to.
- You cannot change the /products/, /collections/, /pages/ and /blogs/ prefixes, so plan names and handles carefully.
- Theme choice and installed apps decide most of your speed, so audit them before you add anything new.
- A Shopify blog helps when it answers pre-purchase questions and links to your collections, not when it fills space.
On this page
- What Shopify does for you and what it does not
- Shopify SEO settings to change first
- Shopify collection and product page optimization
- Duplicate URLs and canonical tags on Shopify
- Speed and theme choice
- Do Shopify SEO apps and Yoast help?
- Does a Shopify blog help SEO?
- Migrating to Shopify without losing rankings
- Shopify SEO checklist
- What to do this week
A Shopify store with zero Google traffic is usually not missing a secret setting. It has default page titles that say nothing, the same product reachable at several addresses, collection pages with no text and a theme loaded with apps. Most of it is fixable in a few days, and the first pass needs a developer only for one theme edit.
This guide is only about what is specific to Shopify. The general work, such as keyword mapping, links and measurement, is in our guide to ecommerce SEO for any platform, and I do not repeat it here.
What Shopify does for you and what it does not
Shopify creates a sitemap, serves every page over HTTPS and adds canonical tags automatically, but it also fixes your URL prefixes, writes weak default titles and lets themes link to duplicate product paths. Knowing which is which saves you from chasing problems that are already solved.
| Handled by Shopify | You still have to do |
|---|---|
| XML sitemap at /sitemap.xml, updated as products change | Submit it in Google Search Console and check it |
| HTTPS on all pages | Set one primary domain |
| Canonical tags on product, collection and blog pages | Verify the theme links to the canonical version |
| Basic Product structured data in most themes | Check it for errors and duplicate markup from apps |
| Editable titles, descriptions, handles and alt text | Write them for each important page |
| A default robots.txt | Review it, and edit through robots.txt.liquid only when needed |
Three limits are worth knowing now, because they shape your plan:
- The prefixes /products/, /collections/, /pages/ and /blogs/ are fixed. You choose only the handle after them.
- You cannot edit the sitemap file itself. You influence it by controlling which pages exist and are published.
- Your theme decides what the page code looks like, which makes theme choice an SEO decision.
None of this makes Shopify a poor choice. I would still pick it for most small and mid-size stores. It just means the work is in the details below.
Shopify SEO settings to change first
Start with the homepage, then the handful of settings that touch the whole store. These steps are quick, and they set the base for everything else.
Homepage title, description and domain
Open Online Store, then Preferences. Write a homepage title that says what you sell, with the main phrase near the front, and a meta description that states the benefit, such as range, shipping terms or returns. By default, many themes add your store name to the end of page titles, so keep the first part short and specific.
In the domain settings, choose one primary domain and let the others redirect to it. Two live versions of the same site split signals and confuse reports.
Titles and handles for each page
Every collection, product, page and blog post has a section called Search engine listing. Click Edit and you can change the page title, the meta description and the URL handle. This is where the default weak titles get fixed.
A rewritten pair looks like this. Default: “Moab 3” with the store name added. Better: “Merrell Moab 3 Waterproof Hiking Boots, Women’s”. The better version matches what a shopper types and keeps the brand and product type in front.
Handles deserve care because they are permanent in practice. Keep them short: /products/merrell-moab-3-waterproof-boots-womens is clear, while a handle with a full sentence is not. If you change a handle on an existing page, tick the option to create a URL redirect. The URL Redirects tool under Navigation also accepts a CSV file when you need to redirect many URLs at once.
Image alt text, robots.txt and the sitemap
Add alt text that describes the image, for example “Brown waterproof hiking boot, side view”. It helps accessibility and gives Google context.
Shopify lets you customize robots.txt by adding a robots.txt.liquid template to the theme. Do this only when you have a reason, such as blocking a parameter pattern that creates crawl waste. A wrong rule can hide important pages, and the default file is a reasonable start.
Then submit yourstore.com/sitemap.xml in Google Search Console and watch the page indexing report for pages Google found but did not index.
Shopify collection and product page optimization
Collection pages usually carry the most organic potential in a Shopify store, because they match category searches like “women’s hiking boots”. Product pages catch searches that name a specific model. The deeper on-page method is in our guide to product page and category page SEO, and these are the Shopify details.
Collections
A Shopify collection is a group of products, either picked by hand or built from rules in an automated collection. Name each collection after a real search, and write a short description at the top, two or three sentences, with longer helpful text below the product grid. Many themes put the whole description above the products and push them down the page, so check how yours looks on a phone.
Storefront filters are managed in the Shopify Search and Discovery app. Filter URLs carry parameters, so decide which filtered views deserve to be found, and read Google’s guide to faceted navigation before opening many of them to crawling. For fashion catalogs, the SEO for fashion stores guide covers sizes and filter handling in more detail.
Be careful with automatic pages. Shopify can generate /collections/all and vendor or product type listings, such as /collections/vendors?q=Brand. If they are thin or overlap with your real collections, do not link to them and keep them out of the index.
Products
For a product page, write the title with brand, product type and key attribute. Write a description in your own words, with specifics: sizes, materials, compatibility and what is in the box. Add several images with alt text, and keep reviews real.
Variants (sizes and colors) share one URL, and a variant selection adds a parameter to the address. The canonical tag points back to the main product URL, which is what you want. Create a separate product for a color only when shoppers search for that color as a product in its own right, because separate products create near-duplicate pages you must then manage.
Metafields are a useful Shopify feature for product specs. They let you store structured data, such as material or dimensions, and display it in a consistent block on every product. A consistent spec block is easier for shoppers to read and for Google to understand.
Structured data
Most themes output Product markup through the platform, covering name, price and availability. Google’s guide to Product structured data lists the fields. The Shopify-specific trap is a review or SEO app that adds its own markup on top of the theme’s, so the same product is described twice, sometimes with different values. After installing any such app, test a product page and check the report in Google Search Console.
Duplicate URLs and canonical tags on Shopify
The main duplicate on Shopify is the same product available at /products/handle and at /collections/collection-name/products/handle. Shopify’s canonical tag points the second to the first, but your theme may still link to the longer version, which dilutes internal links and makes reports messy.
Here is where duplicates and near-duplicates come from, and what I do about each.
| Source | Example | What to do |
|---|---|---|
| Product under a collection path | /collections/boots/products/moab-3 | Edit theme links to use the main /products/ URL |
| Variant parameter | /products/moab-3?variant=123 | Leave it; confirm the canonical is the clean URL |
| Tag filtering on older setups | /collections/boots/waterproof | Check the canonical and keep unneeded tag pages out of the index |
| Storefront filter and sort parameters | ?filter… or ?sort_by=… | Decide which are indexable; control the rest |
| Pagination | /collections/boots?page=2 | Keep crawlable; each page should self-canonicalize |
| Internal search results | /search?q=boots | Keep out of the index and avoid linking to them |
Fix collection-path product links
In many themes the product link inside a collection is built with the collection context, which produces the longer URL. A developer can change the link in the theme code so it uses the product’s own URL, and in Liquid, Shopify’s theme language, that usually means removing the collection context filter from the product link. It is a small edit, but test it, because some themes use the collection path for breadcrumbs.
Then confirm the result. Open a product from a collection, look at the page source for the canonical tag, and check that internal links in your navigation, banners and emails use the main product URL.
Check what Google actually sees
Open Google Search Console and look at the page indexing report. Search for pages marked as duplicate with a different canonical, and for filter or search URLs that are indexed. Do this after any theme change, since themes and apps change links without telling you. For a wider list of checks, see our ecommerce SEO audit checklist.
Speed and theme choice
On Shopify, speed is mostly decided by your theme and your apps, because Shopify handles hosting and the content delivery network. Choose a light theme, add features slowly and remove what you do not use. Google’s Web Vitals explain the loading, responsiveness and stability measures to watch.
What I would do, in order:
- Test collection and product pages on mobile, not only the homepage. Your Core Web Vitals report in Google Search Console groups them by page type.
- List every installed app and ask what job it does. Remove the ones you cannot name. Some apps leave code in the theme after you uninstall them, so look in theme files for leftover snippets.
- Compress images and upload sizes that fit the layout. Do not lazy-load the main image at the top of the page, since it is the first thing shoppers see.
- Trim theme features: sliders, autoplay video, large pop-ups and extra fonts.
- Think twice before switching themes. A new theme can change URLs, headings and structured data, so compare before and after.
Pick an Online Store 2.0 theme with a simple design. Feature-rich premium themes often ship a lot of script for options you never turn on. Shopify’s free Dawn theme is a fair baseline to compare against.
A headless build with Hydrogen can be fast, but it moves SEO duties such as rendering, canonical tags, sitemaps and redirects to your developers. I would not choose it for SEO reasons alone.
Do Shopify SEO apps and Yoast help?
An app is optional on Shopify, because the core features are built in. Apps help with bulk editing, structured data checks, redirect management and image compression, but each one adds code, so use as few as possible.
People search for “yoast seo shopify” about 140 times a month in the US, according to Google Keyword Planner, and “plugin seo shopify” about 70 times. Yoast makes an app for Shopify, and I treat it as a checking aid at most. The decisions that move rankings, such as titles, structure and content, still come from you. For a tested comparison of options, read our guide to the best Shopify SEO apps.
My rule: install an app for a clear job, measure the effect on speed, and remove it when the job is done.
Does a Shopify blog help SEO?
Yes, when posts answer questions shoppers ask before buying and link to the matching collections and products. A Shopify blog lives under /blogs/news/ by default, and you can create several blogs. It will not help if you publish thin posts with no search demand.
Choose topics from three sources: customer emails and chats, the search terms in your ads account, and Keyword Planner. A good article for a boot store is “how to choose hiking boots for wet trails”, with links to waterproof boots and care products. Google’s guidance on helpful, people-first content is a good filter for what to write.
Some housekeeping applies to the Shopify blog. Use a few clear tags, because each tag creates its own listing page. Write unique titles and descriptions for each post. Update your best posts instead of publishing new ones with the same topic.
Migrating to Shopify without losing rankings
If you are moving from another platform, the URLs will change, because Shopify uses its own prefixes. Map every old URL that has traffic or links to its new equivalent, import the redirects, and check the result with Google Search Console after launch.
Do not move everything at once if you can avoid it. Keep titles and text stable for key pages, redirect one to one, and make sure no staging noindex rule goes live. If you are leaving Magento or BigCommerce, our guide to SEO for Magento and BigCommerce shows how URLs work on the old side.
Shopify SEO checklist
Use this as a working list for a store review. Work from top to bottom, because the early items affect the later ones.
- One primary domain, with HTTPS working everywhere.
- Homepage title and description written and saved in Preferences.
- Titles and handles rewritten for top collections and top products.
- Each important collection has a clear H1, short intro and helpful text below products.
- Theme links use the main /products/ URL, and canonical tags are correct.
- Filter, search and vendor URLs checked and controlled.
- Product structured data tested, with no duplicate markup from apps.
- Image alt text added and images compressed.
- Unused apps and theme features removed, and mobile speed tested by template.
- Sitemap submitted in Google Search Console and the page indexing report reviewed.
- GA4 reports purchases and revenue by channel. Google describes the setup in its GA4 ecommerce measurement guide.
If you want an outside review on a Shopify store, our page on Shopify SEO services explains what an audit includes.
What to do this week
Rewrite the page titles and handles of your ten most important collections and products first, using the words shoppers type. Then open one product from a collection, check its canonical tag and fix the theme link if it points to the long URL. Those two tasks are the core of Shopify SEO, and they take a few hours.
If you would like me to look at the store, I offer a free 30-minute audit through the ecommerce service page. I check the structure, the feed and the ad accounts, and you get a plan you can run yourself or hand over.
Frequently asked questions
How do I set up SEO on Shopify?
Start in the admin. Set the homepage title and description under Online Store, Preferences, then edit the search engine listing for each collection, product and page. Keep handles short, add alt text to images, connect your domain, submit the automatic sitemap in Google Search Console, and fix duplicate collection URLs in the theme.
Is Shopify good for SEO?
Yes, for most stores. It generates a sitemap, serves pages over HTTPS and adds canonical tags by default. The weak points are fixed URL prefixes, duplicate product paths under collections and slow themes loaded with apps. Stores that rank on Shopify mostly win through strong collection pages and clean structure, not special tricks.
Do I need an SEO app for Shopify?
No. Everything essential, including titles, descriptions, handles, alt text and redirects, is built in. An app can save time on bulk edits, structured data checks or broken-link reports. It also adds code that can slow the store, so install one only for a specific job, and remove it if the job is done.
Can I remove /collections/ or /products/ from Shopify URLs?
No. Shopify fixes the prefixes /products/, /collections/, /pages/ and /blogs/ on standard themes, and you cannot remove them. You control the part after the prefix, called the handle. Write short handles that contain the main keyword, and avoid renaming them later unless you also create a redirect.
How do I fix duplicate product URLs on Shopify?
Shopify adds a canonical tag that points the collection version of a product URL to the main /products/ address. Still, many themes link to the longer version inside collections. Edit the theme's product links so they use the main product URL, then check the page source and Google Search Console to confirm.
Does the Shopify blog help SEO?
It can. A blog helps when posts answer questions shoppers ask before buying and link to the matching collections and products. It does little if you publish thin posts with no search demand or copy supplier text. Pick topics from customer questions and Keyword Planner, and update the best posts instead of adding more.
How long does Shopify SEO take?
Expect several months for competitive collection pages. Title and handle fixes can show in Google Search Console within weeks, but rankings, links and content build slowly. A new store with no history takes longer than an established store fixing structure. Track organic orders in Google Analytics 4 (GA4), not just positions.
Sources
Want a second pair of eyes on your store?
I will look at your product feed, ad accounts and competitors and show you where sales leak away. You get a growth plan with no obligation.
Get my free growth plan