Canonical URL

Quick answer: A canonical URL is the version of a page you tell search engines to treat as the original when the same content is reachable at multiple URLs, declared using a rel=”canonical” link tag. Google treats it as a strong hint, not a rule.

Almost every website serves the same content at more than one address. A WooCommerce product sits at its clean URL, at a filtered version with ?orderby=price, at a tracking version with ?utm_source=meta, and possibly at both the www and non-www variants. To a person these are one page. To a crawler they are four separate URLs with identical content.

Google handles this by clustering pages it considers duplicates and picking one URL from the cluster to index and rank, a process it calls canonicalization. Google’s own documentation is blunt about who decides: you can indicate a preference through redirects, sitemaps and rel=”canonical”, but indicating a canonical preference is a hint, not a rule. The canonical tag is how you make your preference loud enough that Google usually agrees.

Why canonical URLs matter

When four URLs hold the same content, the ranking signals for that content get split four ways. Backlinks land on one variant, internal links point to another, and the version Google indexes may be the one with the tracking parameter stuck on the end. A canonical URL consolidates the links, engagement and authority earned by duplicate versions of a page into the single URL you actually want to rank.

The second cost is crawl budget. Google crawls the canonical page most often and crawls the duplicates less frequently, so a site that generates thousands of filter and parameter URLs spends its crawl allowance re-reading variants of pages it already has instead of finding the new product you launched this morning. On a large catalogue that delay is measured in weeks, and weeks of delayed indexing is organic revenue you simply never earn.

The third cost is that you lose control of what shows up in search results and, increasingly, in AI answers. Google uses the canonical page as the main source for evaluating content and quality, so the canonical is the URL that gets indexed, cited and summarised. Get it wrong and Google ranks your filtered category page instead of your category page.

These are not rare edge cases. In Ahrefs’ study of one million domains, the issue “non-canonical page specified as the canonical one” showed up on 1.36% of websites, and that is only one of the many ways a canonical setup breaks. Most sites we audit have at least one canonical pointing somewhere it shouldn’t.

Canonical tag vs 301 redirect vs noindex vs hreflang

These four get used interchangeably by people who have read half a blog post. They do completely different jobs, and picking the wrong one is the single most common canonicalization mistake.

AttributeCanonical tag301 redirectnoindexhreflang
What it doesNames the preferred version of duplicate contentPermanently sends users and crawlers to another URLKeeps a page out of the search indexNames language and region variants of a page
Users still see the page?YesNoYesYes
Hint or directive?Hint (Google can override)Strong signal, effectively obeyedDirective, obeyedHint
Consolidates signals?YesYesNo, signals are lostNo, keeps pages separate
Use it whenBoth URLs must stay live (filters, parameters, syndication)The old URL is being retiredThe page must exist but must never rankSame content, different language or country

Use a canonical tag when both URLs need to stay accessible, and a 301 redirect when one of them should stop existing. Google explicitly discourages using noindex to handle duplicates within one site, because it blocks the page from Search entirely rather than passing its signals along, and it recommends rel=”canonical” instead. Never point a canonical at a page you have also noindexed: that is two contradictory instructions about the same URL.

How to set a canonical URL

The tag itself is one line, placed inside the head section of the HTML:

<link rel=”canonical” href=”https://uginix.in/services/” />

The rules that make it actually work:

  1. Use absolute URLs, always. Write the full https://yoursite.com/page/ address. Google supports relative paths but warns against them, because a relative canonical on a staging site can quietly canonicalise your live pages to the wrong domain.
  2. Put it in the head, and only once. The canonical element is only accepted if it appears in the head section, so the head must be valid HTML. Two canonical tags on one page means Google may ignore both.
  3. Add a self-referencing canonical to the canonical page itself. Google recommends this explicitly. It removes ambiguity and protects the page when someone links to it with a tracking parameter attached.
  4. Point at a live 200 URL. Not a redirect, not a 404, not a page that itself canonicalises somewhere else. Canonical chains and loops get ignored.
  5. Match your other signals. Your sitemap, your internal links and your canonical tag must all name the same URL. Conflicting signals are the main reason Google overrides your choice.
  6. For PDFs and other non-HTML files, use the rel=”canonical” HTTP response header instead of a tag, which Google supports for web search results.

On WordPress you rarely need to touch the code. Yoast SEO and Rank Math both add self-referencing canonicals across posts, pages, archives and taxonomies by default, and both expose a Canonical URL field under the Advanced tab of the post editor when you need to override one. The job is to check what they output, not to write it yourself.

A worked example, using a Mumbai D2C store as the shape of the problem. Say you list 800 products, each reachable through colour, size and sort filters. Six filter combinations per product turns 800 real pages into roughly 4,800 crawlable URLs, and Googlebot has a finite budget for your site. If most of that budget is spent re-crawling filter variants, a new product launched on the 1st may not be indexed until the 20th. At an average order value of ₹2,500 and even 20 organic orders a month per product, three weeks of delayed indexing on a single launch is roughly ₹37,500 of revenue that never happened. Multiply that across a catalogue and canonicalization stops being a technical detail.

Common mistakes

  1. Canonicalising every paginated page to page 1. Page 2 of a category listing is not a duplicate of page 1, it holds different products. Canonicalise paginated pages to themselves, or Google may never discover the items on pages 2 and beyond.
  2. Pointing the canonical at a redirected or dead URL. If /old-page/ 301s to /new-page/ and your canonical still names /old-page/, you have built a chain. Always canonicalise to the final live destination.
  3. Sending mixed signals across your site. Your sitemap lists the trailing-slash version, your menu links to the non-www version, and your canonical names the https version. Google resolves the contradiction by ignoring you. Align all three and the tag starts being respected.
  4. Injecting the canonical with JavaScript on top of one already in the HTML. Google’s guidance is to set it in the HTML source and not let JavaScript change it, or to leave it out of the HTML entirely and set it only with JavaScript. Doing both is how you end up with two different answers.
  5. Using canonical tags as a duplicate-content cleanup for pages that are genuinely different. A canonical tells Google two pages are the same. If they aren’t, Google will notice, ignore the tag, and you will see “Duplicate, Google chose different canonical than user” in Search Console for pages you actually wanted indexed separately.

Frequently asked questions

What is a self-referencing canonical URL?

A self-referencing canonical is a rel=”canonical” tag on a page that points to that same page’s own URL. Google recommends including one on the canonical page itself. Its practical value is that it protects the page when someone links to it with a tracking parameter or session ID attached, because the parameter version tells Google to credit the clean URL instead.

Does a canonical URL pass link equity?

Yes. Google’s stated purpose for canonicalization is consolidating signals, so links pointing at a duplicate URL get consolidated with links to the URL that becomes canonical. This is why a canonical tag is the right tool when both versions must stay live, and why noindex is the wrong one: noindex removes the page from Search without passing its signals anywhere.

Should I use a canonical tag or a 301 redirect?

Use a 301 redirect when the duplicate URL should stop existing, for example after a site migration or when merging two old blog posts. Use a canonical tag when both URLs need to remain accessible to users, such as filtered category pages, tracking-parameter versions of landing pages, or content syndicated to a partner site. A redirect is the stronger signal of the two.

Why is Google ignoring my canonical tag?

Because a canonical is a hint, and Google weighs it against every other signal on your site. The usual culprits are internal links and sitemap entries pointing at a different URL, a canonical that targets a redirect or an error page, or two pages that are simply not similar enough to be treated as duplicates. Use the URL Inspection tool in Search Console to see which URL Google actually chose, then realign your signals to match your preference.

How long does a canonical change take to work?

Google has to recrawl the affected pages before anything changes, and its canonicalization troubleshooting documentation, updated in July 2026, states that even after content issues are fixed, pages may be held in a duplicate cluster for up to two weeks. Pages split out of the cluster faster when the difference between them is clear and significant. Expect days to weeks, not hours.

Do canonical URLs matter for AI search and AI Overviews?

Yes, indirectly but meaningfully. Google uses the canonical page as its main source for evaluating a piece of content, and Google’s AI features draw on the same index, so the canonical URL is the version most likely to be summarised and cited. If your canonical signals are muddled, the URL an AI engine attributes your content to may not be the one you want people landing on.

How Uginix helps

Canonical problems rarely show up as a dramatic ranking drop. They show up as pages that never get indexed, category pages that rank below their own filtered variants, and a Search Console report nobody has opened in six months. Our SEO and GEO work starts with a full crawl that maps every canonical, redirect and sitemap entry against each other, so the signals stop contradicting one another before we write a single new page. If you want to understand how this feeds into being cited by AI engines rather than just ranked by Google, read our breakdown of GEO vs SEO. Not sure whether your site has this problem? That is exactly what our free growth audit checks.

Related terms

  • Duplicate content: the same or very similar content reachable at more than one URL, which is what canonicalization exists to resolve.
  • 301 redirect: a permanent redirect that retires one URL and passes its signals to another; the stronger alternative to a canonical tag.
  • Crawl budget: the number of URLs Googlebot will crawl on your site in a given period, which duplicate URLs consume without adding value.
  • hreflang: an annotation that tells Google about language and country variants of a page, which should be used alongside canonicals, never instead of them.
  • Index coverage: the Search Console report showing which of your pages Google has indexed and why the rest were excluded.

Sources: Google Search Central, What is URL canonicalization, Google Search Central, How to specify a canonical URL, Google Search Central, Fix canonicalization issues, Ahrefs, Search Engine Land.

Scroll to Top