SEO & GEO glossary

Canonical tag

A canonical tag is a line of HTML, <link rel="canonical" href="…">, that tells search engines which URL is the main version of a page when the same or very similar content is available at several addresses.

Also known as: rel="canonical", Canonical URL, Canonical link

Why it matters

Duplicate addresses are common: tracking parameters, sort orders, print versions, HTTP and HTTPS, or one product listed in two categories. Without a clear signal, search engines pick a version themselves, may split links and signals between the copies, and may show the address you did not want.

Google treats rel="canonical" as a strong signal rather than a command, and weighs it alongside redirects, sitemaps and internal links, as its canonicalization guide (opens in a new tab) explains. Keep the signals consistent: link internally to the canonical URL, list only canonical URLs in your sitemap and use absolute URLs in the tag.

Google also advises against using robots.txt or a noindex rule to choose a canonical within a site. A canonical tag on every page that names its preferred URL, even when that URL is the page itself, is the clearer signal.

Example

A shop’s trail shoe appears at /shoes/trail-runner and at /sale/trail-runner?color=blue. Both pages carry <link rel="canonical" href="https://example.com/shoes/trail-runner">, so search engines consolidate signals on that one address and show it in results.

Sources

Put the theory to work on your own site

DraftSEO is an AI SEO writer that researches keywords, writes SEO- and GEO-optimised articles with images, internal links and FAQs, and auto-publishes them to your website on a schedule.

Start for free