Blog · Technical SEO
Technical SEO

What are canonical tags, and when do you need them?

Prem JasujaBy Prem Jasuja, Founder · 5 min read · September 2026

A canonical tag is a small line of code (<link rel="canonical">) that tells search engines which URL is the master version of a page when several URLs show similar or identical content. It stops duplicate versions from competing with each other and splitting your ranking signals.

Why duplicate URLs happen

Most sites create duplicates without meaning to: tracking parameters (?utm=...), trailing slashes, HTTP versus HTTPS, www versus non-www, printer pages, and filtered category pages. To a person they look like one page. To Google they are separate URLs with the same content, and the ranking strength gets divided across them.

What a canonical tag does

It points every duplicate at one preferred URL. Google then consolidates the signals, links, relevance, authority, onto that single canonical version, so it ranks as one strong page instead of several weak ones.

When to use a self-referencing canonical

Common mistake

Do not canonical every page to the homepage. That tells Google your inner pages are duplicates of the home page, and they drop out of the index. Each page should canonical to itself unless it is a genuine duplicate.

Canonicals are one piece of a healthy technical setup, alongside schema markup and internal linking. If your rankings feel capped, a technical SEO audit usually finds why.

Duplicate URLs hurting your rankings?

We audit and fix canonicals, crawl and indexation issues so your content gets the credit it earns.

Book a free call

Keep reading