SEO & AEO

Canonical Tags and Duplicate Content: A Guide for Site Owners

What canonical tags do, when duplicate URLs happen, which signals Google treats as strong or weak, and what Google says about duplicate content and penalties.

By Biply Team · · 4 min read

Most sites serve the same page at more than one address: with and without www, with tracking parameters, with a trailing slash, in a print version. Search engines have to pick one. Canonical tags are how you tell them which, and understanding what Google says about them removes a lot of needless worry about “duplicate content penalties”.

The short answer: when the same content lives at several URLs, choose one preferred URL and signal it with a redirect (if the others should disappear) or a rel=canonical tag (if they must stay). Google says duplicate content is not a spam-policy violation, but consolidating it helps the right URL be chosen.

A disclosure: Biply offers SEO and AEO, including technical clean-up. This guide is platform-neutral; see our Webflow settings checklist for a platform example.

Where duplicate URLs come from

  • Protocol and host variants: http versus https, www versus the bare domain.
  • Parameters: filters, sorting, tracking tags and session IDs that change the address without changing the content.
  • Trailing slashes and capitalisation.
  • Print, mobile or AMP-style versions at separate addresses.
  • The same article in several categories.
  • Staging or test copies left reachable.
  • Syndicated or copied content on other sites.

What Google says

Google’s documentation on specifying a canonical URL says:

  • Methods differ in strength: redirects are a strong signal, rel=canonical is a strong signal, and a sitemap is a weak signal.
  • None of them is required; your site will likely do just fine, and Google will identify which version is objectively the best.
  • Do include a rel=canonical link on the canonical page itself.
  • Use absolute paths rather than relative paths, and do not specify a URL fragment as canonical.
  • Google prefers HTTPS pages over equivalent HTTP pages as canonical.
  • Do not use robots.txt for canonicalization, do not use the URL removal tool for it, and Google does not recommend noindex to prevent selection of a canonical page within a single site.

Google’s SEO Starter Guide adds that having duplicate content on your site is not a violation of its spam policies. Some platform help pages describe duplicate content as causing penalties; treat those as a cautious way of saying duplicates dilute signals, not as a documented penalty.

Which method to use

Situation Use
An old URL should be gone for good A permanent redirect to the right page
Two URLs must both work (parameters, campaign copies) rel=canonical on each pointing to the preferred URL
http and https Redirect http to https, canonical on the https page
www and non-www Pick one, redirect the other
Content syndicated to another site Ask the other site for a canonical pointing to your original; no guarantee
Page you do not want in search at all Not canonicalization: use noindex or remove it, and see Google’s guidance

Google’s guidance on redirects says to use permanent redirects when you are sure they will not be reverted; 301 and 308 are permanent, 302, 303 and 307 are temporary. Our guide on redesigning without losing SEO covers redirects when URLs change.

Common mistakes

  • Canonicals pointing to the wrong page, such as every page canonicalised to the homepage by a template error.
  • Relative or fragment URLs in canonical tags.
  • Two competing canonicals from a plugin and a theme (or a tag manager), which search engines may ignore.
  • Canonical plus noindex on the same page, which sends mixed signals.
  • Blocking a duplicate in robots.txt, which stops Google from seeing the canonical tag on it.
  • Canonicalising genuinely different pages to avoid “cannibalization”, which hides pages that should rank.

How to check

  1. View source on key pages and search for rel="canonical". Is there exactly one, absolute, pointing to the right URL?
  2. Test variants: open the http, www and parameter versions of a page. Do they redirect or point to the same canonical?
  3. Search Console: the page indexing report shows pages Google treated as duplicates; Google’s help notes that “not indexed” is not necessarily bad.
  4. Crawl your site with a crawler and list canonicals that differ from the page’s own URL.

What to do next

Fix the template-level mistakes first, because one error can affect hundreds of pages. Then clean up parameters and variants, and keep a note of the rules so future changes do not undo them. If you plan a redesign, include canonical rules in the migration plan.

Next steps

If you want a technical check of canonicals and duplicate URLs on your site, see our SEO + AEO service and contact us. For a wider checklist of what an audit covers, read what SEO services include.

Sources

On how URLs cause duplicates in the first place, see URL structure for business websites.

FAQ

Frequently asked questions

What is a canonical tag?

A rel=canonical link element tells search engines which URL is the preferred version when several URLs show the same or very similar content. Google lists it, with redirects, as a strong signal for choosing the canonical URL.

Is duplicate content a penalty?

Google's SEO Starter Guide says having duplicate content on your site is not a violation of its spam policies. Duplicates can still make it harder for the right URL to be chosen, which is why consolidating them with redirects or canonical tags is good practice.

Which is stronger, a redirect or a canonical tag?

Google's documentation lists redirects and rel=canonical as strong signals and a sitemap as a weak signal. Use a redirect when the old URL should no longer exist, and a canonical when both URLs must stay accessible.

Should a canonical tag point to itself?

Google recommends including a rel=canonical link on the canonical page itself. Use absolute URLs, not relative paths, and do not use a URL fragment.

Can I use robots.txt or noindex to handle duplicates?

Google says not to use robots.txt for canonicalization and does not recommend noindex to prevent selection of a canonical page within a single site. Use redirects or rel=canonical instead.

Keep reading

Cookie settings

Choose which cookies we can use. You can change this at any time from “Cookie settings” in the footer.

Strictly necessary

Always on

Needed for the site to work and to remember your cookie choice. They do not track you.

Help us measure visits, traffic sources (including AI assistants) and how pages are used: Google Analytics 4, Microsoft Clarity and Searchable Analytics. See the cookie policy for details.