SEO

Canonical Tags Explained: When to Use Them and When They Backfire

What a canonical tag does, when to use rel canonical instead of a 301 or noindex, and the seven configuration mistakes that make canonical URLs backfire on WordPress, WooCommerce and Shopify.

Team meeting around a desk in a modern office with a wall screen

Canonical tags are one of those SEO fixes that look harmless in a plugin settings screen and then quietly remove half a site from Google. They are useful. They are also a suggestion, not a command, and most of the problems we find in audits come from people treating them like a command.

This guide covers what a canonical URL does, when rel canonical is the right tool, when a 301 or noindex is better, and the specific ways canonicalization goes wrong on WordPress, WooCommerce and Shopify sites.

What is a canonical tag?

A canonical tag is a line in a page’s <head> that tells search engines which URL is the main version when several URLs show the same or very similar content. It looks like this:

<link rel="canonical" href="https://example.com/blue-widgets/" />

Duplicates happen more than people think. The same product can be reachable at /shop/blue-widget/, /shop/blue-widget/?color=navy, /shop/blue-widget/?utm_source=newsletter and the http version of all three. Google will pick one of them to show in search results. The canonical tag is your vote for which one.

Notice the word vote. Google’s guide on how to consolidate duplicate URLs describes rel canonical as a strong signal, alongside redirects (also strong) and sitemap inclusion (weak). It weighs those signals together with internal links, HTTPS and other clues, and then chooses. If your signals disagree with each other, Google’s choice may not be yours.

Canonical vs noindex vs 301: which one do you need?

Use a 301 when the duplicate URL does not need to exist for visitors. Use a canonical tag when it does need to exist but should not compete in search. Use noindex when a page should not appear in search at all and is not really a duplicate of anything.

SituationBest toolReason
http vs https, www vs non-www, trailing slash variants301 redirectVisitors never need the duplicate. Redirect it at the server or CDN.
Old URL replaced after a redesign301 redirectThe old page is gone. A canonical on a page nobody should see makes no sense.
Tracking parameters (utm_, gclid, fbclid)Self-referencing canonical on the clean URLThe parameter URLs must work for analytics, but should fold into the clean one.
Sort and filter parameters on category pagesCanonical to the unfiltered category, in most casesShoppers need the filters; search results do not need every combination.
Product reachable through several category pathsCanonical to one product URLShopify does this by default; check that your WooCommerce setup does too.
Internal search results, cart, checkout, thank-you pagesnoindex (and keep them out of the sitemap)Not duplicates of anything. They just should not be in search.
Paginated category pages (page 2, 3, 4)Self-referencing canonical on each pagePointing page 2 at page 1 hides the products listed on page 2.
US and Canadian versions of the same pageSelf-referencing canonicals plus hreflangEach regional page is the main version for its audience.

One thing Google spells out: do not use noindex to choose a canonical between pages on your own site. A noindexed page is dropped from search entirely, which is a different outcome from being consolidated into another URL. Mixing the two on the same page (canonical to URL A, plus noindex) sends contradictory signals, and that combination shows up in audits more than it should.

Should every page have a self-referencing canonical?

Yes, in practice. A self-referencing canonical (a page naming its own clean URL) protects you from parameter and tracking duplicates you did not plan for, and it costs nothing.

Rank Math and Yoast both add one automatically to posts, pages, products and archives. You only need to touch it in the plugin’s Advanced tab when a page should point somewhere else. The two rules we hold to: use the absolute URL including https://, and make sure the canonical URL returns a 200, is indexable and is the same URL your internal links and XML sitemap use.

Seven ways canonical tags backfire

Most canonical problems are configuration mistakes that copy themselves across hundreds of pages. Here are the ones we see most, roughly in order of how much damage they do.

1. Every page points to the homepage

A theme or a custom header snippet hard-codes the site URL as the canonical. Every page now claims to be a duplicate of the homepage. Google usually ignores a canonical this obviously wrong, but “usually” is not a strategy. View source on three random pages after any theme change.

2. The staging domain survives the launch

The site was built on staging.example.com, someone set canonicals manually during the build, and they still point at staging after go-live. This is why our website migration SEO checklist includes a canonical crawl on launch day.

3. Canonical points to a URL that redirects, 404s or is noindexed

You are telling Google “the real page is over there”, and over there is a dead end. Screaming Frog’s Canonicals tab has filters for exactly this (non-indexable canonicals, canonicalised pages). Fix the target, or point the canonical at the URL that actually serves the content.

4. Pagination canonicalised to page 1

It feels tidy. It is wrong. Google’s own pagination guidance says not to use the first page as the canonical for the sequence and to give each page its own. Otherwise products that only appear deeper in the category lose a path to being crawled.

5. Regional or language pages canonicalised to each other

A company with /en-us/ and /en-ca/ pages that differ only in currency and spelling sets the Canadian pages to canonicalise to the US ones “to avoid duplicate content”. Now the Canadian pages are not eligible to rank on their own. Each version should name itself as canonical and use hreflang to connect the set. Our international SEO checklist for the USA and Canada goes through that setup, including French pages for Quebec.

Here is the part that does not tidy up neatly. When two regional pages are almost identical, Google may still treat them as duplicates and pick one, even with correct hreflang. Adding real local differences (pricing in CAD, Canadian shipping and returns details, local phone numbers, provincial tax notes) gives Google a reason to keep both. Sometimes the honest answer is that one page for both countries is the better choice, and that depends on how different your offer really is north of the border.

6. Signals that contradict each other

The canonical says /services/seo/, the sitemap lists /services/seo without the slash, and the main menu links to /seo-services/, which redirects. Each signal on its own is small. Together they leave Google guessing, and Google’s guess wins. Line them up: same URL in the canonical, the sitemap and internal links.

7. Canonicals used to “pass” rankings between different pages

Pointing a weaker article at a stronger one with a canonical, when the two are about different things, does not merge them. Google will most likely ignore it because the content does not match. If the pages overlap so much that you want them merged, merge the content and 301 the old URL.

What about syndicated content?

For articles republished on other websites, Google does not recommend relying on a cross-domain canonical. Its guide to troubleshooting canonicalization says the most effective fix is for syndication partners to block indexing of their copy, because the partner’s page is often very different from yours (different layout, comments, related articles).

In practice you do not control the partner’s site. Ask for noindex, accept a canonical back to your original as second best, and at minimum get a clear link to the original. If a partner with a much stronger domain republishes your piece with none of these, expect their copy to outrank yours for a while. That is the trade you make for the exposure.

How to check which canonical Google chose

Use the URL Inspection tool in Google Search Console. It shows the “User-declared canonical” (yours) and the “Google-selected canonical” (theirs). If they differ, Google has overruled you.

For a site-wide view, open Indexing, then Pages. The reasons to read are:

  • Alternate page with proper canonical tag: working as intended. These are your duplicates, correctly folded in.
  • Duplicate without user-selected canonical: Google found duplicates you did not mark. Add canonicals or redirects.
  • Duplicate, Google chose different canonical than user: the one to investigate. Compare the two URLs and look for the contradictions described above.

The common mistake here is panicking at a large “Alternate page with proper canonical tag” count. On a WooCommerce store with filters and tracking links, that number is supposed to be large. It means the canonicals are doing their job.

For a broader explanation of how Google picks between duplicates, its canonicalization overview is short and worth reading once.

Canonical tags on WordPress, WooCommerce and Shopify

  • WordPress core adds a canonical to single posts and pages. An SEO plugin extends that to archives and lets you override it per page.
  • Rank Math and Yoast: the canonical field lives in the Advanced tab of the post editor panel. Leave it blank unless you mean to point elsewhere; blank means self-referencing.
  • WooCommerce: watch layered navigation and filter plugins. Some generate crawlable URLs for every filter combination with self-referencing canonicals, which defeats the purpose. Our ecommerce SEO guide covers faceted navigation in more depth.
  • Shopify: product URLs inside collections canonicalise to the main /products/ URL by default, but some themes still link to the collection path internally. Fixing the internal links in the theme helps the canonical stick.
  • PDFs and other non-HTML files: you can send a canonical in the HTTP header (Link: <https://example.com/guide/>; rel="canonical"), which is handy when the same guide exists as a page and a PDF.

Canonical problems rarely come alone; they usually travel with redirect chains, crawl traps and sitemap issues. If you want a second pair of eyes on all of it, our SEO services team runs canonical and indexation checks as part of every technical audit for US and Canadian sites.

FAQ

Is a canonical tag a directive or a hint?

A hint. Google treats it as a strong signal but can choose a different canonical if other signals point elsewhere.

Does a canonical tag pass link equity?

When Google accepts it, signals from the duplicate URLs are consolidated into the canonical one. If Google rejects it, nothing is consolidated.

Can I put the canonical tag in the body?

No. It must be in the <head> of the HTML or sent as an HTTP header. A canonical in the body is ignored.

Should I canonicalise tag and category archives?

Leave them self-referencing. If they are thin and add nothing, noindex them or stop creating them, rather than pointing them at an unrelated page.

How long does it take Google to respect a new canonical?

It changes after Google recrawls both URLs, which can take days for important pages and much longer for rarely crawled ones.

Share LinkedIn X Facebook

Written by

Techlooker Editorial Team

Techlooker helps businesses in the USA and Canada grow through SEO and AI search, WordPress development, Salesforce and Power BI. Our team writes these guides from the work we do for clients.