If the same page on your website is reachable through more than one URL, search engines need to know which version actually counts. That's what a canonical URL tells them, and getting it wrong is more common than you'd think.
What Is a Canonical URL?
A canonical URL is the "master" version of a page that you want search engines to index and rank, set using a tag like this in your page's HTML:
<link rel="canonical" href="https://yourwebsite.com/your-page/" />
Why Duplicate Pages Happen
You might not realise your site has duplicate URLs, but it's extremely common. A few typical causes:
- A page accessible both with and without "www" (yourwebsite.com and www.yourwebsite.com)
- A page accessible with and without a trailing slash (/page and /page/)
- Both HTTP and HTTPS versions of a page being live
- Filtered or sorted versions of a product listing page (like ?sort=price)
- Print-friendly versions of an article
Each of these can technically be a separate URL serving the same or nearly the same content - which is exactly the situation canonical tags are designed to handle.
Why This Matters for SEO
Without a canonical tag, search engines have to guess which version of a duplicated page to rank. Worse, ranking signals like backlinks can get split across multiple versions instead of consolidating onto one, weakening all of them rather than strengthening one clearly.
Self-Referencing vs. Pointing Elsewhere
Most pages should have a canonical tag that points to themselves - this is called self-referencing, and it's a safe default even on pages with no obvious duplicate.
Sometimes a canonical tag intentionally points to a different page - for example, a print-friendly version pointing back to the main article, or a syndicated article pointing back to its original source on another site.
Common Canonical Mistakes
- No canonical tag at all - leaves search engines to guess, especially risky if duplicate URLs exist
- Multiple canonical tags on one page - search engines may ignore all of them or pick one unpredictably
- Canonical pointing to a broken or redirecting URL - sends search engines to a dead end instead of a working page
- Canonical pointing to the HTTP version when the page loads over HTTPS - usually an accidental mismatch, not intentional
- Relative instead of absolute URLs - most search engines can handle relative canonical URLs, but an absolute URL starting with https:// is the safer, explicit choice
How to Check Your Canonical Tags
- View your page's source code and look for a <link rel="canonical"> tag in the <head> section
- Confirm it points to a working URL - not a broken link or an unintended redirect
- Confirm it matches your actual preferred URL format (with or without www, with or without trailing slash)
Frequently Asked Questions
Does every page need a canonical tag?
It's good practice on every page, even ones without an obvious duplicate - a self-referencing canonical is a safe, low-effort default.
Can a canonical tag point to a page on a different domain?
Yes - this is sometimes used for syndicated content, telling search engines the original source is elsewhere. It's a valid but less common use case.
Does a canonical tag guarantee that URL ranks instead of others?
It's a strong signal, not a guarantee. Search engines generally respect canonical tags, but may choose a different URL if other signals strongly suggest otherwise.
Ready to put this into practice?
Use our free Website SEO Checker โ no signup required.
Open Website SEO Checker โReady to put this into practice?
Use our free Meta Tag Generator โ no signup required.
Open Meta Tag Generator โReady to put this into practice?
Use our free Canonical Tag Checker โ no signup required.
Open Canonical Tag Checker โ