All IssuesResourcesGlossaryAdvertiseWork With Us
Search Performance Marketing
← Marketing Glossary
Definition

Canonical Tag

Also known as: rel=canonical, Canonical Link, Canonical URL

A canonical tag is an HTML link element, written as rel="canonical" in the page's head, that tells search engines which URL is the preferred version when the same or very similar content is reachable at several URLs. Google treats it as a strong signal, but still a hint, not a rule, when it picks the canonical.

Key Takeaways

  • The canonical tag names the preferred URL among duplicate or near-duplicate pages.
  • Google treats rel=canonical as a strong signal, alongside redirects, while sitemap inclusion is a weak one.
  • It is a hint, so Google can choose a different canonical if your other signals disagree.
  • Put it in the head, use absolute URLs, and include a self-referencing canonical on the canonical page.
  • Do not canonicalize paginated pages to page one, and do not use noindex or robots.txt to pick a canonical.

How It Works

Canonicalization is the process of picking the one representative URL for a piece of content. Duplicates happen for ordinary reasons: tracking parameters, sort and filter options, HTTP and HTTPS versions, or the same product in two categories. The tag itself is one line in the head, such as <link rel="canonical" href="https://example.com/dresses/green-dress">, and for non-HTML files like PDFs the same instruction can be sent as an HTTP header.

Google ranks the ways to signal a canonical by strength: redirects and rel=canonical annotations are strong signals, sitemap inclusion is a weak one, and the methods stack when combined (Google Search Central). Google also says that indicating a canonical is a hint, not a rule, so it may choose a different page (Google Search Central). The way to make your choice stick is consistency: internal links, sitemap entries, and hreflang should all point at the same URL you declare.

A few rules prevent most problems. Use absolute URLs, include a self-referencing canonical on the canonical page, never point a canonical at a URL fragment, and do not mix different canonicals through different methods. Google advises against noindex or robots.txt for canonicalization, and for paginated series it says to give each page its own canonical rather than pointing them all at page one (pagination guidance). Canonical checks are part of my technical SEO checklist, and the technical SEO hub covers the rest of crawling and indexing.

Why It Matters

Duplicate content splits link equity and can leave engines guessing which version to rank. A correct canonical consolidates signals to one URL, preventing self-competition and helping the right page earn rankings for its target queries.

Example

An online store sells the same jacket at /jackets/rain-shell, /sale/rain-shell, and /jackets/rain-shell?color=blue. Each version carries a canonical tag pointing to /jackets/rain-shell, the sitemap lists only that URL, and internal links use it too. Google consolidates the duplicates onto the one URL, and Search Console's URL Inspection shows the user-declared and Google-selected canonical match.

Common Mistake

Sending mixed signals: a canonical that points to one URL while internal links, the sitemap, or a redirect point to another. Other frequent errors are canonicals that point to redirected or noindexed URLs, relative URLs that resolve wrongly, and paginated pages all canonicalized to page one, which Google advises against.

Frequently Asked Questions

What is a canonical tag?

A canonical tag is a line of HTML in a page's head, <link rel="canonical" href="...">, that tells search engines which URL you prefer when the same content exists at more than one URL. It helps Google consolidate duplicates onto one version.

What does canonical mean in SEO?

In SEO, canonical means the main, representative version of a page. The canonical URL is the one Google chooses to show in search from a set of duplicates. You can suggest it with a canonical tag, redirects, and sitemaps, but Google makes the final choice.

Is a canonical tag a directive or a hint?

A hint. Google calls rel=canonical a strong signal, but says indicating a canonical preference is not a rule, and it may choose a different URL. Keeping internal links, sitemaps, and redirects consistent with your canonical makes Google more likely to follow it.

Should every page have a self-referencing canonical?

Yes, Google recommends including a rel=canonical link on the canonical page itself. A self-referencing canonical with an absolute URL protects the page when parameters or other duplicate versions of the URL appear.

What is the difference between a canonical tag, noindex, and a 301 redirect?

A canonical keeps duplicates accessible but asks Google to treat one URL as the main version. A 301 redirect sends users and crawlers to a new URL and is also a strong canonical signal. Noindex removes a page from search entirely, so Google advises against using it to choose canonicals.

What is a canonical URL?

The canonical URL is the version of a page that Google selects as most representative among duplicates, and the one it usually shows in results. The URL you declare in your canonical tag is your suggestion; URL Inspection in Search Console shows the one Google actually picked.

Sources