The same page can often be reached at several addresses, such as with and without www, with tracking parameters or through different category paths. A canonical tag tells search engines which version you want to appear in results. Check what a page declares with the canonical tag checker.
Quick answer: A canonical tag is a line in a page's head, link rel=canonical, pointing to the preferred URL for that content. It helps Google pick one version from a set of duplicates and combine signals such as links onto it. It is a strong hint, not a command: Google weighs it with other signals, including redirects, internal links and sitemaps, and may choose differently. Use self-referencing canonicals on normal pages, point duplicates to the main version, use absolute URLs and make all your signals agree.
Why duplicate URLs happen
- www and non-www, or HTTP and HTTPS versions.
- Trailing slash and non-trailing slash URLs.
- Tracking and sorting parameters, such as ?utm_source= or ?sort=price.
- Products listed in several categories with different paths.
- Print versions, AMP pages or mobile URLs.
- Content syndicated to other sites.
Ways to tell Google your preferred URL
| Method | Strength | Best for |
|---|---|---|
| 301 redirect | Strong | Duplicates nobody needs to visit, such as old URLs or HTTP |
| rel=canonical link element | Strong hint | Duplicates that must stay accessible, such as parameter URLs |
| rel=canonical HTTP header | Strong hint | Non-HTML files such as PDFs |
| Sitemap | Weak | Listing only canonical URLs on large sites |
| Consistent internal links | Supporting | Always link to the canonical version |
Signals add up, so using several that agree makes your choice more likely to stick.
Best practices
- Add a self-referencing canonical to each normal page.
- Use absolute URLs, including https and the domain.
- Put one canonical tag in the head, in the HTML source rather than only added by JavaScript.
- Point to a page that returns 200, not a redirect or 404.
- Don't give one page different canonicals in different places, such as the tag and the sitemap.
- Don't use robots.txt to handle duplicates; Google can't see a canonical on a blocked page.
- Don't canonicalise paginated pages to page one; each page in a series is usually its own canonical.
Cross-domain canonicals
If your article is republished on another site, the other site can add a canonical pointing to your original. This is a request rather than a guarantee, so also ask for a clear link back to your page.
When Google picks a different canonical
Search Console's URL Inspection tool shows the user-declared canonical and the Google-selected canonical. If they differ, check whether your internal links, redirects, sitemap and hreflang tags all point to your preferred URL, and whether the pages are really duplicates.
Related tags
For language versions use hreflang with the hreflang tag generator, and make sure each version has a self-referencing canonical. Use the meta tag generator for other head tags. See duplicate content and SEO and 301 vs 302 redirects. More tools are in the SEO tools guide.
Based on Google Search Central documentation as at November 2026.
Frequently asked questions
What is a canonical tag?
A link element in a page’s head that names the preferred URL for that content when several URLs show the same or similar pages.
Does Google always follow the canonical tag?
No. It is a strong hint that Google weighs with other signals, such as redirects, internal links and sitemaps.
Should every page have a self-referencing canonical?
Yes, it is good practice and helps prevent parameter or tracking URLs being indexed instead.
Canonical tag or 301 redirect?
Use a redirect when visitors don’t need the duplicate URL. Use a canonical when the duplicate must stay accessible.
Can I use a canonical across different domains?
Yes. Syndicated copies can point to the original on another domain, but Google treats it as a hint.
How do I see which canonical Google chose?
Use the URL Inspection tool in Google Search Console, which shows the declared and Google-selected canonical.
Sources
- Google Search Central: How to specify a canonical URL
- Screaming Frog: Canonicals
- Ahrefs: Canonicalization
Last updated: