What is a canonical tag?
A canonical tag is a small piece of HTML code with a big impact. You place it in the <head> section of a web page. It tells search engines which URL they should treat as the original version when several pages have identical or near-identical content. The tag acts as a signpost and helps search engines understand the hierarchy between your pages.
Duplicate content often occurs when the same product is shown via several parameters. That could be filter settings in a webshop or printer-friendly versions of pages. Here, a canonical tag helps search engines like Google consolidate your SEO signals in one place. Without the tag, the signals are spread across several URLs. With the tag, traffic and link equity point towards the page you actually want to rank with, and your organic visibility grows.
Canonical tagging is a technical tool with a strategic role in SEO work. Factor in canonicals alongside meta tags and internal links when you plan your information architecture or develop new templates in your CMS. That way, you get a clear structure that both search engines and users can navigate.
How do you use a canonical tag?
You use a canonical tag by inserting the preferred "master" URL in the href attribute. The tag tells search engines that all duplicate pages should point to this particular version. You add the tag to each page's HTML, typically via your CMS or a plugin. If you work in WordPress, an SEO plugin such as Yoast can manage the tag automatically for you.
A canonical tag is not the same as a 301 redirect. A 301 redirect moves the user and the traffic permanently to a new address. A canonical tag only shows search engines which version should count as the primary one. You can therefore have several URLs live, even though the search results only highlight one of them.
Example of a correct setup:
<link rel="canonical" href="https://www.eksempel.dk/produkt/">
Why you should use canonical tags
A canonical tag protects your website from duplicate content problems. Problems like these can harm your organic visibility. When several URLs point to the same content, you risk search engines splitting the authority between the pages. Then none of them gets to stand alone with the full weight. Your backlinks are diluted, and your ranking in the search results gets weaker.
You also make better use of your crawl budget. Search engines limit how many pages they crawl. If the budget goes on irrelevant duplicates, your important pages can end up being overlooked. That has a direct impact on your SEO and therefore on the organic traffic to your website. If you work with a joined-up strategy across SEO, SEM and content, canonical tagging is an important piece in making the technical side fit together.
What types and variants are there?
Canonical tags come in several types, and each type covers its own scenario on your website:
- Self-referential canonicals: The most common type. The page points back to itself. Many CMSs set it automatically to avoid accidental duplicates.
- Cross-domain canonicals: For content you share across domains. That could be syndicated content, for example, where one version needs to be the official source.
- Geotargeting variants: For several language or regional versions of the same page. Here, the canonical tag points search engines to the main version of the page.
With the different types, you can handle advanced content structures and keep a clear overview in your SEO strategy. They become particularly relevant when you work with international sites or large e-commerce solutions. Here, product pages easily end up with many versions.
How do you use canonical tags in practice?
Start by finding the pages that repeat or overlap each other's content. Use tools such as Google Search Console, Screaming Frog or the analytics tools in your CMS backend. Once you have an overview of the duplicates, choose the page that should be the canonical version. Then add the canonical tag to all the copies.
Example of a typical webshop page with filtering:
If you have a page at https://webshop.dk/produkter?sort=pris, the canonical should point to https://webshop.dk/produkter. That way, you consolidate link equity and search intent in one place.
Always check the setup in Search Console, so you know Google sees the right page as canonical. Avoid chained canonicals, where one page points to another that in turn points to a third. The chain causes confusion and weakens your SEO effect.
If you work with performance marketing, canonical tagging can also affect your ads. With consistent URL structures, you can match tracking data from Google Ads and Analytics precisely to the right page. That gives you a clearer picture of how your organic and paid channels work together.
What should you be aware of?
Many people think a canonical tag solves all duplicate content problems. Search engines only see it as a recommendation, never as a rule. So still avoid unnecessary parameters, and make sure your internal link structure points to the canonical version. Also use one URL version consistently in your internal links, your sitemaps and your ads.
Feel free to combine canonical tagging with a clear redirect strategy and structured markup. That way, you control how search engines crawl, and users find the right page faster. The canonical tag becomes a fixed part of your technical SEO standard and lifts your website both strategically and in day-to-day operations.