What Is a Canonical URL and Why Does It Matter?
If you’ve come across the term “canonical URL” and wondered what it means, you’re not alone. It’s one of those slightly technical SEO concepts that sounds more complicated than it is. In simple terms, a canonical URL is the version of a page that you want Google to treat as the authoritative, original version — particularly when multiple URLs might return the same or very similar content.
Duplicate content is surprisingly common on websites, often without the site owner realising it. Canonicalisation is the standard mechanism for resolving it. Understanding how it works — and how to implement it correctly — can prevent your SEO efforts from being diluted across multiple versions of the same page.
Why Duplicate Content Happens
Websites often generate multiple URLs that serve identical or near-identical content without anyone planning it that way. Common causes include: the same page being accessible with and without a trailing slash (example.com/services vs example.com/services/); HTTP and HTTPS versions both being live; www and non-www versions both accessible; URL parameters adding variants (example.com/products?colour=red vs example.com/products?colour=blue showing the same items); and CMS or e-commerce platforms generating separate URLs for the same product or article from different category paths.
When Google finds multiple URLs serving the same content, it has to decide which one to index and rank. If it chooses a different version to the one you prefer — or splits the link equity between multiple versions — your rankings suffer. Canonicalisation gives you a way to tell Google which URL to prioritise.
How the Canonical Tag Works
The canonical tag is a line of HTML code placed in the head section of a page. It looks like: link rel="canonical" href="https://www.example.com/the-preferred-url/". It tells Google: “This page may be accessible via multiple URLs, but this specific URL is the one I want you to treat as the canonical (original) version. Please consolidate any link signals from duplicate versions to this URL.”
Google treats the canonical tag as a hint rather than an absolute directive — it may choose to ignore it if it disagrees, particularly if other signals (such as internal linking or sitemap inclusion) contradict the tag. But in the vast majority of cases, a correctly implemented canonical tag is respected. Self-referencing canonical tags — where a page points to itself as the canonical — are recommended best practice even when there’s no obvious duplication risk, as they pre-empt any future URL variations.
Canonical URLs vs 301 Redirects
Both canonical tags and 301 redirects are ways of consolidating duplicate content, but they behave differently. A 301 redirect actually sends users and crawlers to a different URL — the old URL becomes inaccessible. A canonical tag leaves both URLs accessible but tells Google to treat one as the original for indexing purposes.
Use a 301 redirect when you want the duplicate URL to stop being accessible — for example, when you’ve permanently moved content to a new URL and want to transfer all the link equity. Use a canonical tag when you need the duplicate URL to remain accessible for other reasons (for example, URL parameters used by a tracking or filtering system) but want Google to index and rank only the canonical version. Many CMS platforms like WordPress (particularly with SEO plugins like Yoast or Rank Math) handle canonical tags automatically, reducing the risk of accidental duplication.
Common questions.
Do I need to add a canonical tag to every page on my website?
What happens if I set the canonical tag to the wrong URL?
Can a canonical tag cross domains?
More on web design & ux.
Want a hand putting this into practice?
Book a free, no-obligation consultation with a Norwich-based specialist.
Let's put your business in a better light.
Book a free, no-pressure consultation. We'll talk through your goals and tell you honestly what we'd do — whether you work with us or not.