Canonical URLs: Fixing Duplicate Content You Didn't Mean To
August 9, 2026 · 1 min read
Photo by Arisa Chattasa on Unsplash
Duplicate content has a reputation as something that happens when someone copies an article. In practice, the far more common cause on real websites is entirely accidental: the same page reachable at multiple URLs, none of which is marked as the "real" one.
How this happens without anyone noticing
A product page might be reachable at /product, /product/ with a trailing slash, /product?ref=homepage with a tracking parameter, and both the http:// and https:// version if a redirect isn't fully enforced. To a visitor, all four load the same page. To a search engine, that's four separate URLs that could each be indexed separately, competing with each other for the same search queries instead of one clear page accumulating all the ranking signal.
What a canonical tag actually does
A canonical tag (<link rel="canonical" href="..."> in the page's <head>) is a direct instruction: "of all the URLs that might show this content, this is the one that should get credit." It doesn't redirect anyone — visitors can still land on any of the duplicate URLs — but it tells search engines which single URL should be indexed and ranked.
The most common mistakes with canonical tags aren't missing ones — they're wrong ones:
- A canonical pointing to a URL that no longer exists or redirects elsewhere
- Every page canonicalizing to the homepage (usually a copy-paste error in a template)
- Parameter-based URLs (filtered or sorted product listings) with no canonical at all, silently creating dozens of near-duplicate indexed pages
A five-minute check
Pick five important pages on your site. View each page's source and confirm it has exactly one canonical tag, and that the URL it points to is the actual clean, correct URL for that page — not a variant with a tracking parameter, not a URL that 404s, and not accidentally the homepage.