Skip to main content
Legia

SEO & Digital Marketing

What is a Canonical Tag?

Also called rel canonical, canonical URL, canonical tag.

Short definition

A canonical tag is a link rel="canonical" element in a page's code that tells search engines which URL is the main version when several URLs show the same or very similar content.

Why duplicates appear

A single page can open at several addresses: with and without www, with tracking parameters from campaigns, as a print version, or with filters in a different order in a product catalog. Without a hint, search engines pick one version to show on their own, and signals such as links can be split across several addresses.

A hint, not a command

According to Google, rel=“canonical” is a strong signal, but still a signal. That means setting a canonical does not guarantee the URL you point to will be used. Google weighs it together with redirects, sitemaps, internal links, and HTTPS, and may choose a different URL as canonical when those signals conflict. The URL Inspection tool in Search Console shows both the canonical declared by the site owner and the canonical Google actually chose.

Common mistakes

Every page points to the home page as its canonical, so other pages are treated as duplicates and disappear from search. The canonical points to a URL that redirects, is blocked by robots.txt, or is marked noindex. Page two and beyond in a paginated list point to page one even though their content is different. For pages that have moved permanently, a 301 redirect is more appropriate than a canonical. After a major template change, recheck a few sample pages so a canonical error does not spread to hundreds of pages at once.

Related Legia service SEO Technical fixes, content structure, and local search, measured through to incoming inquiries.