Vezi pagina în română

IT Glossary

What is a canonical URL?

The canonical URL is the address Google picks as representative from a group of pages with the same content; a site proposes it with rel=canonical, but the final decision is Google's.

7
sections
7
questions answered

A canonical URL is the address Google picks as representative from a group of pages with identical or very similar content, and it indexes only that one from the group. You propose it with the rel=canonical tag, but Google calls the declaration a hint, not a rule (Search Central, "What is URL canonicalization", updated 20.08.2026) and can choose another address. In Search Console, a duplicate with no declared canonical shows as "Duplicate without user-selected canonical" and a redirected http or www variant as "Page with redirect". The rel=canonical relation is defined in RFC 6596 (IETF, Informational, April 2012).

The same product in your shop can be reached at several addresses: with and without www, from the sale category and the ordinary one, with campaign parameters attached or without them. To a person it is one page; to Google they are separate pages with identical content, and the signals (links received) can split between them. Correct canonicalisation gives Google a clear hint about the preferred address and helps it consolidate those signals. It is invisible to visitors, but on shops with filters and several category routes it is among the first checks of a technical SEO audit.

Why it matters for your business

Search signals gathered on one address

Links and signals collected by the variants of a page can be consolidated by Google into the canonical one: a single strong page instead of several weak ones competing.

The clean address gets priority in the index

Google gets a strong signal to show the clean version of the address in results rather than one carrying filter or campaign parameters.

Crawl effort spent on new pages

When duplicates are declared correctly, Google spends less time re-reading copies, so new pages and products have a better chance of being crawled.

How Google picks the canonical page

Google groups duplicate pages (http and https, with and without www, parameters, sort orders or filters, mobile and desktop versions), picks one address from the group using several signals and indexes only that one. Search Console Help states that Google can only index the canonical URL from a set of duplicate pages.

The signals do not weigh the same. According to Google's "Consolidate duplicate URLs" documentation (updated 10.07.2026), a redirect and the rel=canonical tag (in the page or in the HTTP header) are strong signals, while inclusion in a sitemap is a weak one. Methods add up: the more of them point at the same address, the more stable the choice. HTTPS and internal links count as well.

How to declare the canonical URL

The usual method is a link rel="canonical" element in the head of the page, with the full (absolute) address. Google accepts relative paths but does not recommend them. The preferred page carries a canonical pointing at itself (self-canonical): recommended practice, not mandatory. For non-HTML files such as PDFs, use the HTTP Link header.

The safest place for the tag is the HTML the server sends, with JavaScript not changing it. If it cannot be set in the HTML, Google accepts it being added with JavaScript alone. Do not use robots.txt for this (Google may index a blocked address without its content) and do not use noindex to choose a canonical inside one site, because it removes the page from search entirely. A canonical may also point to another domain, which is useful for an article republished elsewhere.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Canonical URL or 301 redirect

Use a redirect when the old address must disappear: moving from http to https, from www to non-www, a moved or renamed page, a site migration. Use a canonical when the variants must stay reachable by people but should not be indexed separately: filters, sort orders, UTM or gclid parameters, the same product in two categories, a print version.

What a 301 redirect is has its own glossary entry. The rule of choice is simple here: if the visitor no longer needs the old address, redirect; if they do, canonical.

What Search Console shows about the canonical

URL Inspection shows both the canonical you declared and the one Google selected. Google's choice is visible only from indexed data; the live test cannot predict it (Search Console Help, "URL Inspection"). Relevant statuses are "Duplicate without user-selected canonical" and "Page with redirect".

"Duplicate, Google chose different canonical than user" means you declared a canonical but Google picked another address: either it does not consider the page a duplicate of your target, or your signals contradict each other. "Alternate page with proper canonical tag" means the page points correctly to its canonical and there is nothing to fix.

Common mistakes with rel=canonical

A canonical pointing to a page with different content: RFC 6596 requires the target to be a duplicate or a superset of the page, and Google will never choose a declared canonical that is not similar to the current page. Pages 2 and 3 of a category or article pointing to page 1: Google says not to use the first page of a paginated sequence as the canonical page. Contradictory signals: the canonical names one form of the address while the sitemap, menus and internal links use another. A canonical to an address that redirects or returns 404. A theme or plugin that points every page's canonical at the homepage. Canonical and noindex on the same page.

If a supplier builds or maintains your shop, ask for three things: one address form everywhere, a self-canonical on every indexable page, and filters and parameters covered. Without them the damage builds silently: nothing looks broken, but the site ranks below what its content could deliver.

Frequently asked questions

What does a canonical tag actually look like?

It is one line in the head section of the page: a link element whose relationship is set to canonical, with the full address of the official version as its target. Every indexable page should carry one, including a self-referencing tag, so that variants with parameters appearing later are covered automatically.

What is the difference between a canonical tag and a permanent redirect?

A redirect moves the visitor to another address, so the old page can no longer be seen. A canonical tag leaves both variants reachable by people and only tells Google which one to treat as official. Redirect for addresses that must disappear, canonical for variants that must exist but not be indexed.

Why does Google choose a different canonical than the one I declared?

Google treats your declared canonical as a hint. It usually picks another address either because it does not consider the page a duplicate of your declared target, or because your signals contradict each other: the tag, internal links and sitemap point at different forms. The fix is alignment, one address form everywhere.

Is the rel=canonical tag mandatory for Google?

No. It is a strong signal but not a rule, and Google can choose another address. Without it Google picks the representative address on its own from other signals such as redirects, the sitemap and internal links. That is why it is worth declaring explicitly on every indexable page.

Can a canonical URL point to another domain?

Yes. A duplicate can sit on a different domain from its canonical, for example an article republished on another site that points back to your original. The condition is that the text is the same or very similar, otherwise Google will not choose the declared address.

Should pages 2 and 3 of a category use page 1 as canonical?

No. Each page in a paginated sequence carries its own canonical, pointing at itself. Google says not to use the first page as the canonical for the rest, and RFC 6596 discourages it too, because pages 2 and 3 hold different content from page 1.

How do I find out which canonical Google chose?

Use URL Inspection in Search Console: the report shows the canonical you declared and the one Google selected. The selection appears only from indexed data, the live test does not show it, and a search with the site: operator does not confirm it.