What is Canonical Tag?
A canonical tag is a line of HTML that tells search engines which URL is the main version of a page when similar or duplicate versions exist.
Many website owners assume that every URL on their site is a separate page in Google's eyes. In reality, one product or article can live at several addresses: with and without "www", with tracking parameters, or with a sorting option added at the end. A canonical tag is how you tell search engines which of those addresses is the original.
In simple words, it is a short line in the head section of a page that says, "If you find copies of this page, treat this URL as the main one." It is not a redirect. Visitors still see whichever URL they opened. Only search engines read the hint.
How it works in practice
For example, imagine an online store in Jaipur selling handmade bedsheets. The same bedsheet might appear at /bedsheets/blue-floral/, at /bedsheets/blue-floral/?color=blue and at /sale/blue-floral/. Without guidance, Google has to guess which one to show, and your ranking signals get split across three versions. With a canonical tag on all of them pointing to /bedsheets/blue-floral/, those signals come together on one URL.
That said, Google treats the canonical tag as a strong hint, not a command. If your other signals disagree, such as internal links pointing to the parameter version or a sitemap listing the sale URL, Google may choose a different canonical on its own. This is why consistency matters more than the tag alone.
Why it matters today
Search engines and AI systems both work better when your site sends one clear message. When duplicate versions compete, crawl time is wasted, and the version that ranks may not be the one you want customers to land on. Canonical tags are a quiet fix for duplicate content problems that most site owners never notice, and they are a core part of technical SEO.
What to check on your own site
- Every important page has a self-referencing canonical, meaning the tag points to its own clean URL.
- The canonical URL returns a 200 status, not a redirect or a 404 error.
- HTTPS and your www or non-www choice are consistent across the canonical, your internal links and your XML sitemap.
- Paginated pages, such as page 2 and page 3 of a blog category, point to themselves, not all to page 1.
- No page combines a canonical tag pointing elsewhere with a noindex tag, which sends mixed signals.
When a canonical is not the right tool
If a page has moved for good, use a 301 redirect instead, because you want both people and search engines to reach the new address. Canonical tags suit situations where several versions need to stay live for visitors, such as filter options or tracking links from a WhatsApp campaign.
Simple takeaway
A canonical tag is like writing "original" on one photocopy in a pile. It does not remove the other copies, but it tells search engines which one deserves the credit. Set it on every key page, keep your other signals consistent, and check it whenever you change your URL structure. If you are unsure where you stand, a free SEO audit can flag canonical issues quickly.
Related terms
By Rahul Vithala. Browse the full digital marketing glossary.