A canonical tag is a line of HTML in a page’s head section that tells search engines which URL is the main version of a page when the same or very similar content is available at more than one address.
It looks like this: link rel=”canonical” href=”https://example.com/page/” placed inside the head of the page.
Why canonical tags exist
The same content often appears at several URLs without anyone intending it: with and without tracking parameters, through filter and sort options, on printer-friendly versions or under both HTTP and HTTPS. Without guidance, Google picks one version itself and may split ranking signals between them. The canonical tag consolidates those signals onto the URL you prefer.
Best practice
- Add a self-referencing canonical on every indexable page, pointing to its own clean URL.
- Use absolute URLs, including https and the correct domain.
- Point duplicates and near-duplicates to the version you want to rank.
- Keep canonicals consistent with your XML sitemap, internal links and redirects. Mixed signals weaken the hint.
- Do not canonicalize pages that are genuinely different, such as page 2 of a category to page 1.
Canonical is a hint, not a command
Google treats rel=canonical as a strong signal but can choose a different URL if other signals disagree. You can see which URL Google selected in the URL Inspection tool in Google Search Console.
Canonical issues are a common part of technical SEO work, especially on stores with Faceted Navigation and on sites with Duplicate Content.
FAQ
What is the difference between a canonical tag and a 301 redirect?
A 301 Redirect sends users and bots to a new URL. A canonical tag leaves both URLs accessible to users but tells search engines which one to index.
Should I use canonical tags or noindex for duplicates?
Use canonical when you want signals consolidated into a main page. Use Noindex Tag when a page should not appear in search at all. Avoid using both on the same page, as they send conflicting signals.
Guides that cover Canonical Tag
- UTM Parameters: How to Build, Name and Track Campaign LinksUTM parameters are short tags added to a link so Google Analytics can tell which campaign, channel and...
- How to Get Your Website on Google: Steps, Timelines and FixesGetting your website on Google is free. Make sure the site is crawlable, verify it in Search Console,...
- Toronto Web Development: 7 Essential Strategies for Building Modern Websites in 2026Discover 7 proven web development strategies for Toronto businesses in 2026, covering costs, top agencies, programming languages, and...
