Glossary · Definition
Canonical URL
A canonical URL is the one 'official' URL for a piece of content, declared to search engines via a <link rel="canonical"> tag. It tells Google 'if you find this page at multiple URLs, treat this one as the main version.'
Definition
A canonical URL is the one 'official' URL for a piece of content, declared to search engines via a <link rel="canonical"> tag. It tells Google 'if you find this page at multiple URLs, treat this one as the main version.'
What it means
Duplicate content is ubiquitous — the same page can be reached via example.com/page, www.example.com/page, example.com/page/, example.com/page?ref=email, and many other URLs. Without guidance, Google might split ranking signals across all versions, or pick the 'wrong' one as canonical. The rel=canonical tag solves this by explicitly telling search engines which URL to prefer. It goes in the <head>: <link rel="canonical" href="https://example.com/page" />. Google treats this as a strong hint, not a directive — in extreme cases it may still pick a different canonical, but respecting your declaration is the default.
Advertisement
Why it matters
Canonical URLs matter for any site with tracking parameters, pagination, filters, or multiple site versions (HTTP/HTTPS, www/non-www). Without them, PageRank gets diluted across duplicates and the 'wrong' version can rank — or none at all, as Google hedges. Setting canonical tags correctly is a 30-minute fix that often unlocks meaningful traffic on medium-sized sites.
Example
An e-commerce product page at /shoes/nike-air?color=red&size=10 should have a canonical pointing at /shoes/nike-air — so Google consolidates ranking signals onto the one product URL, not scattering them across dozens of color/size variants.
Related free tools
Frequently asked questions
Is a self-referencing canonical useful?
Yes — always set canonical to the page's own URL, even on unique pages. It's explicit self-declaration and handles any stray query strings.
Does canonical affect indexing?
Google generally only indexes the canonical version. Non-canonical duplicates are crawled but rarely ranked.
What about 301 redirects?
Redirects are stronger than canonical — they consolidate URLs at the HTTP level. Use 301s when you genuinely want one URL to replace another; canonical when both URLs legitimately exist but one is preferred.
Related terms
- DefinitionMeta descriptionA meta description is a 150-160 character HTML tag that summarizes a web page. Google often uses it as the search-result snippet beneath the blue title — which directly affects click-through rate.
- DefinitionXML sitemapAn XML sitemap is an XML file that lists every URL you want search engines to crawl and (usually) index. It's not a ranking factor, but it helps Google discover and re-crawl your pages faster.
- Definitionrobots.txtrobots.txt is a small text file served at /robots.txt that instructs search-engine crawlers which parts of a site they can and can't crawl. It's a suggestion, not a lock — well-behaved bots honor it.