Canonical Tags: How to Fix Duplicate Content the Right Way
What is a canonical tag?
A canonical tag is an HTML signal that tells search engines which URL is the preferred version of a page. When similar or duplicate content exists at more than one address, the canonical consolidates ranking signals onto the version you choose.
It looks like a small line in the page head, but it has a large effect on which URL ranks. Canonicals are a core part of technical SEO and closely tied to indexability. Google explains the options in its guide to consolidating duplicate URLs.
Why canonical tags matter
Duplicate content is common and usually accidental. The same product appears under several category paths, a page loads with and without tracking parameters, or a printer-friendly version exists alongside the main one. Without a clear signal, search engines pick one version for you, and it may not be the one you want.
Canonicals let you consolidate that duplication so authority builds on a single URL instead of being split across several. That is often the difference between a page that ranks and one that stalls.
How canonical tags work
- Each page should include a canonical tag in its head pointing to the preferred URL.
- A page that is the preferred version points to itself. This is called a self-referencing canonical and is good practice.
- When several URLs serve the same content, each points to the one canonical URL.
- A canonical is a strong hint, not a hard rule. Search engines usually respect it, but they can choose a different canonical if other signals conflict.
Canonical tags vs 301 redirects
A canonical and a 301 redirect both consolidate signals, but they are not the same.
- Use a 301 redirect when a URL should no longer be accessible and everyone should land on the new one.
- Use a canonical when both URLs need to stay reachable for users, but only one should be indexed.
Common canonical mistakes
- A template that points every page’s canonical to the home page, which can drop the whole section from the index.
- Canonicals that point to a non-preferred or noindexed URL.
- Conflicting signals, such as a canonical pointing one way while internal links and sitemaps point another.
- Relying on a canonical when a 301 redirect is the correct tool.
Key takeaways
- A canonical tag names the preferred URL and consolidates signals when duplicates exist.
- Preferred pages should reference themselves.
- Use a 301 redirect when a URL should not stay reachable, and a canonical when it should.
Frequently asked questions
Does a canonical tag guarantee which URL ranks?
No. It is a strong hint. Search engines usually honor it, but conflicting signals like internal links and sitemaps can lead them to choose a different canonical.
Should every page have a canonical tag?
Yes. A self-referencing canonical on every page is good practice and prevents accidental duplication from parameters or variations.
Part of our Technical SEO guide. For help, see our Technical SEO service.


