Skip to main content
2Marketing logo
FREE CHECK Are AI engines recommending you? See if ChatGPT, Gemini and Perplexity mention your business. Check AI visibility →
Classic SEO + AI search, one team647-558-8875
Call us now647-558-8875 Free proposalReply within 24h Book a call30 min, free Free AI reportSee how you rank
TALK TO A STRATEGIST 647-558-8875 info@2marketing.com Canada · USA · UAE · Europe
Call Book Free ProposalNo obligation
Glossary · CTechnical SEOUpdated November 25, 2026

Canonical Tag

Dr. Salman SabirReviewed by the 2Marketing team1 min read
Definition

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.