The Shopify Canonical Tag Problem: How Duplicate URLs Hurt Your Rankings
Shopify creates two URLs for every product by default. Without correct canonical tags, Google splits your page authority across both — reducing rankings for both. Here is the exact problem and how to fix it.
If you run a Shopify store, you have a duplicate URL problem. It is not a mistake you made. It is how Shopify works by default. Every product in your store has two accessible URLs, and unless your canonical tags are correctly configured, Google is treating them as duplicate content.
This article explains exactly what the problem is, how to verify whether you are affected, and how to fix it without rebuilding your store.
What the Duplicate URL Problem Looks Like
When you add a product to a Shopify collection, Shopify creates two URLs that both load the same product page:
- The collection URL: /collections/shoes/products/white-trainer
- The direct product URL: /products/white-trainer
Both URLs are accessible and return the same content. When Google crawls your store, it finds both URLs and has to decide which one to index. Without explicit canonical tags, Google makes this decision based on its own signals — which often means it indexes the collection URL because that is where the product is usually linked from within the store.
The practical consequence: if any external site links to /products/white-trainer but Google is indexing /collections/shoes/products/white-trainer, the link authority from that external link does not fully consolidate. The two URLs compete against each other for the same search queries.
How to Check Whether Your Store Has This Problem
Open Google Search Console and go to URL Inspection. Enter your product's canonical URL (/products/handle) and check which URL Google has selected as canonical. Then enter the collection URL (/collections/name/products/handle) and check its canonical too.
If both URLs show the same canonical (your preferred product URL), you are fine. If they show different canonicals, or if the collection URL shows itself as canonical, you have the problem.
A faster check: install a browser extension that shows page meta tags, then load both product URLs and compare the canonical tag in the <head>. Both should point to the same canonical URL — the direct product URL.
The Standard Shopify Canonical Fix
Most Shopify themes handle canonical tags in the layout/theme.liquid file. The canonical tag typically looks like:
{{ canonical_url | link_tag: 'canonical' }}
Clickvertise Team
Clickvertise
Related Services
Need help applying this to your business?
Our team diagnoses the problem first. Get a free diagnostic of your current situation.
Get a free diagnostic