Canonical tag

Also called: rel=canonical, canonical URL

Updated November 9, 2026

A canonical tag is a line in the head of a page, rel=canonical, that tells search engines which address is the main version of that page when the same content can be reached at more than one address.

Why it matters on a small site

The same page often lives at several addresses without anyone planning it: with and without www, with a tracking code such as ?utm_source=newsletter added by an email tool, or a product reached from two categories. Google shows one of them in results and treats the others as copies.

A canonical tag says which one you want shown, so the links and signals the page earns add up on one address instead of being split. Google calls it a strong signal, not an order: if your sitemap or your own links point at a different address, it can pick that one instead. Google also recommends a canonical on the main page itself, pointing at its own address.

How to check yours

Most website builders and blog platforms write the tag for you, so on a small site the job is usually checking it, not writing it.

  1. Open the page, view its source and search for canonical. You should find one tag, with the full https address of the page itself or of its main version.
  2. In Google Search Console, paste the address into URL Inspection and compare the canonical you declared with the one Google selected.
  3. In the Pages report, look at the pages listed as duplicates. Those are the addresses where Google chose a different main version than you, or found no canonical at all. Our guide to why a site is not on Google covers the rest of that report.

Mistakes that cause trouble

  • Every page pointing its canonical at the home page, so Google treats them all as copies of it.
  • A canonical that points at an address which redirects or no longer exists.
  • Two different canonicals on one page, often one from the theme and one from a plugin.
  • Using robots.txt to hide the copies. Google advises against it: a blocked address can still be indexed, just without its content.

Often confused with

  • 301 redirect

    A 301 redirect sends visitors and Google to the other address, so the old one can no longer be opened. A canonical tag leaves both addresses working and only says which one should appear in search.

  • Noindex

    Noindex keeps a page out of Google entirely. A canonical tag keeps the content in Google but under the address you choose. Google advises against noindex for picking a main version.

Frequently asked questions

›Does every page need a canonical tag?

No. Without one, Google picks the main version on its own. A canonical that points at the page itself is still a cheap safeguard against copies made by tracking codes.

›Why did Google choose a different canonical than mine?

Because other signals disagreed with your tag: a redirect, your sitemap, your internal links or a near identical page. Make them all point at the same address.

Read more

Sources

  1. Google Search Central How to specify a canonical URL with rel="canonical" and other methods
  2. Search Console Help Page indexing report