SEO

Canonical Tag

Also called rel=canonical

A line of code that tells search engines which URL is the master version when the same content sits at several addresses.

Quick facts: Canonical Tag

Category
SEO
Also called
rel=canonical
Level
Advanced
Affects
Which URL ranks, signal consolidation, crawl efficiency
Where to see it
Search Console page indexing report, Screaming Frog, browser view-source
In this article4
  1. How a canonical tag works
  2. Why canonical tags matter
  3. Common mistakes with canonical tags
  4. How to act on it

How a canonical tag works

A canonical tag is a line in the head of a page naming the address that should be treated as the master copy of that content. It can also be sent as an HTTP header, which is how files that are not web pages, such as PDFs, declare theirs. When several addresses hold the same content and every one of them names the same master, search engines can group them and credit the address you chose.

The detail that catches people out is that it is a hint, not an instruction. Google weighs it against everything else it can see — internal links, sitemap entries, redirects, which version visitors actually reach — and may select a different address if those signals disagree. A page naming itself, which is the normal state for most pages, simply removes the ambiguity before it can start.

Why canonical tags matter

Websites generate the same content at multiple addresses without anyone deciding to. Tracking parameters on a campaign link, filters and sort orders on a category page, secure and insecure versions, with and without www, with and without a trailing slash, print views, a product reachable through two menu paths. Every one of those is a separate URL as far as a crawler is concerned.

Left alone, the links and signals the content has earned are divided between the copies, crawlers spend their time fetching the same thing repeatedly, and the version that appears in results may be the one with a campaign parameter still stuck on the end. A canonical pulls all of that back to one address, which is the cheapest fix available for duplicate content.

Common mistakes with canonical tags

The most destructive is a site-wide canonical pointing at the home page, usually a plugin setting or a template applied without thought. Every page then declares itself a copy of the home page and the site quietly leaves the results. Close behind is the staging address left in the canonical after launch, which points a live site at somewhere no visitor can reach.

Then come the contradictions. A canonical aimed at a URL that redirects somewhere else. A canonical aimed at a page marked noindex. A page carrying both a canonical to another address and a noindex of its own. Each asks for two things at once, and the engine decides which to believe. Canonicalising every paginated page back to the first page belongs on the same list: the items deeper in the sequence end up with nothing pointing at them.

How to act on it

Make an absolute, self-referencing canonical the default on every indexable page, and change it only where there is a reason. Use it where content genuinely repeats but both addresses must stay reachable, such as filtered listings and product variants. Where the old address does not need to stay reachable, a redirect is the stronger and clearer instruction — a canonical is not a substitute for one.

Then verify instead of assuming. The page indexing report in Search Console names the address Google actually selected, and a mismatch is information rather than something to argue with. A full crawl exports every declared canonical at once, which makes bad patterns obvious in minutes. Untangling canonicals across a large site is ordinary technical SEO work, and it usually shows up in indexation before it shows up anywhere else.

Do and do not

Do

  • Default every indexable page to a self-referencing canonical
  • Write canonicals as absolute URLs, never relative
  • Check which address Google actually selected

Do not

  • Point every page at the home page
  • Canonicalise to a redirected or noindexed address
  • Ship staging URLs inside live canonical tags

Questions people ask about this

Is a canonical tag the same as a 301 redirect?

No. A redirect moves the visitor and the crawler to a different address, so the original stops being reachable. A canonical leaves every version open and merely nominates one as the master. Use a redirect when the old address should disappear, and a canonical when both need to work but only one should appear in search results.

Should every page have a canonical tag?

Every page you want indexed benefits from one pointing at itself. It costs nothing, and it settles the question before parameters, session identifiers or a stray uppercase letter create a second version of the same page. The exception is a page you do not want indexed at all, which is a job for a noindex instruction instead.

Why is Google ignoring my canonical tag?

Because it is treated as one signal among several. If your internal links, sitemap and redirects all point somewhere else, the tag loses the argument. Common causes are a canonical aimed at a redirected or blocked address, relative paths that resolve wrongly, or two pages whose content differs enough that Google sees no duplication to consolidate.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.