ShopperCove
Menu
All writingBlogTopicsCategoriesAboutRSS
Blog
Categories
Observability & SRE62All categories
Topics
sre111localhost lab102performance70python58javascript47bundle size36benchmarking35node.js35web development21typescript19benchmark16content creation15All topics
About
Loading article…

ShopperCove

Hands-on notes on developer tools, written after the tool has actually been run.

All writingBlogCategoriesTopicsAboutPrivacyRSS

© 2026 ShopperCove

On this page

  1. Ways to specify a canonical
  2. Common duplicate sources
  3. Mistakes to avoid
  4. Sources
  1. Blog

What Is a Canonical URL in SEO and When Should You Set It?

How Google picks one URL from a set of duplicates, and how to influence it.

Aditya Challa·12 October 2026·1 min read

Summary

Disclosure

This post contains affiliate links. If you buy through them, I may earn a commission at no extra cost to you. I only make firsthand claims about products I have actually used.

On this page
  1. Ways to specify a canonical
  2. Common duplicate sources
  3. Mistakes to avoid
  4. Sources

A canonical URL is the version of a page that Google picks as the representative one when several URLs show the same or very similar content. You can suggest it with rel="canonical", redirects or your sitemap, but Google treats these as signals, not commands.

Ways to specify a canonical

  • <link rel="canonical" href="https://www.example.com/page" /> in the page head
  • A rel="canonical" HTTP header (useful for PDFs)
  • 301 redirects from duplicates
  • Listing only canonical URLs in your sitemap

Common duplicate sources

HTTP vs HTTPS, www vs non-www, tracking parameters, and printer or sorted versions of the same page.

Mistakes to avoid

Do not use robots.txt or the Removals tool for canonicalization, and do not point canonicals at pages that redirect or return errors.

Related: /blog/how-do-i-submit-a-sitemap-to-google

Related: /blog/how-to-remove-a-url-from-google-search

Related: /blog/what-does-crawled-currently-not-indexed-mean

Sources

  • 01developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls
  • 02developers.google.com/search/docs/crawling-indexing/canonicalization
seocanonicalizationduplicate contentrel=canonicalweb developmentgoogle search

Lab evidence

What I found running this

Facts in this draft were checked on 12 Oct 2026 against the primary sources listed in the body (official docs, release schedules or Google/YouTube help pages). No benchmarks or timings were run, so the post makes no performance or measurement claims; dates are quoted as published by the maintainers, and any estimate is labelled as such.

Explore the product

Site owners working on indexing, rankings and organic growth

Grow site traffic with an AI-assisted playbook

See AI Traffic Secrets

Build ready-made client websites faster

Check out Ready Client Sites

Notes when a lab post goes up

Occasional email for new hands-on reviews. No sequence and no sponsors.

Explore the product

Site owners working on indexing, rankings and organic growth

Grow site traffic with an AI-assisted playbook

See AI Traffic Secrets

Build ready-made client websites faster

Check out Ready Client Sites

Keep reading

  • What Is a Soft 404 Error and How Do You Fix It Fast?

    Why Google treats some 200 OK pages as missing, and the two correct fixes.

    Summary12 Oct 20261 min read

  • Ready Client Sites live demos: 15 prebuiltwebs previews, admin panel, SEO checks (Oct 2026)

    New Ready Client Sites angle: ShopperCove fetched all 15 live prebuiltwebs.com demos — client-rendered React SPAs with hash routes, built-in admin/enquiry/upload APIs, placeholder content JSON, no robots.txt/sitemap, soft 404s — and turned it into a pre-purchase SEO and handover checklist. Distinct from the Node.js packs and launch-checklist posts. One disclosed hop. No purchase.

    Summary5 Oct 20263 min read

  • How Do You Use Search Console Insights to Find Post Ideas?

    Insights now lives inside Search Console. Here is what each card shows and how to act on it.

    Summary14 Oct 20263 min read