What is a canonical tag?
A canonical tag is a line in a page's HTML that tells search engines which address is the main version of a page when the same or very similar content can be reached at more than one address. It stops duplicate pages competing.
Last updated
In more detail
Duplicate addresses are more common than most site owners realise. A product may appear under two categories, with tracking tags, with and without "www", or in a printer-friendly version. Search engines then have to guess which address to show, and links to the page are split between the copies. The canonical tag, written as a link element with rel="canonical" in the head of the page, names the preferred address. Google describes it as a strong signal that the specified URL should become canonical, and notes that it will choose a version itself if none is indicated. Most platforms add the tag automatically. It is usual for a page to carry a canonical tag pointing to itself. The common mistake is pointing every page's canonical at the home page, which asks search engines to ignore the rest of the site. Another is combining a canonical tag with conflicting signals, such as a redirect elsewhere.
Source
The facts that can change were checked against developers.google.com/search/docs/crawling-indexing/consoli… (opens in a new tab) in November 2026.
Related terms
- XML sitemapAn XML sitemap is a file on a website that lists the pages its owner wants search engines to find.→
- Robots.txtRobots.txt is a plain text file at the root of a website that tells search engine crawlers and other bots which parts of the site they may or may not request.→
- HreflangHreflang is an HTML attribute that tells search engines which language and, optionally, which country a page is meant for, and where its alternative versions are.→
More in SEO
Do it with Wonib
Put the words into practice
Wonib learns your brand once, then makes the posts, pictures, copy, decks and documents in it, checked against the brand before you see them. Start free with 1,000 credits, no card needed.
Last updated