Canonical tags and duplicate URLs
A canonical tag is a rel=”canonical” link in a page’s head that names the preferred URL when several URLs show the same or near-identical content. It is a strong hint, not a command. Google may still choose a different canonical, so the tag works best when your other signals agree with it (Google Search Central, checked October 30, 2026).
How duplicate URLs happen
- Tracking parameters such as ?utm_source= or ?gclid= appended to one page
- HTTP and HTTPS versions, or www and non-www versions, both resolving
- Trailing-slash and uppercase variants
- Filtered, sorted or paginated category pages
- Print views and session-ID URLs
- Syndicated copies on other domains
Google groups duplicates and picks one representative URL whether or not you declare a preference. Declaring one lets you influence the choice (Google Search Central, “How to specify a canonical with rel=canonical and other methods”, checked October 30, 2026).
The ways to signal a canonical
Google’s documentation ranks the methods by how strongly they influence the choice. The same page describes the first two below as strong signals and sitemap inclusion as weak.
| Method | Strength | Use when |
|---|---|---|
| 301 redirect | Strong | The duplicate should stop existing for users |
| rel="canonical" link element | Strong | The duplicate must stay reachable |
| rel="canonical" HTTP header | Strong | The resource is not HTML, such as a PDF |
| Sitemap inclusion | Weak | Always, for preferred URLs only |
Google also leans toward HTTPS over HTTP when other signals are equal (Google Search Central, checked October 30, 2026). The HTTP header form is defined in RFC 6596, the IETF specification for the canonical link relation.
Implementation rules that prevent most errors
- Use absolute URLs. Include the protocol and host, not a relative path.
- Keep every signal pointing at the same URL. Do not name one URL in the sitemap and a different one in the tag.
- Link internally to the canonical version. Consistent internal links reinforce your preference.
- Never use robots.txt for canonicalization. A blocked page cannot be crawled, so Google never sees the tag on it.
- Do not use the URL removal tool for this. It hides all versions of a URL from search.
- Do not use rel="canonical" for language variants. Google ignores canonical annotations carrying hreflang, lang, media or type attributes for canonicalization. Use hreflang link elements for alternates.
Self-referencing canonicals
Adding a canonical that points to the page’s own clean URL is common practice. It protects you when someone links to or shares a parameterized version. Google’s documentation does not require it. Our opinion: it costs almost nothing and removes ambiguity, so we add it by default.
What canonicals do not do?
- They do not stop crawling. Google can still crawl every duplicate and parameter combination. On a large site with faceted navigation, a canonical is not a crawl-budget fix.
- They do not merge different pages. Pointing a canonical at a page whose content differs is a mismatch Google may ignore.
- They do not override a bad setup. If the tag, the redirects and the internal links disagree, expect Google to pick for itself.
Common faults we see
- A CMS or plugin outputs the same canonical on every page, often the homepage.
- A staging domain’s canonical survives the move to production.
- Pagination pages all canonicalize to page one, hiding deeper content.
- A canonical points to a URL that redirects or returns an error.
- A canonical appears in the page body instead of the head, where it is not reliably read. Check this against Google’s current documentation.
How to audit your own canonicals
- View the source of several URLs with parameters and confirm the canonical ignores them.
- Crawl the site and list pages whose canonical differs from their own URL.
- Check that every canonical target returns a 200 and is indexable.
- In Search Console, inspect a URL to compare your declared canonical with the one Google selected. If Google picked another, compare the signals before changing anything.
- Confirm the XML sitemap lists only canonical URLs.
Frequently asked questions
Is a canonical tag the same as a 301 redirect?
No. A redirect sends visitors and crawlers to another URL. A canonical leaves both URLs reachable and only states a preference.
Will Google always follow my canonical tag?
No. Google treats it as a strong signal, not a directive, and can select a different URL (Google Search Central, checked October 30, 2026).
Can I use a canonical across domains?
Google’s documentation supports cross-domain canonicals. They are most often used for syndicated content.
Should paginated pages canonicalize to page one?
Generally no. Each page in a series holds different items. This is our opinion, so test it on your own setup.
Do canonicals fix duplicate content penalties?
Duplicate URLs mainly cause split signals and wasted crawling. Fixing them consolidates signals but is not a recovery tool for a quality demotion.
Where do I look up the rules myself?
Start with Google’s consolidate duplicate URLs documentation and RFC 6596.