SaltAISaltAI
SEO & Content1 April 20269 min read

Shopify Canonical Tags: A Plain English Guide

If you've ever duplicated a product page, run a sale collection, or added UTM parameters to a URL, you've probably created a canonical tag problem without realising it. Shopify stores generate duplica

If you've ever duplicated a product page, run a sale collection, or added UTM parameters to a URL, you've probably created a canonical tag problem without realising it. Shopify stores generate duplicate content almost automatically — filtered collections, paginated pages, product variants, and campaign URLs all create multiple URLs pointing to essentially the same content. Search engines hate ambiguity, and when they find it, they often make ranking decisions you wouldn't choose for yourself.

The good news is that canonical tags are one of the most practical and controllable SEO tools available to Shopify merchants. They don't require a developer, they don't take weeks to show results, and once you understand the logic behind them, the decisions become straightforward. This guide explains what canonical tags are, how Shopify handles them by default, where things go wrong, and what you can do to fix common issues across any type of store.

By the end of this post, you'll understand how canonical tags affect your organic traffic, how to audit your current setup, and how to make intentional choices about which URLs Google should index and rank. Whether you sell handmade candles, SaaS subscriptions via Shopify, or a catalogue of thousands of products, this guide applies directly to your store.


What Is a Canonical Tag and Why Does It Matter for SEO?

A canonical tag is a small piece of HTML — specifically a <link rel="canonical" href="URL"> element — that tells search engines which version of a page you consider the "official" one. When multiple URLs serve similar or identical content, the canonical tag acts as a tiebreaker, pointing Google and other search engines toward the URL you want indexed and ranked. Without it, search engines have to guess, and their guess often isn't what you'd choose.

The practical consequence of getting this wrong is link equity dilution. If five different URLs all serve the same product page — one with a colour variant parameter, one from a campaign link, one from a collection filter — any backlinks pointing to those URLs split their ranking value across all five instead of consolidating it on one. Over time, this means pages rank lower than they should, or fail to rank at all, even when the underlying content is strong and relevant.

For Shopify merchants specifically, this matters because the platform generates a surprisingly large number of URL variations by default. A single product accessible from three different collections already has three unique URLs, each of which Shopify treats as a valid page. Add sort parameters, pagination, and UTM tracking, and a modest store can easily have hundreds of duplicate or near-duplicate URLs competing against each other in search results without the merchant ever being aware.


How Shopify Handles Canonical Tags by Default

Shopify automatically adds canonical tags to most page types, and for basic setups, this default behaviour is reasonably sensible. Product pages, for example, receive a canonical tag pointing to the primary product URL (/products/product-handle), even when the same product is accessed via a collection path like /collections/sale/products/product-handle. This means the platform does handle the most obvious duplication scenario out of the box.

However, Shopify's default canonical logic has well-documented limitations. The most significant is that it doesn't account for URL parameters added by third-party apps, marketing tools, or analytics platforms. When a customer clicks a link tagged with ?utm_source=email&utm_campaign=spring, that full URL can be indexed by search engines if it's crawled before the canonical tag is processed correctly — especially on pages that load slowly or use JavaScript-heavy rendering.

Another common gap is paginated collections. If your store has a large collection split across multiple pages (/collections/all?page=2, /collections/all?page=3), Shopify's default handling can be inconsistent depending on your theme and app stack. Some themes correctly canonicalise all paginated pages back to the root collection; others don't, leaving search engines to index duplicate collection pages that collectively weaken your category rankings. This is worth auditing regularly, particularly after theme updates or app installations.


The Most Common Canonical Tag Problems in Shopify Stores

The single most common canonical issue in Shopify stores is the product-in-multiple-collections problem. When the same product appears in three collections — say, "New Arrivals," "Sale," and "Accessories" — Shopify creates three distinct collection-path URLs for that product. Despite the automatic canonical pointing back to the root product URL, these pages still get crawled, indexed, and occasionally ranked, pulling traffic away from your primary product page.

A related but distinct problem involves variant URLs. When a customer selects a different colour or size on a product page, Shopify appends a variant parameter to the URL (?variant=12345678). These variant URLs are technically different URLs, and while Shopify does attempt to canonical them back to the base product URL, not all crawlers and indexing tools handle this consistently. If your store relies heavily on product variants — apparel merchants are a classic example — this is an area worth investigating with a proper crawl.

App-generated URLs are the third major source of canonical problems, and they're the trickiest because they're often invisible to the merchant. Review apps, loyalty platforms, wishlist tools, and personalisation engines can all create URL variations as a side effect of their functionality. The safest approach is to audit your store with a tool like Screaming Frog or Sitebulb every quarter, specifically filtering for pages where the canonical URL differs from the actual URL or where no canonical tag is present at all.


How to Audit Your Shopify Store's Canonical Tags

A canonical audit doesn't require technical expertise — it requires the right tools and a systematic approach. Start by crawling your store with a free tool like Screaming Frog SEO Spider (up to 500 URLs free) or the free tier of Ahrefs Webmaster Tools. Export the full list of crawled URLs and filter for the canonical tag column. You're looking for three things: pages with no canonical tag, pages where the canonical points to a different URL than the one crawled, and pages where the canonical points to a URL that itself has a different canonical (a canonical chain).

Once you've identified problem pages, group them by type — product pages, collection pages, blog posts, and landing pages — because the fix is slightly different for each. For collection and product pages, the solution is usually to ensure your theme's canonical tag logic is correctly implemented, which often means checking the theme.liquid or relevant section files for the canonical <link> element. Many Shopify themes include this correctly, but it can be accidentally broken during customisation or theme updates.

For blog content specifically, canonical tags are especially important if you syndicate content, republish articles on Medium or LinkedIn, or use a content management tool that publishes across multiple locations. Your Shopify blog posts should always carry a self-referencing canonical pointing to the live Shopify URL. If you use BlogFlow to manage your store's blog content, canonical handling is built into the publishing workflow, which removes one layer of manual checking from your process.


Fixing Canonical Tags Without a Developer

Most canonical tag fixes in Shopify can be made directly in the theme code without touching anything that affects your store's design or checkout. The key file is theme.liquid, which is the master layout file that wraps every page on your store. Inside the <head> section of this file, you'll find — or should find — a line that outputs the canonical tag dynamically using Shopify's Liquid templating language. The standard implementation looks like <link rel="canonical" href="{{ canonical_url }}">, and if it's present and correctly placed, Shopify handles the URL logic automatically.

If the tag is missing, duplicated, or malformed, you can add or correct it directly in the Online Store > Themes > Edit Code section of your Shopify admin. Make a duplicate of your live theme before making any changes, so you have a rollback option. If you find multiple canonical tags on a page — which can happen when apps inject their own canonical logic — you'll need to identify which app is responsible and disable its canonical output, keeping only the theme-level tag.

For merchants who prefer not to touch code, several Shopify SEO apps can manage canonical tag output through their interface, including options to set canonical URLs for individual pages or override Shopify's defaults for specific URL patterns. These tools vary in quality, so look specifically for apps that let you review canonical decisions rather than just automating them invisibly.


Canonical Tags and Your Blog Content Strategy

Blog content is where many Shopify merchants inadvertently create canonical problems without realising it. If you write a post about "how to care for leather shoes" and publish a very similar post six months later targeting a slightly different keyword, both pages may end up competing with each other in search results. This isn't technically a canonical tag issue — it's a content consolidation issue — but the fix often involves setting a canonical tag on the weaker post pointing to the stronger one, effectively merging their ranking signals.

Cross-domain canonical tags are less common but worth understanding if you run your blog on a separate subdomain or a platform like WordPress alongside your Shopify store. In this case, you can use a canonical tag on the non-Shopify version to point to the Shopify URL, telling Google that the Shopify page is the preferred version. This is a powerful technique for merchants who started blogging in one place and later migrated to Shopify, as it allows you to consolidate years of link equity without losing the original content.

The broader principle is that every piece of content on your store should have exactly one authoritative URL, and every other URL serving that content should point to it via a canonical tag. When you enforce this consistently across products, collections, and blog posts, you're not just avoiding a technical SEO penalty — you're actively concentrating your store's ranking power on the pages most likely to convert.


Conclusion

Canonical tags are a foundational part of any serious Shopify SEO strategy. They prevent duplicate content from diluting your rankings, consolidate link equity on your most important pages, and give you control over how search engines interpret your store's URL structure. The key takeaways are simple: audit your canonical tags regularly, understand where Shopify's defaults fall short, and make intentional decisions about which URL you want to rank for every page type.

Start with a crawl of your store this week using a free tool, filter for canonical issues, and prioritise product and collection pages first — they have the most direct impact on revenue. Blog content, landing pages, and campaign URLs can follow in a second pass. Small, consistent improvements to your technical SEO compound significantly over time.

Try BlogFlow free at saltai.app — no credit card required.

SaltAI Team

SaltAI builds focused Shopify apps for food merchants and general merchants. Every app is tested in production at a real food store — including Vanda's Kitchen — before it ships.