The same or very similar content on a website can be reachable through different URLs: product filters, category pages, tracking parameters, HTTP and HTTPS versions, www and non-www. A canonical URL tells search engines which of these addresses is the main one.
What Is a Canonical URL?
A canonical URL is the address you want search engines to treat as the main version among several pages with the same or similar content. It is declared with the canonical tag: <link rel="canonical" href="https://www.example.com/page/"> placed in the <head> of the page.
What Is the Canonical Tag For?

The canonical tag points search engines to the preferred URL among URLs with the same or similar content. It helps consolidate signals (links, relevance) onto one URL and keeps duplicate versions from competing with each other.
Why Is It Important?
When the same content opens at different URLs, search engines may treat them as separate pages, split link signals, waste crawl budget and show the wrong version in results. Duplicate content is the same or largely similar text published at more than one URL. It is not usually a penalty, but it creates confusion that a canonical tag reduces.
When Is Canonical Used?
- URL parameters (tracking, sorting, session IDs)
- E-commerce filter pages
- Product variations (color, size)
- Campaign links
- Printer-friendly or AMP versions
- Content syndicated on other sites
What Is a Self-Referencing Canonical?
When a page’s canonical tag points to its own URL, it is a self-referencing canonical. It is good practice for indexable pages, as it states the preferred URL clearly.
How Do You Add a Canonical Tag?
Add it to the <head> section of the page’s HTML. Example:
<head>
<title>Page title</title>
<link rel="canonical" href="https://www.example.com/page/">
</head>
Use absolute URLs, one canonical per page. In WordPress, many SEO plugins create canonical tags automatically and let you override them per page.
Canonical vs. 301 Redirect and Noindex
- Canonical vs. 301: A 301 redirect moves users and search engines to another URL and the old URL stops serving content; a canonical lets both URLs stay open and only states the preferred one. For more, see what is a 301 redirect.
- Canonical vs. noindex: Canonical says “this is the preferred version of this content”; noindex says “do not show this page in search results”. They serve different purposes and should not be combined carelessly.
| Feature | Canonical | Noindex |
|---|---|---|
| Purpose | State the preferred URL | Keep the page out of the index |
| Signal transfer | Consolidates signals to the canonical | None |
Canonical, Sitemap and Internal Links
The XML sitemap should contain only the canonical URLs you want indexed. Internal links should point directly to the canonical URL whenever possible, not to parameter or duplicate versions.
How Is the Canonical URL Chosen?
Among several similar URLs, choose the one that is the cleanest and most useful: the one with the best content, the most links, the shortest and most readable form, the HTTPS version and the one you want users to land on.
Examples
- Correct:
/shoes/with parameters/shoes/?sort=pricepointing to/shoes/. - Incorrect: A canonical pointing to an unrelated page, to a 404 or to a redirecting URL.
- Canonical chain: A points to B and B points to C; each page should point to the final canonical directly.
The Most Common Canonical Mistakes
- Pointing canonical to the wrong or an irrelevant page
- Canonical pointing to a redirected or 404 URL
- Canonical chains
- Several different canonical tags on one page
- Using relative URLs incorrectly
- Putting canonical outside the
<head> - Combining canonical and noindex in conflicting ways
- A canonical that conflicts with hreflang or the sitemap
How Do You Check the Canonical Tag?
View the page source and look for the rel="canonical" tag; use Google Search Console’s URL Inspection tool (compare “User-declared canonical” with “Google-selected canonical”); and crawl the site with a tool such as Screaming Frog to find canonical issues in bulk.
Why Might Google Choose a Different Canonical?
The canonical tag is a strong suggestion, not a command. Google may choose another URL when signals conflict: redirects, internal links, sitemap entries, content differences or a canonical pointing to a poor page.
What Are the SEO Effects of Canonical Problems?
Wrong canonical use can lead to important pages not being indexed, wrong pages ranking, split link signals and wasted crawl budget.
Canonical URL Checklist
- Is the canonical tag in the
<head>? - Is there one per page?
- Is it an absolute, working URL that returns 200?
- Does it match the sitemap and internal links?
- Are there no chains or loops?
Canonical URL vs. an SEO-Friendly URL
A canonical URL is the preferred address among duplicates; an SEO-friendly URL is a clean, readable address structure. They are different concepts.
Frequently Asked Questions
What does a canonical tag do?
It tells search engines the preferred URL among similar pages.
Is canonical mandatory?
Not mandatory, but recommended, especially for sites with parameters, filters and duplicates.
Is a canonical tag a command?
No; it is a strong hint that Google may override.
Can a page canonical to itself?
Yes. It is called a self-referencing canonical and is good practice.
Does canonical pass link value?
It helps consolidate signals toward the preferred URL.
For technical SEO support, see our SEO consulting service.





