Guide
Shopify SEO: what the platform does for you and what is still your job
Published Updated
Shopify takes care of much of the technical groundwork that search engines need, so a store owner's SEO work is mostly about settings and words rather than code. This guide lists what Shopify sets up on its own, the order to do things in when a store is new, where every SEO field sits in the admin, and the few Shopify habits that can quietly cost you visitors.
Built in
What Shopify sets up for you
Google's guide to ecommerce URL structure tells stores on a platform that they can most likely skip it, since the platform has probably thought those problems through already. Shopify's SEO overview lists the parts it handles itself. Each one is still worth a two-minute check:
| Built in | What Shopify says | Check it yourself |
|---|---|---|
| Sitemap | Built by Shopify at /sitemap.xml, and refreshed whenever you add products, collections, pages or posts | Open it in a browser, then submit it in Search Console |
| robots.txt | A default file that suits most stores | Leave it alone unless you have a clear reason (FAQ below) |
| Canonical tags | Added automatically so duplicates stay out of results | See where a product opened from a collection points (below) |
| Product structured data | Included in current Shopify-supported and Theme Store themes | Test a product page, as our product page guide shows |
| HTTPS | On by default | Nothing to do |
| Speed groundwork | A CDN, compression, caching and image optimisation | Watch what your theme and apps add on top |
None of that writes a product description, picks the words shoppers type or gets another site to link to yours. Those remain with you, and they are what the rest of this guide is about.
New stores
Your first week on Shopify: private mode, domain and Search Console
In our experience, doing these three things in this order saves the most confusion later.
Launch out of private mode
A new Shopify store starts in private mode, behind a password page, and Shopify says every page is hidden from visitors and search engines while it is on. Google cannot read the sitemap either. Until you switch the store to Public (the first time, the button reads Launch store), no amount of SEO work can show.
Make your own domain the primary one
Every store begins on a .myshopify.com address. Once your own domain is
connected, set it as the primary domain.
If you own several domains and are not using them for different countries, Shopify's sitemap help page
advises that they all redirect to the primary one, so Google meets one store, not three
copies of it.
Verify the store in Search Console, in your own name
Shopify's sitemap help page walks through
it: add a URL-prefix property in Google Search Console, choose the HTML tag method, and
paste the tag just under the opening <head> in your theme's
theme.liquid file (Online Store, then the theme's menu, then Edit code). Click
Verify, then submit sitemap.xml under Indexing, Sitemaps. One step of our own: the
tag lives in that theme file, so after a change of theme, check it came with it. Use a Google
account you own; our advice on
hiring an SEO company explains why that
matters.
The admin
Where each SEO setting sits in the Shopify admin
Most Shopify SEO is filling in fields that already exist. Each product, collection, page and blog post has a Search engine listing section, opened with a pencil icon or an Edit website SEO link. The rest are spread around:
| Job | Where in Shopify | Note |
|---|---|---|
| Home page title and description | Online Store, Preferences | The only page not edited on itself |
| Product title, description and handle | Products, the product, Search engine listing | See Shopify's steps |
| Collection title, description and handle | Products, Collections, the collection | Our category page guide covers what to write |
| Page and blog post listings | Online Store, Pages (or Blog posts), Edit website SEO | Same three fields |
| The main heading (H1) | The Title field of the item itself | Shopify turns that title into the page heading |
| Image alt text | Click the image, Edit alt text | What to write is in our image SEO guide |
| Menus and links | Content, Menus | Link collections from the main menu |
| Redirects | Content, Menus, View URL Redirects | Only from an address that now shows Page not found |
| Keep one page out of Google | An seo.hidden metafield, or Unlisted status for a product | See Shopify's options |
On length, Shopify's keywords help page suggests titles of 60 characters or fewer and descriptions of about 160. Leave a title blank and the theme fills in the item's name with your store name, which is often fine for a product. If you resell, write your own description rather than the maker's: Shopify gives the same warning, since that text is probably on other sites already.
Addresses
Handles, the second product address and redirects
Handles: set once, change rarely
Shopify builds each address from a fixed part, such as /products/ or
/collections/, followed by the handle, the part you can edit. Google says
descriptive words in an address may help it understand the page, so a handle like
linen-beach-towel beats towel-3. Shopify's own warning is not to
edit a product's handle too often, or it might not display in search results.
The same product at two addresses
A theme can link a product from a collection with an address such as
/collections/towels/products/linen-beach-towel, while the product also lives
at /products/linen-beach-towel. Shopify's
theme documentation says plainly that these
are the same content on separate URLs and that theme builders should consider the SEO
implications. Shopify says its automatic canonical tags are there to keep duplicate content out of
search results. Our suggestion is to check
your own theme: open a product from a collection, view the page source and find
rel="canonical". If it names the shorter /products/ address,
Google is being told which one you prefer. Google's
guidance on duplicate URLs adds one more step:
link to that preferred address consistently within your site, which on Shopify is a theme
change for a developer.
Redirects when an address changes
When you change a collection's handle, Shopify offers to create a redirect from the old address; choose to create it. For a product you have renamed or removed, open the old address afterwards. If it shows Page not found, add a redirect under URL redirects to the closest live page. Shopify only lets you redirect an address that no longer loads a page, and redirects start working straight away.
Speed
Apps, themes and speed
Shopify's performance guidance names three things that slow a store more than anything else: the theme, the installed apps, and code added by hand, such as tag managers. Its advice follows from that:
- Keep the theme currentShopify says its own free themes are built for speed. Animations and a long stack of sections on one template can slow pages down.
- Question every appEach one should earn more than it costs in speed. Removing an app does not automatically remove its code from your theme, so ask its developer how to clear it out.
- Paginate big collectionsA collection that loads every product at once is slow; Shopify suggests turning on pagination.
- Measure real visitorsThe Web Performance reports in Shopify use Core Web Vitals from real shoppers. PageSpeed Insights gives more detail on one page.
Be wary of speed scanners that return a long list of server fixes. Shopify notes that a CDN, compression, caching and file minification are already in place, so many of those suggestions do not apply to a Shopify store at all.
Two sources
Where Shopify's general advice and Google's documentation differ
Shopify's help centre is the authority on where things are in Shopify. On how Google ranks pages, Google's own documentation is the better source, and in a few places the two read differently:
| Shopify's help centre | Google's documentation | What to do |
|---|---|---|
| Give every page at least 250 words, and informational pages and blog posts at least 500 | The SEO starter guide says there is no magical word count target, minimum or maximum | Write what a shopper needs to decide, then stop |
| Lists "keyword placement and density" among on-page tasks | The spam policies treat filling a page with keywords to manipulate rankings as keyword stuffing | Use the shopper's words naturally; never count them |
| Google indexes a site within 48 to 72 hours of a change | Some changes show in a few hours and others take several months; wait a few weeks before judging | Judge a change after weeks, not days |
Shopify's own sitemap page is more careful than its overview on that last point: it says Google does not guarantee how long crawling takes.
Moving in
Moving an existing store to Shopify
A move to Shopify almost always changes addresses, because Shopify's fixed
/products/ and /collections/ paths rarely match the old site.
Google's guide to site moves with URL changes
sets out the work:
- List every old address that matters, starting with the ones that bring visits and the ones other sites link to.
- Map each one to its new Shopify address.
- Load the map into Shopify's URL redirects, which accept a CSV file (up to 100,000 redirects, or far more on Plus).
- Update your own menus and links to point at the new addresses, and submit the new sitemap.
- Keep the redirects for as long as possible: Google says generally at least 1 year.
Google also warns that rankings can wobble while it recrawls, and that for a medium-sized site it can take a few weeks or more before the new addresses replace the old ones. Build the map before the old site is switched off; afterwards it is much harder to tell what used to be there. For a move that also changes the domain, or one to a platform other than Shopify, our website migration checklist takes you through each stage.
Getting help
When to get help
Everything in the admin table can be done without touching code. Outside help pays off when the theme controls addresses or canonical tags you have no way to edit, when apps have piled up over the years, or when a whole store is moving across.
Shopify stores are one of the three kinds we work on in our ecommerce SEO work, beside WooCommerce and custom-built stores. You set up a staff account for us, limited to what the job requires, and we make the edits ourselves. If the theme's code needs changing, we do that as well, after it has been listed in your written scope with its own quote. Each store is quoted separately, and the store and its accounts remain yours. If a store runs on WooCommerce rather than Shopify, our WooCommerce SEO guide covers that platform's own settings.
Frequently asked questions
Is Shopify good for SEO?
For most stores, yes. Google's own guide to ecommerce addresses says a store on a platform can most likely skip that advice, because the platform has probably dealt with it already. Shopify also builds the sitemap, the robots.txt file and canonical tags for you. What it cannot do is write your product text, choose the words your customers search or earn links from other sites.
Do I need an SEO app on Shopify?
Not to start. Titles, descriptions, handles, alt text, redirects and hiding a page are all in the Shopify admin already. Shopify's own speed guidance names installed apps as one of the biggest drags on a store, and warns that uninstalling an app does not automatically remove its code from your theme. Add an app only for a job the admin does not do well; Shopify itself suggests one when you need a large number of redirects.
Why does Google show a different title from the one I set in Shopify?
Google builds the title it shows from several sources and can choose its own wording. Shopify's help suggests opening the page, viewing its source and checking that the title tag matches what you saved. If it does, your store is set up correctly. After a change, URL Inspection in Search Console lets you ask Google to look again; Shopify says the listing can take several days to a few weeks to update.
Can I edit robots.txt on Shopify?
Yes, by adding a robots.txt.liquid template to your theme. Shopify's help centre says its support team cannot help with that edit and warns that getting it wrong can lose the store all its traffic. Its default file works for most stores. If you only want one page out of Google, the noindex options in the admin table above are the safer route.
Running a Shopify store?
Send us your store address and the products that sell best for you. We reply within one business day.