SEO· Beginner 2 min

Canonical URLs and duplicate content

One page can be reachable at many URLs. Canonical tags tell search engines which one counts — done wrong, they quietly bury your pages.

The same content is often reachable at several URLs — with and without a trailing slash, with tracking parameters, on www and the bare domain, over http and https. Search engines need to know which URL is the real one so ranking signals aren't split across duplicates. That's what a canonical link does.

<link rel="canonical" href="https://example.com/pricing">

The golden rule: point to the 200

A canonical must point to the URL that actually returns the page (HTTP 200) — not a URL that redirects, and not a different page. If /pricing canonicalises to a URL that 301-redirects back to /pricing, you've created a confusing loop; if it points to your homepage, you've told Google the pricing page is a duplicate of the homepage and it may drop from results.

A surprisingly common bug: every page canonicalising to the site root, or to a domain that redirects elsewhere. The symptom is inner pages quietly failing to rank. Always verify the canonical resolves to a 200 on the same content.

Self-referencing is good

Most pages should declare themselves as canonical. A self-referencing canonical is not redundant — it disambiguates parameterised and slash variants of the same page.

Keep it consistent with everything else

  • The canonical, the sitemap entry, and internal links should all use the same URL form (same host, same scheme, same trailing-slash convention).
  • Don't canonicalise across genuinely different content.
  • Cross-domain canonicals are valid but only when the content really is the same.
  • Redirects and canonicals should agree, never fight each other.

How to fix it

  1. For each page, confirm the canonical points to a URL that returns 200 with the same content.
  2. Make the canonical, sitemap and internal links use one consistent URL form.
  3. Remove canonicals that point at redirects or the homepage by mistake.
  4. Re-scan and check coverage in Google Search Console.

Glossary

Canonical URL
The URL you designate as the authoritative version of a page, via <link rel="canonical">.
Duplicate content
The same or near-identical content reachable at multiple URLs, splitting ranking signals.
301 redirect
A permanent redirect from one URL to another; search engines pass ranking signals through it.
AstraScope checks for this automatically.
Scan your website