Canonical tag
Also called rel=canonical
A canonical tag is a line of HTML that tells search engines which URL is the main version of a page, when the same or very similar content is available at more than one address.
When you need one
- URLs with tracking parameters, such as ?utm_source=.
- The same page reachable with and without a trailing slash or www.
- Content syndicated on other sites.
- Product or listing pages with filters and sorting.
Best practice
Give every indexable page a self-referencing canonical, pointing to its own clean URL. It prevents duplicates from splitting your ranking signals.
When to use canonical tags
- The same page is reachable with tracking parameters or different paths.
- Content is syndicated on another site that should point back to you.
- Product or template pages are near-identical by design.
- Every indexable page should also have a self-referencing canonical.
Common canonical mistakes
Pointing all pages to the homepage, canonicalising to a redirected or noindexed URL, or using canonicals to merge pages that are actually different. Google treats canonicals as a strong hint, not an order. If signals conflict, it may choose its own. See duplicate content and keyword cannibalization.
Quick quiz
Test yourself: Canonical tag
Three quick questions. Pick an answer to see why it is right or wrong.
1. What does a canonical tag tell search engines?
2. Is a canonical tag a strict rule for Google?
3. How does a canonical differ from a 301 redirect?
0 of 3 answered
Frequently asked questions
It's a strong hint. Google usually follows it, but may choose another URL if signals conflict.
Redirect when the old URL should no longer be used. Canonical when both URLs need to work for visitors.
No. A 301 redirect sends visitors and crawlers to another URL. A canonical tag leaves the page in place but tells search engines which version to index.