Canonical Tag Definition
A canonical tag (rel="canonical") is a line of HTML that tells search engines which URL is the main version of a page when the same or very similar content is available at several addresses.
It sits in the <head> of the page and points to the preferred URL, called the canonical URL. Google then tends to index and show that version, and to group ranking signals on it instead of splitting them across duplicates.
What Is a Canonical Tag?
The canonical tag is a link element defined in RFC 6596 and supported by Google, Bing and Yahoo since 2009. Its syntax is short:
<link rel="canonical" href="https://www.example.com/blue-shoes/" />
Placed on every variant of a page, this line says: “if you find this content at several URLs, treat this address as the reference”. The variants stay reachable for visitors; only search engines read the signal.
Two words are often confused:
- Canonical tag: the HTML element itself.
- Canonical URL: the address the tag points to, and more broadly the URL Google finally chooses to index.
Synonyms you will meet in audits and tools: rel=canonical, canonical link, canonicalization (the process of choosing one URL among duplicates).
- How Canonicalization Works at Google
- Why Canonical Tags Matter for SEO
- Where Duplicate URLs Come From
- Canonical Tag Examples
- Canonical Tag vs 301 Redirect vs Noindex
How Canonicalization Works at Google
When Google finds several URLs with the same main content, it groups them in a cluster and selects one of them as canonical. It is part of how search engines crawl and index pages: only the canonical is normally shown in the results, the other URLs are treated as alternates.
To make that choice, Google combines several signals. Its documentation lists them by strength:
- 301 and 302 redirects: a strong signal that the target should be canonical.
- The rel=”canonical” annotation in the HTML or in an HTTP header: a strong signal.
- Inclusion in the XML sitemap: a weak signal.
Other elements also count: HTTPS over HTTP, internal links pointing to one version, a clean URL without parameters. That is why the canonical tag is a hint, not a directive. If your signals contradict each other (canonical to page A, internal links and sitemap to page B), Google may pick another URL than yours. The URL Inspection tool in Google Search Console shows both the user-declared canonical and the Google-selected canonical.
Why Canonical Tags Matter for SEO
Duplicate URLs are rarely a penalty problem. Google states that duplicate content alone does not trigger a manual action. The real costs are elsewhere:
- Diluted signals: links and engagement spread over several URLs instead of strengthening one. A clear canonical helps consolidate the PageRank and the backlinks you earn on a single address.
- Wasted crawling: bots spend time on variants instead of discovering new or updated pages. On large sites, this slows indexing.
- The wrong URL in the results: a tracking URL, a print version or an HTTP page can appear in the SERP instead of the clean page.
- Internal competition: near-identical pages can swap positions for the same query, a pattern close to keyword cannibalization.
A canonical tag does not boost rankings by itself. It removes ambiguity so that the work done on content and links goes to the right page.
Where Duplicate URLs Come From
Most duplicates are created by the site itself, not by copying. The usual sources:
| Source | Example |
|---|---|
| Protocol and host | http:// vs https://, www vs non-www |
| Trailing slash and case | /blue-shoes vs /blue-shoes/ vs /Blue-Shoes/ |
| Sorting and filters | /shoes/?sort=price, /shoes/?color=blue |
| Tracking parameters | ?utm_source=newsletter, ?gclid=… |
| Session IDs | ?sessionid=8f3a2 |
| Same product in several categories | /men/sneakers/model-x/ and /sale/model-x/ |
| Print or mobile versions | /print/article/, m.example.com |
| Syndicated content | Your article republished on a partner site |
On a CMS such as WordPress, archives, attachment pages and tag pages add more variants. SEO plugins like Yoast SEO or Rank Math output a self-referencing canonical by default, which covers the simplest cases.
Canonical Tag Examples
1. Self-referencing canonical
The page points to itself. It protects against parameters added by others (tracking, social sharing) and is the default recommended setup.
<!-- on https://www.example.com/blue-shoes/ --> <link rel="canonical" href="https://www.example.com/blue-shoes/" />
2. Parameter variants
A sorted listing keeps the same products as the main category. It points to the clean category URL.
<!-- on https://www.example.com/shoes/?sort=price --> <link rel="canonical" href="https://www.example.com/shoes/" />
3. Cross-domain canonical
When a partner republishes your article with permission, they can add a canonical pointing to your original. Google may still choose the copy if signals favor it, so the partner page should also link back to the source.
4. Canonical in the HTTP header
Files that have no <head>, such as PDFs, can declare a canonical through the server response:
Link: <https://www.example.com/guide/>; rel="canonical"
Canonical Tag vs 301 Redirect vs Noindex
These three tools are often mixed up. They solve different problems:
| Tool | Best used when |
|---|---|
| Canonical tag | The variant must stay accessible to visitors (filters, tracking, product in 2 categories) |
| 301 redirect | The old URL has no reason to exist: visitors and bots are sent to the target (migration, HTTP to HTTPS, merged pages) |
| Noindex | The page stays visible to visitors but must stay out of the index, and is not a duplicate of another page (internal search results, thank-you pages) |
Do not combine noindex and a canonical pointing to another page: the two signals contradict each other. And never use robots.txt to handle duplicates, because a blocked URL cannot be crawled, so Google never sees its canonical tag.
Best Practices
- Use absolute URLs with the protocol and host (https://www.example.com/page/), not relative paths.
- One canonical per page, placed in the
<head>. If a theme and a plugin both output one, Google may ignore both. - Point to an indexable page that returns a 200 status: not a redirect, not a 404 page, not a noindex URL.
- Align every signal: internal links, XML sitemap, hreflang and canonical should all name the same URL.
- Keep self-referencing canonicals on all indexable pages.
- Give each language version its own canonical on multilingual sites, combined with hreflang. A French page must not canonicalize to the English one.
- Do not canonicalize paginated pages to page 1: page 2, 3 and beyond list different items and should point to themselves.
Common Canonical Mistakes
- Every page of the site pointing to the home page, often after a template error.
- Canonicals still pointing to the old domain or to HTTP after a migration.
- Canonical to a URL that redirects, creating a chain of signals.
- Canonical tag injected by JavaScript only, and different from the one in the source HTML.
- Pages with different content canonicalized to each other: Google treats the tag as a mistake and ignores it.
- Staging or development URLs left in the canonical after a site launch.
These errors are among the first points checked in a technical SEO audit, because one template mistake can affect thousands of URLs at once.
How to Check Your Canonical Tags
- Page source: open the page, view the source and search for
rel="canonical". - URL Inspection in Search Console: compare “User-declared canonical” and “Google-selected canonical”.
- Page indexing report: the statuses “Duplicate without user-selected canonical”, “Duplicate, Google chose different canonical than user” and “Alternate page with proper canonical tag” show how Google reads your setup.
- A crawler such as Screaming Frog or Sitebulb lists missing, multiple, non-indexable or non-self-referencing canonicals across the whole site.
If you have just launched a site, start with the basics in this guide on getting a WordPress site indexed by Google, then review canonicals once the first pages appear in the index.
Advantages and Limits of the Canonical Tag
Advantages
- Keeps useful variants accessible to visitors.
- Consolidates signals on one URL without a redirect.
- Works across domains and for non-HTML files through HTTP headers.
- Easy to deploy through a CMS or an SEO plugin.
Limits
- It is a hint: Google can override it.
- It does not save crawl budget as well as a redirect, since variants are still crawled.
- It cannot fix pages that are only similar in topic but different in content.
- It only works if the URL is crawlable and the tag is visible in the HTML Google renders.
Canonical Tag: Key Takeaways
The canonical tag tells search engines which URL represents a group of duplicates. Use a self-referencing canonical on every indexable page, point variants to the clean version, keep internal links and sitemaps consistent with that choice, and check the Google-selected canonical in Search Console. Treat it as part of a wider duplicate content strategy: redirects for URLs that should disappear, noindex for pages that should stay out of the index, and canonical tags for variants that must stay online.
From theory to a clean index
Knowing what a canonical tag is is the first step. The next is checking which URL Google really indexes on your site and fixing the templates that create duplicates.
- An action plan adapted to your situation
- Clear explanations, no needless jargon
- Direct application to your sector
From diagnosis to results, step by step
Here is how I handle canonical tag issues on client sites, and what my clients say about my work.
What Is a Canonical Tag?
The canonical tag is a link element defined in RFC 6596 and supported by Google, Bing and Yahoo since 2009. Its syntax is short:
How Canonicalization Works at Google
When Google finds several URLs with the same main content, it groups them in a cluster and selects one of them as canonical. It is part of how search engines crawl and…
Why Canonical Tags Matter for SEO
Duplicate URLs are rarely a penalty problem. Google states that duplicate content alone does not trigger a manual action. The real costs are elsewhere:
FAQ: Canonical Tag
What does a canonical tag do?
It tells search engines which URL is the preferred version when the same content is reachable at several addresses. Google usually indexes that URL and groups ranking signals on it.
Is the canonical tag a directive?
No. Google treats rel=canonical as a strong hint. It can choose another URL if redirects, internal links or the sitemap send contradictory signals.
Should every page have a self-referencing canonical?
Yes, it is the recommended default for indexable pages. It protects the page against URL parameters added by tracking tools or other sites.
What is the difference between a canonical tag and a 301 redirect?
A redirect sends visitors and bots to the new URL, so the old one disappears. A canonical tag keeps the variant accessible to visitors and only asks search engines to index the preferred URL.
Can a canonical tag point to another domain?
Yes. Cross-domain canonicals are supported, for example for syndicated articles. Google may still choose the copy if other signals are stronger.
How do I see which canonical Google chose?
Use the URL Inspection tool in Google Search Console. It shows the canonical you declared and the one Google selected.
Do you want to work with me?
I am SeoYass, an SEO expert with over 17 years of experience. I have worked with small and medium-sized businesses, successfully completing more than 350 projects.
Passionate about local SEO, I continue to learn and refine my strategies to deliver the best performance for my clients.

