What is a canonical tag?
A canonical tag is an HTML link element that tells search engines which URL is the preferred, authoritative version of a page when duplicate or very similar content exists across multiple URLs.
Definition
A canonical tag is a snippet of HTML placed in the head of a page, written as a link element with rel set to 'canonical' and an href pointing to the preferred URL. It signals to search engines that, among a group of duplicate or near-duplicate pages, one specific URL should be treated as the master copy for indexing and ranking.
The tag is a hint, not a strict command. Search engines usually respect a well-implemented canonical, but they may choose a different URL if other signals strongly disagree. It works best when it is consistent with your internal links, sitemaps, and redirects.
Why it matters
Websites routinely serve the same or similar content under multiple URLs: tracking parameters, session IDs, print versions, sorted or filtered listings, and http versus https variants can all create duplicates. Without guidance, a search engine has to guess which version to index, which can split ranking signals across duplicates and waste crawling on redundant pages.
A canonical tag consolidates those signals onto one URL, helping the preferred page accumulate the full value of links and relevance. This keeps indexing clean, reduces duplicate-content confusion, and can improve how efficiently a large site is crawled.
How to use it correctly
Point the canonical to the single preferred, fully qualified URL, and make it self-referential on the master page itself so the intended version is unambiguous. Keep canonicals consistent with the URLs you link to internally and list in your sitemap, and avoid canonicalizing to a page that redirects, is blocked, or returns an error.
Use canonical tags for genuine duplicates or close variants, not as a substitute for redirects when a page has permanently moved. For pagination or faceted navigation, decide deliberately whether each URL should be self-canonical or consolidated, because pointing every variant at page one can hide content you actually want indexed.
Frequently asked questions
Is a canonical tag the same as a 301 redirect?
No. A redirect sends both users and crawlers to a different URL, while a canonical tag keeps the page accessible but tells search engines which version to prefer for indexing.
Will search engines always obey a canonical tag?
Not always. A canonical is a strong hint, but search engines can override it if other signals such as internal links or sitemaps point clearly to a different URL.
Keep reading
Want this machine pointed at your site?
This page is one of a swarm we generated for ourselves. We build the same for you.
Get Started - $10,000