Canonical URL (canonical tag). What it means.

A canonical URL is the version of a page that a search engine treats as the main one when the same content is reachable at several addresses. A canonical tag states your preference.

By Brady Heinrich · Updated

Definition

A canonical URL is the version of a page that a search engine treats as the main one when the same content is reachable at several addresses. A canonical tag states your preference.

What is a canonical URL?

A canonical URL is the one address, out of a set of duplicate or near-duplicate pages, that a search engine chooses to index and show. Duplicates are more common than they sound: the same page with and without a trailing slash, with tracking parameters, with a sort order, on http and https, or under two categories.

What is a canonical tag?

A canonical tag is a link element with rel="canonical" in the head of a page, naming the URL you want treated as the main version. Every duplicate points to the preferred page, and the preferred page points to itself.

How does Google choose the canonical?

You state a preference. Google makes the decision. Its documentation lists the methods in order of how strongly they influence the choice:

MethodStrength of signal
RedirectsStrong
rel="canonical" link annotationsStrong
Sitemap inclusionWeak

The methods stack, so using more than one, consistently, makes your preferred URL more likely to be chosen. Google also says none of them are required: if you specify nothing, it will pick the version it judges best.

Why set a canonical URL?

  • To control which address appears in search results.
  • To consolidate signals, such as links pointing at different versions, onto one URL.
  • To keep reporting clean, with one row per page instead of five.
  • To avoid crawlers spending time on duplicates.

Canonical tag vs 301 redirect vs noindex

Use a redirect when the duplicate should not exist for visitors at all. Use a canonical tag when both versions need to stay reachable, such as a filtered product list. Do not use noindex to pick a canonical within one site: Google advises against it because it removes the page from search entirely. And do not use robots.txt for this, since a blocked URL can still be indexed without its content.

Canonical tag best practices

Add a self-referencing canonical to the main version, use absolute URLs, link internally to the canonical address, list only canonical URLs in the sitemap, and never give two methods different answers for the same page.

An example

A store's blue widget page loads at /widgets/blue, /widgets/blue?ref=email and /sale/blue-widget. All three carry a canonical tag pointing to /widgets/blue, the sitemap lists only that address and internal links use it. Search results show one URL, and links to any of the three count toward it.

The common mistake

Sending mixed signals: a canonical tag that names one URL, a sitemap that lists another and internal links that use a third. Faced with a conflict, Google decides for itself, and it may not pick the one you wanted.

How people search for canonical URL

  • canonical url1,900 a month
  • canonical tag1,900 a month
  • what is a canonical url1,000 a month
  • what is a canonical tag1,000 a month

US monthly searches, Google Ads keyword data.

Related terms

Go deeper

Building something ambitious? Let's talk.

We reply within one business day.