How to fix duplicate content on Shopify
Shopify is a solid platform for SEO, but its URL structure creates several versions of the same page. Most are handled by canonical tags, and some aren't. Here's where duplicate content comes from on Shopify, which cases actually matter and how to fix them.
Rilea SEO teamNovember 15, 20266 min read
Key takeaways
- Every product is reachable at /products/handle and at /collections/name/products/handle. Shopify adds a canonical tag pointing to the first.
- Many themes link to the collection version internally, which sends mixed signals. Linking to the canonical URL is the fix.
- Variant URLs, pagination and sorting parameters are mostly handled by canonical tags already.
- Duplicate content created by you, such as copied descriptions and near-identical products, is often the bigger problem.
What duplicate content means on Shopify
Duplicate content is the same, or almost the same, content available at more than one URL. It's rarely a penalty. The problem is that search engines have to choose which version to index and rank, and links and signals get split between versions instead of building up on one.
On Shopify, duplicates come from two places: the platform's URL structure, and the content you create. The first is mostly handled for you. The second is up to you.
1. Collection-aware product URLs
This is the best-known Shopify duplicate. A product is available at its main URL:
/products/merino-hiking-socks
and also through every collection it belongs to:
/collections/socks/products/merino-hiking-socks /collections/sale/products/merino-hiking-socks
What Shopify already does
Shopify adds a canonical tag to the collection versions that points to the main /products/ URL. Search engines treat the main URL as the preferred version, so you won't usually see the collection versions indexed.
What still goes wrong
Many themes link from collection pages to the collection version of each product, using Liquid's within: collection filter. Your own site then links thousands of times to URLs it says aren't the real ones. Search engines generally follow the canonical, but it's a mixed signal, it wastes crawl time on large catalogues, and internal link value is spread across URLs.
The fix
Change the product links in your collection template so they point to the canonical product URL. In most themes, the product card snippet uses something like product.url | within: collection. Replacing it with product.url makes every internal link point to /products/handle.
Edit a duplicate of your theme first and preview it before publishing. Theme files vary, so search the snippets folder for within: collection to find every place it's used.
The trade-off is that breadcrumbs on the product page can no longer tell which collection a shopper came from. That's usually worth it, and you can still show breadcrumbs on product pages with a breadcrumbs block, such as the one included in Rilea SEO.
2. Variant URLs
Each variant can be opened with a parameter, like /products/merino-hiking-socks?variant=4155123. The canonical tag on those URLs points back to the product without the parameter, so variants don't create indexed duplicates on their own. Nothing to fix here, unless an app or theme has removed the canonical tag. Check by viewing the source of a variant URL.
If you list colours or sizes as separate products instead of variants, though, you've created near-duplicate products. More on that below.
3. Collection filters, sorting and pagination
Collection pages can produce many URL variations: ?page=2, ?sort_by=price-ascending, and filter parameters from Shopify's storefront filtering. Shopify's default robots.txt blocks many sorting and filtering patterns from being crawled, and canonical tags handle most of the rest.
Paginated pages (?page=2, ?page=3) are legitimate: they list different products. Leave them indexable so search engines can reach products deep in large collections.
4. Tag pages
Filtering a collection by a tag creates a URL like /collections/socks/hiking. On stores that use many tags, this can create hundreds of thin pages, each listing a slightly different subset of the same products, often with the same title and description as the main collection.
If a tag page has a real search purpose, such as "hiking socks" being a phrase people search for, consider making it a proper collection instead, with its own title, description and content. If tag pages exist only for navigation, keep them out of the index. Rilea SEO lets you set noindex, or noindex but follow, so search engines don't index the page but still follow its links to your products.
5. Vendor and type collections
Shopify creates automatic listing pages for vendors and product types, like /collections/vendors?q=Trailmark. They're usually thin and duplicate your real collections. Shopify's default robots.txt disallows some of these, but check your own robots.txt. Since 2021, Shopify has let you edit it through a robots.txt.liquid template.
6. The store's own domains
If your store answers on more than one domain, or on both www and the root domain, set one as the primary domain in Shopify's domain settings. Shopify then redirects the others to it. Also check that the myshopify.com address redirects to your primary domain.
7. Duplicate content you create
Platform duplicates get most of the attention, but the duplicates that hurt rankings most are usually created by the store itself.
Manufacturer descriptions
If you use the supplier's product description, the same text is on every store that sells the product. Google picks one to rank, often the manufacturer or the biggest retailer. Write original descriptions, starting with your best sellers.
Near-identical products
The same item listed as five separate products, one per colour, each with the same description, creates five pages competing with each other. Combine them into one product with variants, or write a genuinely different description for each.
Repeated collection descriptions
Collections that share the same intro paragraph, or have none, give search engines little to tell them apart. Give each important collection its own short, specific introduction.
Duplicate titles and descriptions
Default templates can produce the same SEO title and description across many pages. Rilea SEO's product checks flag duplicates across the catalogue, and its grid editor lets you rewrite titles and descriptions in one place.
8. Duplicate schema
A different kind of duplicate: two sets of structured data describing the same product. It often happens when a theme outputs Product schema and an SEO or reviews app adds its own. Search engines may see two prices, two ratings or two brands for one product.
Check by viewing the page source and searching for "@type": "Product". Rilea SEO for Shopify includes a theme check that looks for duplicate schema, so you can switch off the duplicate source.
How to check your store
- Search Console Pages report. Look for "Duplicate without user-selected canonical" and "Alternate page with proper canonical tag". The second is normal and expected on Shopify.
- URL Inspection. Inspect a product URL and check that Google's chosen canonical matches your
/products/URL. - Site search. Search Google for
site:yourstore.com/collectionsand look for tag and filter pages you didn't intend to have indexed. - View source. On a product, a variant and a collection-path product URL, check there's exactly one canonical tag and it points where you expect.
The bottom line
Shopify handles the worst of its own duplicate URLs with canonical tags. Your job is to stop contradicting them with internal links, keep thin tag and vendor pages out of the index, and fix the duplicates you create yourself: copied descriptions, near-identical products and repeated titles. Rilea SEO for Shopify gives you the noindex controls, duplicate checks and theme check to keep it clean, free.
Rilea SEO is a free SEO plugin for WordPress and a free app for Shopify, with every feature included.
Download for ShopifyKeep reading
Put your SEO budget somewhere else.
Install Rilea SEO, import your settings and keep every feature, for free.