A canonical tag (rel='canonical') is an HTML element in a page's head section that tells search engines which URL is the preferred, authoritative version of a page's content. When the same or very similar content is accessible at multiple URLs — through URL parameters, HTTPS/HTTP variants, www/non-www versions, or paginated content — canonical tags identify which version should rank in search results and receive the link equity from backlinks. Without canonical tags, search engines must guess which version is preferred, often splitting authority across duplicates.
Duplicate content is one of the most common technical SEO problems on modern websites. Ecommerce sites with faceted navigation generate thousands of filtered URL variants of the same category page. CMS platforms often create /index.html variants of pages. HTTPS and HTTP versions coexist on improperly configured servers. Each of these duplications dilutes the search authority that should be concentrated on a single canonical URL.
When to use canonical tags
- URL parameters — filtering, sorting, and tracking parameters that create URL variants with identical content
- HTTPS vs HTTP — always canonicalise to HTTPS
- www vs non-www — choose one and canonicalise consistently across the site
- Paginated content — page 1 of a series should canonicalise to itself; other pages to themselves (not page 1)
- Syndicated content — if content is published elsewhere, the original URL should be declared canonical
- Mobile subdomain (m.site.com) — point to desktop equivalent or use responsive design instead
A 301 redirect sends both users and bots from one URL to another, making the original URL inaccessible. A canonical tag keeps both URLs accessible but tells search engines which is preferred — users visiting the non-canonical URL still see the page. Use 301 redirects when you want to permanently retire a URL and ensure all traffic and authority flows to the new URL. Use canonical tags when you want multiple URLs to remain accessible (e.g. for tracking parameters) but consolidate search authority on one.
Yes — incorrectly implemented canonical tags are a significant technical SEO risk. Common mistakes: canonicalising a paginated series all to page 1 (hides content on subsequent pages from search engines), canonicalising mobile pages to desktop pages incorrectly, using canonical tags that create loops (page A canonicalises to page B, page B canonicalises to page A), and implementing canonical tags via JavaScript (less reliable than server-rendered canonical tags). Always verify canonical tag implementation with Google Search Console's URL Inspection tool.