What Is a Canonical URL?

Updated: September 22, 2026 · Category: SEO

You usually reach a website’s homepage at one obvious address. But behind the scenes, the very same content is often reachable at several slightly different URLs: with or without www, with a trailing slash, with a tracking parameter, or as a print view. Search engines dislike that, because they want to show one best URL per piece of content — and they have to choose when they find duplicates. The canonical URL is how you tell them which one is the original.

Duplicates come from small differences

Classic duplicate-triggering variations:

Each of these is a separate URL to a crawler, even though a human sees the same page. When search engines find several versions, none of them passes the full value of the content on to the others — they split the attention instead.

How the canonical tag works

In the <head> of each page you can declare the original version with a single line:

<link rel="canonical" href="https://site.com/page" />

On the original page itself, the tag should point to itself (a self-referencing canonical). On the duplicates, it points to the original. Crawlers treat it as a strong instruction: index this URL, and treat the duplicates as versions of it.

Canonical vs redirect: pick the right tool

The two mechanisms solve related but different problems:

A common mistake is using a canonical where a redirect would be simpler, or vice versa. If users legitimately land on both URLs and both should work, canonical is right. If one URL should simply not exist anymore, redirect.

When canonicals break

Canonical tags fail quietly. Common failure modes:

The SEO Checker reads the actual canonical from the live HTML of any page and reports whether it matches the URL you checked — the fastest way to spot these failures.

Verify with the tools

  1. Run the SEO Checker on your homepage and on a parametered URL if you have one.
  2. Check the same page with and without www using the HTTP Status Checker and confirm the redirect chain ends at one canonical host.
  3. Open your site’s sitemap and confirm each listed URL returns 200, not a redirect to a different host.

FAQ

Canonical or redirect — which should I use?
Use a 301 redirect when you want only one URL to exist at all (for example after a domain change). Use a canonical when both URLs must remain accessible (for example a print view, parametered sorting, or a syndicated copy).
Does a canonical tag guarantee search engines will ignore the duplicates?
No. It is a strong hint, not a command. If crawlers find contradicting signals or real value in a duplicate, they may ignore it. Make the signal consistent: self-referencing canonicals, one pattern for www, no conflicting tags.
How do I check my canonicals?
The SEO Checker reads the canonical tag from the live HTML of any page and reports whether it matches the requested URL. Then spot-check the same page accessed with and without www and with a tracking parameter.

Tools for this guide

SEO Checker

Reads the canonical tag and other on-page signals from live HTML.

Open Tool

HTTP Status Checker

Confirm redirects move to one canonical host.

Open Tool