Optimization

Technical SEO for Shopify

SEO tools report dozens of technical issues, and you do not know which of them are even in your hands with Shopify. We show what the platform regulates itself and fix what needs rework in the theme, apps and URLs.

How to tell that the technology needs attention

With technical SEO for Shopify, a simple rule applies: the platform handles a lot on its own, but not everything, and what it handles can be spoiled again by the theme and apps. Typical signs:

  • An SEO tool reports hundreds of duplicate pages or missing canonical tags.
  • After the move from another store system, old Google results lead nowhere.
  • Search Console shows URLs with sort orders, tags or filters.
  • The store has several languages, but Google shows customers the wrong version.
  • Price and availability do not appear in the search result.

Not every one of these messages is an error. The overview below shows where you can rely on Shopify and where you cannot.

Technical SEO: what Shopify handles and what it does not

Topic What Shopify does on its own Where rework arises
URLs fixed, readable structure moves, renamed pages
Canonical tags are set automatically internal links to secondary URLs
Sitemap is generated and kept up to date pages that do not belong in it
robots.txt is generated, blocks the cart and checkout, among others custom rules, rarely needed
Structured data themes include product data gaps and duplicates caused by apps
hreflang automatic per country domain or subfolder separate stores per country
Redirects management and import in the admin mapping old to new

URLs: fixed structure, freely chosen name

Shopify dictates the structure of URLs: products live under /products/, collections under /collections/, content pages under /pages/. These components cannot be removed or renamed. Only the last part, the so-called handle, is free.

For you that means: you do not have to think about the structure, but you do have to think about the names. If you change a handle, Shopify offers to redirect the old URL to the new one. With a migration to Shopify, on the other hand, almost all URLs change at once. Then every important old URL needs a redirect, otherwise visitors and visibility are lost. The list can be imported as a table; the real work is the mapping.

Duplicate content: collections, variants, tags and filters

The same product can appear under several URLs in Shopify:

  • Product within a collection. Some themes link products from the collection with a URL such as /collections/sale/products/name. Shopify itself points out in its developer documentation that this puts the same content under two URLs.
  • Variants. When a customer selects color or size, the theme appends something to the URL. The content stays almost the same.
  • Tags, sort orders and filters. Every combination creates another URL for the same collection.

Shopify sets canonical tags that tell Google the main URL, and blocks combined tags and sorted collections in robots.txt. Google treats such a tag as a strong signal but ultimately decides for itself which URL to show. It is therefore cleaner if internal links lead to the main URL right away. That is an adjustment in the theme.

You should know one consequence: variants are usually not separate pages for Google. If people search specifically for a color or version, a separate product or a separate collection may be the better solution.

robots.txt and sitemap

robots.txt tells search engines which areas they should not fetch. Shopify generates it automatically. It can be customized through a template in the theme called robots.txt.liquid. Shopify describes this as an unsupported customization, warns of loss of visitors in case of errors and provides no support for it. We only change the file when there is a clear reason.

The sitemap, the directory of all pages, is also generated on its own and contains products, collections, pages and blog posts. Individual pages can be deliberately removed from the sitemap and search, such as internal promotion pages.

Structured data

Structured data are details in the code from which Google reads price, availability or reviews. According to Shopify, themes include them for products. In practice they are more or less complete depending on the theme, and review apps often add their own. Google also decides itself whether it shows the data in the search result. What the related messages mean is explained under fixing Google Search Console errors in Shopify.

Several countries: hreflang

With hreflang, Google learns which language or country version belongs to which customer. If you set up a country domain or a subfolder in Shopify Markets, Shopify sets these annotations automatically and includes all published languages in the sitemap.

The automation ends at the store boundary. If you run a separate store per country, the stores do not know about each other. Google, however, requires all versions to reference one another. These references then have to be maintained in the theme.

How we approach technical SEO

  1. Assessment. We fetch your store the way Google does and compare the result with the data from your Search Console.
  2. Sort. You learn which messages Shopify already catches and which cost visitors.
  3. Fix. We adjust internal links, redirects and structured data and clean up duplicates caused by apps.
  4. Re-check. After a few weeks we look in Search Console to see whether Google has picked up the changes.

If you already have an audit from an SEO tool or an SEO agency, we implement it in your store. We work at transparent prices based on effort.

FAQ

Frequently asked questions

Can I remove /products/ and /collections/ from the URLs?

No. Shopify fixes these components. You can only change the last part of the URL, that is, the name of the product or collection. In our experience this is not a disadvantage: what matters is that every important page has a unique, readable URL.

Do I have to edit robots.txt in Shopify?

In most stores, no. Shopify generates the file itself and uses it to keep search engines away from the cart, checkout and customer account, among other things. Custom rules are possible through a template in the theme. Shopify explicitly warns, however, that mistakes there can cost visitors.

Do duplicate URLs hurt my store?

Usually less than SEO tools suggest. Shopify sets canonical tags that tell Google the main URL. Work pays off where Google still decides on a different URL or where internal links consistently point to secondary URLs.

Do I need an app for structured data?

Often not. According to Shopify, themes already include the product data for search engines. We first check what your theme outputs. An additional app otherwise easily leads to the same data appearing twice and contradictorily in the code.

What happens to my old URLs when I switch to Shopify?

They change because Shopify has its own URL structure. So that visitors and Google find the new pages, a redirect is created for every important old URL. With many URLs this can be done in bulk via import.

Contact

Shall we go through your store's technology?

Tell us briefly what you need. You will get a reply from someone who would also build your project.

Phone
+49 (0) 30 – 40 36 38 90Mon–Fri 9:00 a.m.–4:30 p.m. (CET)