Canonical tag fix via theme.liquid
The most common source of duplicate content on Shopify collection pages is pagination. When a visitor lands on /collections/shoes, browses to page two, then navigates back, Shopify creates /collections/shoes?page=1 as a distinct URL — one that shares every byte of content with the canonical root URL but carries a different parameter. Google treats these as two separate pages competing for the same ranking.
The fix is a conditional canonical tag inside theme.liquid. Find your existing canonical tag (it often reads <link rel="canonical" href="{{ canonical_url }}">) and replace it with a conditional block that forces every paginated collection URL back to the root collection:
{% if template contains 'collection' %}
<link rel="canonical"
href="{{ shop.url }}{{ collection.url }}">
{% else %}
<link rel="canonical" href="{{ canonical_url }}">
{% endif %}After saving, submit the collection URLs in Google Search Console’s URL Inspection tool and request re-indexing. Most stores see the ?page=1 variants dropped from the index within 2–4 weeks. In our audit cohort, this single fix recovered an average of 19% of collection-page impressions within 60 days.


























