Canonical SEO
Tells a search engine which URL is the real one when the same page sits at several addresses, consolidating duplicate signals into a single preferred version.
If you have ever set a canonical tag and still seen the wrong URL in search results, you already know it is a strong signal, not a command Google always follows.
Key points
- Place exactly one
rel="canonical"tag in the<head>of each duplicate page. - Point the canonical to a live, indexable URL that uses the correct protocol and host.
- Keep canonical signals consistent with internal links, redirects, and sitemap entries.
- Use self-referencing canonicals on your preferred URL to reinforce its status.
- Check that parameterised, filtered, or session-based URLs carry a canonical back to the clean version.
One product, three URLs, one canonical
An online shop sells a red jacket. The same jacket lives at /jacket-red, /jacket?color=red, and /jacket?color=red&sort=price. Without a canonical tag, Google might index all three or pick the wrong one. The shop adds <link rel="canonical" href="https://example.com/jacket-red" /> to the <head> of both parameterised URLs. Google now treats /jacket-red as the representative page, consolidating link equity and avoiding duplicate content issues.
Four ways it goes wrong
- Multiple canonicals on one page Google may ignore all canonical signals if it finds more than one
rel="canonical"tag. Use exactly one per page. - Canonical to a redirected URL Pointing a canonical to a URL that 301 redirects creates a chain. Google follows the redirect but may treat the signal as weak or conflicting.
- Broken or non-indexable target A canonical pointing to a 404 page or a URL blocked by
noindexwastes the signal. The target must be live and indexable. - Inconsistent signals across sources If internal links, sitemaps, and the canonical tag point to different URLs, Google may override your declared canonical with its own choice.
What to check before acting
- Crawl budget impact Every duplicate URL Google crawls consumes crawl budget. Proper canonicalisation reduces unnecessary crawling and frees budget for important pages.
- Sitemap alignment Only include canonical URLs in your sitemap. Listing non-canonical versions there sends a weak signal that conflicts with your declared preference.
- 301 redirect versus canonical A 301 redirect moves users and search engines permanently. A canonical tag only suggests a preference. Use a redirect when the duplicate should not exist at all.
Common questions
What is a canonical URL in SEO?
It is the preferred URL from a set of duplicate or near-duplicate pages, declared to consolidate indexing and ranking signals.
How do I add a canonical tag in HTML?
Insert <link rel="canonical" href="https://example.com/your-url/" /> inside the <head> of the duplicate page, ensure it is the only canonical tag, and confirm the target URL is live and indexable.
What is a canonical example?
A product page at /jacket?color=red with a canonical pointing to /jacket-red is a common example of consolidating parameterised duplicates.
Sources
- Google Search Central: Canonicalization Official guide on how Google interprets canonical signals and best practices.
- Google Search Console Help: Canonical URL Explains how to check and troubleshoot canonical URLs in Search Console.
- Google Search Central: Consolidate duplicate URLs Covers methods for consolidating duplicates including canonicals and redirects.