SEO

Canonical Tag

Also known as: rel=canonical, Canonical URL, canonical URL

The canonical tag (<link rel="canonical" href="…">) is an HTML instruction in the <head> with which site owners tell search engines the preferred (canonical) URL of a page. If several almost identical URLs exist for the same content (for example with/without tracking parameters, HTTP/HTTPS, with/without a trailing slash), the canonical tag says: ”This one is the main version — evaluate and rank only this.” Introduced in 2009 jointly by Google, Bing and Yahoo, it remains the most important weapon against duplicate content to this day.

When a canonical tag is mandatory

Common canonical mistakes

Typical bugs: (1) A canonical pointing to a 404 or noindex page — Google then ignores the hint. (2) Canonical chains (A → B → C) — no more than one hop, otherwise the hint is discarded. (3) Several canonical tags in the head — Google takes the first, all others are ignored. (4) Relative instead of absolute — always use an absolute URL including the protocol. (5) A canonical in a different language from the hreflang target — a conflict in which both signals are weakened.

A canonical is only a hint

Important: Google treats the canonical tag as a hint, not a command. If the canonical URL is clearly worse (404, noindex, blocked) or the signals (backlinks, clicks) argue clearly against it, Google itself chooses a different variant as canonical — visible in Search Console under ”indexing status”. Anyone wishing to avoid problems combines the canonical with consistent internal links to the same URL.

Example from practice

Example: A shop has a category page /sneaker which, when filtered, turns into /sneaker?marke=nike&sortierung=preis. Without a canonical, Google sees hundreds of almost identical variants and distributes ranking signals arbitrarily. With <link rel="canonical" href="https://shop.de/sneaker"> on all variants, the backlinks and click signals consolidate on the main URL — top 10 visibility for ”sneaker” typically rises measurably after 6–10 weeks.

Frequently asked questions

What is a canonical tag?
The canonical tag (<link rel="canonical" href="...">) tells search engines which URL is the ”original” version when several almost identical pages exist. It is a signal against duplicate content: only the canonical URL is indexed, and the duplicates pass their ranking signals to it.
When do I need a canonical tag?
Always with content duplicates: print versions, URL parameter variants (filters, sorting), HTTPS/HTTP duplicates, WWW/non-WWW, mobile/desktop versions, as well as with very similar content (for example product variants). A self-referencing canonical should also be set on original pages.
What is a self-referencing canonical?
A canonical that points to its own URL. It sounds redundant, but it is important: it prevents parameter variants (UTM tracking, session IDs) from being indexed as separate URLs. Best practice: every indexable page has a self-referencing canonical.
Does Google sometimes ignore canonical tags?
Yes — when it contradicts other signals. Google treats the canonical as a hint, not a command. Where there are strong contradictions (internal linking, XML sitemap, hreflang, content similarity), Google chooses a different URL. This is visible in Search Console under ”Pages → Canonical”.

Used in Rankmio for

Canonical and duplicate content check in the SEO audit

Go to the feature →

Last updated: 2026-06-17  ·  Browse all glossary entries

Free SEO & GEO Check

SEO score, AI visibility and citability of your website in 30 seconds — no registration required.

Check for free now

Ready to optimize your website?

Register for free, get 10 credits and start right away.

Register now