What Is a Canonical URL and How Does It Prevent Duplicate Content?
The internet is full of pages that exist at multiple URLs. A product page might be accessible with and without a trailing slash, with different sorting parameters, or via both HTTP and HTTPS. From a visitor's perspective these pages look identical, but from Google's perspective they are separate URLs competing against each other.
Canonical tags solve this problem by declaring which version of a page is the definitive original. When Google sees a canonical tag pointing to a specific URL, it consolidates ranking signals to that URL and is less likely to index the duplicates. Understanding how canonicals work is essential for any website with more than a handful of pages.
How the Canonical Tag Works
The canonical tag is placed in the HTML head section of a page and looks like this: <link rel="canonical" href="https://example.com/your-page/">. It tells Google that, of all the versions of this page that might exist, this specific URL is the one that should be indexed and credited with any ranking signals.
Google treats the canonical tag as a strong hint, not an absolute directive. In most cases Google will honour it, but if it detects signals that contradict the canonical — such as the canonical URL itself returning an error, or the canonicalised version having substantially different content — it may choose a different canonical than the one you specified.
When to Use Canonical Tags
Every page on your site should have a self-referencing canonical tag — a canonical pointing to itself. This is defensive practice that prevents URL parameter variations (such as tracking parameters added by email campaigns) from fragmenting your ranking signals. E-commerce sites should pay particular attention to product pages that can be reached via multiple category paths.
Canonical tags are also appropriate when you syndicate content. If you publish an article on your own site and also allow it to be republished elsewhere, the republished version should carry a canonical pointing back to your original. This ensures Google credits your domain with the authority rather than the syndication partner.
Common Canonical Mistakes
One of the most damaging canonical errors is a page canonicalising to a URL that does not exist or returns a non-200 status code. This effectively removes the page from consideration for indexation without providing a valid alternative. Always verify that canonical URLs are live before deploying.
Another common mistake is conflicting signals — having a canonical pointing to URL A while also including URL A in a disallow rule in robots.txt. Google cannot crawl the canonical destination, so it cannot validate the tag. Similarly, having a noindex tag on the canonical URL itself sends contradictory instructions.
Common questions.
Is a canonical tag the same as a 301 redirect?
Can I canonicalise a page to a URL on a different domain?
What happens if I have no canonical tag?
More on web design & ux.
Want a hand putting this into practice?
Book a free, no-obligation consultation with a Norwich-based specialist.
Let's put your business in a better light.
Book a free, no-pressure consultation. We'll talk through your goals and tell you honestly what we'd do — whether you work with us or not.