Digital Glossary · Marketing

What is a canonical tag?

In brief

A canonical tag (rel=canonical) is a hint in the HTML code that tells search engines which URL is the preferred main version when the same or very similar content is reachable at several addresses. It consolidates signals and avoids duplicate content.

Category MarketingReading time approx. 3 minLast updated October 16, 2026
Featured image: Canonical tag

Canonical tag: definition and purpose

Many websites are reachable at more than one address: with and without www, with filter or sorting parameters, with tracking additions from newsletter links, or as a print version. To search engines, these are initially different URLs with almost identical content. The canonical tag names the address that should count as the main version.

It sits as a link element in the head of the page, with rel=canonical and the full target URL in the href attribute. For non-HTML files such as PDFs, it can be sent as an HTTP header. Google treats it as a strong signal, but not as a binding command.

How the canonical tag works

When Google finds several similar pages, it groups them together and picks one version as canonical. As a rule, only that version appears in search results. The canonical tag feeds into that decision, as do redirects, internal links, and inclusion in the sitemap. If the signals contradict each other, Google may choose a different URL.

A self-referencing canonical is considered good practice: the main version points to itself. That fixes the clean address even if someone accidentally appends parameters, for example through a newsletter link or a search function, and it prevents such variants from being treated as separate pages.

Real-world example: a product catalog with filters

A manufacturer of industrial valves offers its catalog with filters for material, nominal size, and pressure rating. Every filter combination creates its own URL, and sorting options and campaign parameters from the newsletter add more. Without control, links are spread across many variants, and Google spends crawl budget on near-identical pages.

A canonical tag pointing to the clean category or product page consolidates the signals, and Google focuses on the important pages when crawling and ranking. Filter combinations with their own search demand can deliberately be built as separate landing pages with their own canonical instead of being merged.

Common mistakes and limits

The tag does not replace a redirect: if an old address is no longer needed, a 301 redirect is the stronger tool. On multilingual sites, each language version points to itself, not to the German version, otherwise translations drop out of search results. Common mistakes:

  • Relative instead of absolute URLs in the canonical
  • Canonical pointing to a redirect or an error page
  • Canonical and noindex on the same page
  • Several contradictory declarations, for example from a plugin and the theme
  • All pages pointing to the home page across the board

Imple­menta­tion and monitoring

Good CMS and store systems set the canonical tag automatically, but a check is still worthwhile. The URL Inspection tool in Google Search Console shows which address Google chose as canonical. For custom-built websites, Nano Concepts defines the canonical logic in the template from the start.

Frequently asked questions about Canonical tag

A 301 redirect automatically sends visitors and crawlers to the new address, and the old one is no longer accessible. With a canonical tag, both pages stay reachable; search engines only receive a hint about which version is preferred.

It is not required, but it is recommended. A self-referencing canonical on every indexable page prevents problems caused by parameters and variants. If it is missing, Google chooses the main version itself, and the result is not always the one you want.

No, it is a hint, not a command. If the canonical, redirects, internal links, and sitemap contradict each other, Google may choose a different URL as the main version. In Search Console you can see which one it chose.

As a rule, no. The problem is rather that signals are spread across several variants and Google may show the wrong one. A canonical tag makes sure the page you want consolidates the signals.

Matching services

Related terms

Relevant for these industries

Related magazine articles

Get the right quote in 60 seconds

Needs analysis: Canonical tag

Answer a few short questions – we usually get back to you within 24 hours with an initial assessment.

Request a project