Skip to content

Term

What is a canonical tag?

To you it is one page. To Google it can be eight addresses that split your links between them. The line of code that tells Google which one counts, and when it is the wrong tool.

What is a canonical tag: the head of a live site's home page with its canonical tag and the hreflang lines for each language
Canonical tag
A canonical tag is a line in a page's head telling search engines which address is the preferred version when the same content lives at several addresses.
Also calledrel=canonicalcanonical link

By , COO

4 min read
On this page
  1. 01Canonical, redirect, noindex or hreflang
  2. 02What the source of a multilingual site looks like
  3. 03Five canonical mistakes that cost rankings

A canonical tag fixes a problem most site owners do not know they have: their pages exist more than once. The same page is often reachable with and without www, over http and https, with and without a trailing slash, and with a tail of tracking parameters such as UTM codes or a Google click ID. To you that is one page. To Google it can be eight addresses, each collecting a share of your links, and Google will pick one of them itself if you do not say which. In the source code the line looks like this:

<link rel="canonical" href="https://www.example.com/services/">

Google, Yahoo and Microsoft announced the tag together in February 2009 to tame online shops, where one product page appeared under dozens of filter and sort combinations. It became an internet standard in 2012. Google treats it as a strong signal, not an order: it weighs your canonical against your redirects, internal links, sitemap and https, and when those disagree it may choose a different address than you intended. Search Console then reports that Google chose a different canonical than the user.

Seven addresses, one page

  • http://example.com/services301 redirect
  • http://www.example.com/services/301 redirect
  • https://example.com/services/301 redirect
  • https://www.example.com/services301 redirect
  • https://www.example.com/services/?utm_source=newslettercanonical
  • https://www.example.com/services/?gclid=Cj0Kcanonical
  • https://www.example.com/services/index.html301 redirect

The canonical URL

https://www.example.com/services/

Example. Addresses a visitor need not see get redirected; addresses that must keep working, like links with ad parameters, get a canonical.

Canonical, redirect, noindex or hreflang

A canonical is one of four tools for duplicate addresses, and the most misused. Pick by asking whether the duplicate needs to keep working for visitors.

SituationUseWhy
http and https, www and non-www301 redirect to one versionVisitors should never land on the others
Tracking parameters on linksCanonical to the clean URLThe link has to keep working
Filter and sort pages in a shopCanonical to the main categoryEach combination is not a page of its own
An article republished by a partnerCanonical on the copy, pointing to your originalYour page gets the credit
The same page in English and GermanHreflang, each version canonical to itselfBoth should rank, each in its own market
Two pages chasing the same searchMerge them and redirectA canonical only hides the problem

The fifth row is where international sites go wrong most. If your German page carries a canonical pointing to the English one, you have told Google the German page is a copy, and it disappears from German results. Each language version is canonical for itself and linked to its siblings with hreflang. The last row is a different problem altogether, duplicate content or cannibalisation: you solve it by writing one better page, not by hiding one of the two.

What the source of a multilingual site looks like

The image at the top is the head of the home page of Business Centrum, a site we built in four languages. Its canonical points to its own Dutch address, and beneath it sit the hreflang lines for the Dutch, French, English and Turkish versions plus a default. Every page on that site works the same way, in its own language. It looks redundant, but it absorbs every variant that ads and newsletters bolt onto an address. How we set this up across languages is on our multilingual website development page.

Five canonical mistakes that cost rankings

  1. Every page points to the home page. A template that prints the same canonical everywhere tells Google your whole site is one page.
  2. The canonical points to an address that redirects or returns an error. Google ignores it.
  3. The canonical says http while the site runs on https. Conflicting signals.
  4. Language versions point to the main language. Your other markets vanish from search.
  5. The canonical sits in the body or is added late by JavaScript. Google may miss it. For PDFs and other files, send it as an HTTP header instead.

To see what your pages declare, run the SEO checker; it shows the canonical, the title and what Google reads per page. If a page is missing from Google altogether, the website not showing on Google check finds the cause, and our guide to technical SEO covers the rest of the foundations.

What developers and marketers ask

Does every page need a canonical tag?

It is not required, but a self-referencing canonical on every page is a good habit: it catches every variant with parameters you did not foresee.

Is a canonical the same as a redirect?

No. A 301 redirect sends visitors and Google to another address. A canonical leaves the page available and only says which version belongs in search.

Why does Google ignore my canonical?

Because other signals disagree: internal links to the other version, a sitemap listing the other address, or pages that are not actually the same.

SEO

How VBS keeps every page at one address

On every site we build, each page carries a canonical to itself in its own language from day one, and redirects live on the server. After each release, a check confirms that every address in the sitemap answers without a detour. When we move an existing site, as we did for SN Group, every old URL gets its new home. It is part of our SEO work: invisible, but it protects every ranking you already have.

Is your site split across addresses in Google?

Send us your domain, and we will show you which pages share their value with a duplicate.

Optional, if you prefer a call.

What do you want to achieve, and what is already there?

We only use your details to reply to you.