GUIDE

Canonical Tags and Duplicate Content, Explained Simply

Most sites have far more URLs than pages. One product page can be reachable with and without www, with and without a trailing slash, with tracking parameters, through a print view, and through a mobile variant. To a visitor these are the same page. To a search engine they are competing addresses for the same content.

A canonical tag resolves the argument. It says: of all these addresses, this one is the real page.

Where duplicates come from

What a canonical tag does

Placed in the head, <link rel="canonical" href="https://example.com/about"> tells search engines which URL should appear in results and receive the ranking signals. It is a strong hint rather than a command, but it is respected in the overwhelming majority of cases when it is consistent with the rest of your signals.

Every page should have a self-referencing canonical, even pages with no duplicates. It costs one line and it prevents a whole class of future problems.

The rules that make it work

  1. Absolute URLs. Write the full address including https and the host.
  2. One canonical per page. Two conflicting tags means neither is trusted.
  3. Point to a real, indexable page. A canonical pointing at a URL that 404s or is noindexed is worse than no canonical at all.
  4. Consistency. If the canonical says /about, your sitemap and internal links should say /about too.
  5. No chains. A canonical pointing to a URL that itself canonicals elsewhere creates the same dilution problem as a redirect chain.

Canonical versus redirect

They solve different problems and are often confused.

For a simple duplicate like /about versus /about.html, the cleanest fix is a redirect, because only one form should exist. Canonicals are the tool when a redirect is not possible.

What "duplicate content" is not

It is not a penalty. Google has been explicit for years: duplicate content is a filtering decision, not a punishment. What happens is that one version is chosen and the others are ignored, which means your signals are split between addresses and none of them performs as well as one would.

It is also not a problem when a retailer and a manufacturer both describe the same product, provided each adds something. The issue is identical copies competing with themselves.

Finding your duplicates

Two practical tests. First, fetch your sitemap and check whether any two entries are the same page under different addresses. Second, in Search Console, look at the "Duplicate, Google chose different canonical" and "Duplicate without user-selected canonical" reasons in the Pages report. The second one is the clear signal that you have not declared a preferred URL.

A quick external check: request your page with and without the extension, or with and without www, and see whether both return 200. If they do, you have duplicates whether or not you have noticed them.

The clean setup

That is the entire discipline. Done once, it stays fixed, and it removes a category of problem that otherwise quietly halves the value of everything else you do.

A worked example

A site serves every page twice: /about and /about.html, both returning 200. Only four of twenty-eight pages carry a canonical tag, and those four point at the .html version while the navigation links to the clean one.

That is three contradictory signals at once: two live addresses, no declared preference on most pages, and a declared preference on the rest that disagrees with the internal links.

The repair, in order:

  1. Choose one form. Clean URLs, because that is what the navigation and most internal links use.
  2. Add a self-referencing canonical in that form to every page.
  3. Rewrite the sitemap so it lists only the chosen form.
  4. Update internal links so they point at the chosen form.
  5. Optionally redirect the extension form so only one address physically resolves.

Four of those five are text changes. Only the last touches routing, which is why the cheap version of this fix is available to anyone.

Telling the difference in a report

"Duplicate without user-selected canonical" means you never declared a preference. "Duplicate, Google chose different canonical" means you did declare one and Google disagreed. The first is a missing tag; the second is usually a signal conflict, where your canonical disagrees with your sitemap, your internal links or your redirects. Fix the conflict, not the tag.

The three signals that must agree

A canonical tag on its own is a suggestion floating in a page. It becomes decisive when three things line up: the canonical tag, the sitemap entry, and the internal links pointing at the page. When they disagree, you get "Duplicate, Google chose different canonical", which is Google telling you it saw the conflict and made its own decision.

Practical check: pick one page, note its canonical, search your sitemap for the URL, then look at how the navigation links to it. All three strings should be identical, character for character, including the protocol and the trailing slash.

What to do when a platform forces duplicates

Some platforms serve a page at two addresses and will not let you redirect. In that case the canonical tag is the whole fix, and it is enough: choose one form, apply it consistently, list that form in the sitemap, and accept that the other address exists. The ranking signals consolidate on the declared page.

Common Mistakes to Avoid

A canonical tag is a hint, and it is easy to send the wrong one. These five errors account for most of the duplicate-content reports we see.

The test is simple: open the page, read its canonical, and ask whether that is the URL you would send someone. If the answer is no, the tag is wrong.

Duplicate signals, side by side

SymptomBest fix
Same content, two hostnames301 one hostname to the other
Same content, with and without .htmlCanonical plus redirect to one form
Query parameters creating variantsCanonical to the clean URL, block the rest in robots.txt
Syndicated article on two sitesCanonical to the original publication
Near-identical pages for two citiesMerge, or differentiate the content properly

If the two pages are genuinely different offers for different audiences, the honest fix is better content rather than a tag. The guide to canonical tags and duplicates works through the remaining cases in more detail.

Check it yourself: run the security checker, or open the why websites lose leads. Both are free and need no sign-up.

Frequently asked

Do I need a canonical on every page?

Yes, self-referencing. It is one line and it prevents duplicates created later by parameters or URL changes.

Is duplicate content a penalty?

No. It is a filtering decision: one version is chosen and the others are ignored, so signals get split.

Canonical or redirect for .html versus clean URLs?

Redirect. Only one form should exist. Canonicals are for cases where both addresses must keep working.

How long until a canonical takes effect?

Usually weeks, since it requires a re-crawl. Validate in Search Console rather than watching daily.

Is a canonical the same as a redirect?

No. A canonical is a hint to search engines while both URLs stay live and usable. A redirect moves the visitor. Use a redirect when one URL should no longer exist at all.

How long until duplicates clear in Search Console?

Weeks, not hours. Google has to re-crawl both versions before the report changes. Fix the tag, verify it on the live page, then wait for the next crawl cycle rather than editing again.

Run the checks yourself. The free audit scores your page on 24 tests and tells you what to fix: check any website. For one specific problem, the link checker, speed test, meta checker and security checker each go deeper on their own.

Written by Anthony Bailey · Anthony Bailey is a publisher, retired professor and computer technologist. He writes the guides on Website Checkmate and has spent his career explaining technical subjects to people who never signed up to be technical.