Canonical tag, n.

What is a canonical tag?

A link element, rel="canonical", that tells search engines which URL is the preferred version among duplicate or near-duplicate pages.

Filed under meta tags and on-page seo in the SEO glossary

Try the free meta tag & open graph checker

What a canonical tag is

The canonical tag is <link rel="canonical" href="..."> in the head of a page. It names the URL you want search engines to index and rank when the same content is reachable at several addresses, so signals such as links are consolidated on one URL instead of split across duplicates.

Duplicates are common: tracking parameters (?utm_source=), sort and filter parameters, http and https or www and non-www versions, printer views and products listed in several categories.

A hint, not a directive

Google treats the canonical tag as a strong hint. It may choose a different canonical when other signals disagree, for example when internal links, the XML sitemap and redirects all point at another URL, or when the pages are not actually similar.

Make every signal agree: link internally to the canonical URL, list only canonical URLs in the sitemap and use 301 redirects where duplicate URLs need not exist at all.

Best practices and common mistakes

Use absolute URLs, add a self-referencing canonical on every indexable page, and keep a single canonical tag per page. Avoid canonicalising to a URL that redirects, returns 404 or is noindex, canonicalising every paginated page to page 1, and pointing all language versions at one page when you use hreflang.

Example

A canonical on a parameter URL:

<!-- On https://example.com/shoes?sort=price&utm_source=newsletter -->
<link rel="canonical" href="https://example.com/shoes">
Check it on your site: Meta tag & Open Graph checkerPreview your Google snippet and social card, and fix missing tags. Free, no signup.
Questions

Frequently asked questions

Should every page have a self-referencing canonical?

It is recommended. A self-referencing canonical protects the page from parameter and tracking variants being indexed instead.

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

A 301 moves users and crawlers to the new URL. A canonical leaves both URLs working for users but tells search engines which one to index.

Why did Google choose a different canonical?

Other signals, such as internal links, sitemaps, redirects or content differences, pointed elsewhere. Search Console shows the Google-selected canonical in URL Inspection.

Related terms

Keep learning

Full SEO glossary

More free tools

Check the rest of your SEO

All free SEO tools

Find every issue like this across your site

Fix it automatically, then see what the fix earned.

  • The AI drafts the fix for every issue like this across your site, ranked by impact
  • Approve it and the free WordPress plugin publishes it, with one-click undo
  • 28 days later, the clicks each fix earned, from your own Search Console
Fix my site free Free plan, no card · not on WordPress? Copy each fix in