A canonical tag (rel="canonical") is an HTML element placed in the head section of a page that tells search engines which URL is the preferred version when duplicate or near-duplicate content exists at multiple addresses.
The canonical tag is implemented as <link rel="canonical" href="preferred-url"> in the HTML head. It signals to search engines that a page may be accessible at multiple URLs, but the specified URL should be treated as the authoritative version for indexing and ranking purposes. Search engines consolidate ranking signals from all duplicate URLs to the canonical version.
Duplicate content is extremely common — the same page can be reached via HTTP/HTTPS, www/non-www, URL parameters, print versions, and tracking parameters. Without canonical tags, search engines may index the wrong version, split link equity across duplicates, or waste crawl budget on duplicate pages. Canonical tags solve all three problems.
Add a canonical tag to every page pointing to its preferred URL. Self-referencing canonicals (pointing to the current page's own URL) are a best practice. For duplicate pages, the canonical should point to the primary version. Canonical tags are hints, not directives — Google may choose to ignore them if they appear incorrect. Verify canonical implementation in Google Search Console.
Want to learn more? Explore our SEO Glossary or check out our expert guides on SEO strategies.