< link /> rel=”canonical” TECHNICAL SEO GUIDE rel=”canonical” Stop splitting your ranking signals, use canonical tags correctly Updated 2026

The rel="canonical" tag is one of the most powerful, and most misused, tools in technical SEO. When Google encounters multiple URLs serving identical or very similar content, it needs to decide which one to rank. The canonical tag is your way of telling Google which URL is the “real” one. Get it right and you consolidate ranking signals onto a single authoritative page. Get it wrong and you fragment your link equity, confuse crawlers, and suppress your own rankings.

This guide covers the exact syntax, every scenario where canonicals apply, the six rules Google actually uses when processing them, the six most common mistakes, and a step-by-step audit process.

What Is a Canonical Tag?

A canonical tag is an HTML element placed in the <head> of a page that tells search engines which URL is the preferred, authoritative version of that page’s content. The full technical name is “canonical link element” and it uses the rel="canonical" attribute.

Exact syntax:

<link rel="canonical" href="https://example.com/page/" />This element lives in the <head> section of your HTML, not in the body. It must be an absolute URL (including protocol and domain), not a relative path. Here’s where it sits in a full page structure:

<!DOCTYPE html>
<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Your Page Title</title> <link rel="canonical" href="https://example.com/your-page/" /> <!-- other head elements --> </head> <body> <!-- page content --> </body> </html>

What it tells Google: “No matter which URL you used to reach this page, treat https://example.com/your-page/ as the one true version. Consolidate all ranking signals, links, crawl priority, indexation, on that URL.”

Canonical tags are a hint, not a directive. Google will usually respect them, but may override them if the canonical you specify seems incorrect, for example, if the canonical URL is blocked by robots.txt, returns a non-200 status code, or has substantially different content from the page with the canonical tag.

When to Use Canonical Tags

Canonical tags solve a specific problem: the same (or very similar) content accessible at multiple URLs. Here are the five most common scenarios where they apply.

1. URL Parameters Creating Duplicate URLs

This is the most common source of duplicate content on the web. URL parameters, used for tracking, sorting, filtering, sessions, create new URLs with identical content. Examples:

  • https://example.com/shoes/, your canonical product category page
  • https://example.com/shoes/?sort=price_asc, same page, sorted differently
  • https://example.com/shoes/?color=blue&size=10, filtered view
  • https://example.com/shoes/?utm_source=newsletter&utm_medium=email, tracking params
  • https://example.com/shoes/?sessionid=abc123, session ID

Every parameterized URL should include a canonical pointing back to the clean base URL: <link rel="canonical" href="https://example.com/shoes/" />.

2. HTTP vs HTTPS Versions

If your site is accessible on both HTTP and HTTPS (common on misconfigured servers or during an HTTP-to-HTTPS migration), you have a duplicate content problem. Google treats http://example.com/page/ and https://example.com/page/ as different URLs.

Solution: 301 redirect all HTTP to HTTPS, and ensure every page has a canonical pointing to the HTTPS version. Both signals together are stronger than either alone.

3. www vs Non-www Versions

Similarly, https://www.example.com/page/ and https://example.com/page/ are different URLs to Google. Pick one as your canonical domain, 301 redirect the other, and make sure your canonical tags always reference the preferred version consistently.

4. Paginated Content

Pagination creates a set of related URLs: /blog/, /blog/page/2/, /blog/page/3/. A common mistake is setting the canonical on all paginated pages to point to page 1. Do not do this. Each paginated page should self-canonicalize (point to its own URL). Only canonicalize to page 1 if pages 2+ truly contain no unique content, which is rarely the case.

5. Syndicated Content

If your content is republished on other sites (press releases, guest posts, content partnerships), those third-party pages should include a canonical pointing back to your original URL. This passes the ranking credit back to your site instead of the republishing site. You can also use a cross-domain canonical for this, discussed in the rules section below.

Canonical Tag Rules Google Follows

Google’s treatment of canonical tags is more nuanced than “it always respects what you set.” Here are the six specific rules that govern how Google processes canonical signals.

1. Self-Referencing Canonicals

Every page that you want indexed, including the canonical page itself, should include a canonical tag pointing to its own URL. This is called a self-referencing canonical. It’s not redundant. It signals to Google that this URL is the preferred version, even if someone links to it with parameters or someone scrapes and republishes the content.

<!-- On https://example.com/page/, a self-referencing canonical -->
<link rel="canonical" href="https://example.com/page/" />

WordPress plugins like Yoast SEO, RankMath, and SEOPress add self-referencing canonicals automatically. Verify they’re working correctly by checking your page source.

2. Cross-Domain Canonicals

Google supports canonical tags that point to a URL on a different domain. This is specifically designed for content syndication, where your article is republished verbatim on a partner site, news aggregator, or wire service.

<!-- On the syndication partner's site (partnersite.com) -->
<link rel="canonical" href="https://yoursite.com/original-article/" />

Cross-domain canonicals are appropriate when content is truly identical. Don’t use them to try to redirect ranking signals from a page you genuinely want to rank at its own URL, that’s canonicalization abuse and Google may ignore it.

3. Canonical vs Noindex

What happens when a page has both a canonical pointing elsewhere and a noindex meta tag? In most cases, Google respects the canonical, it treats the canonical signal as the stronger directive, consolidates signals on the canonical URL, and may still index the canonical target even if the source says noindex. However, this creates contradictory signals. The correct approach: use noindex when you want to prevent indexation entirely; use canonical when you want to consolidate signals. Don’t use both on the same page pointing in different directions.

4. Canonical vs 301 Redirect

Both canonicals and 301 redirects tell Google “the real version of this content is over there,” but they work differently and carry different authority. A 301 redirect is an instruction, Google (and browsers) must follow it. A canonical is a hint, Google will usually follow it but isn’t obligated to. When you need to consolidate content permanently and you control both URLs, use a 301 redirect. The canonical tag is ideal when you can’t redirect (multiple parameters on a single page, cross-domain syndication, or when the duplicate URL still needs to be accessible to users).

5. Paginated Pages and rel=”canonical”

This is the canonical mistake that trips up the most sites. The wrong approach: setting the canonical on /category/page/2/, /category/page/3/, etc. to point to /category/. This tells Google those paginated pages are duplicates of page 1, Google may stop indexing them entirely, meaning content only visible on page 2+ never gets indexed.

Correct approach: Each paginated URL self-canonicalizes. Page 2 canonicalizes to page 2, page 3 to page 3, and so on. Use internal linking and your XML sitemap to help Google discover all the paginated pages.

<!-- On /category/page/2/, correct self-canonical -->
<link rel="canonical" href="https://example.com/category/page/2/" />

<! - WRONG, do not point paginated pages to page 1 - > <link rel=”canonical” href=”https://example.com/category/” />

6. Hreflang and Canonical Interaction

For international sites using hreflang, each language/region version should self-canonicalize, it should have a canonical tag pointing to itself, not to any other language version. Google uses the canonical to understand which URL is preferred for that specific locale. Each hreflang variant is a distinct canonical page in its own right.

<!-- On the US English page (example.com/page/) -->
<link rel="canonical" href="https://example.com/page/" /> <link rel="alternate" hreflang="en-us" href="https://example.com/page/" /> <link rel="alternate" hreflang="en-gb" href="https://example.co.uk/page/" /> <link rel="alternate" hreflang="de" href="https://example.de/seite/" />

<! - On the German page (example.de/seite/) - > <link rel=”canonical” href=”https://example.de/seite/” /> <link rel=”alternate” hreflang=”en-us” href=”https://example.com/page/” /> <link rel=”alternate” hreflang=”en-gb” href=”https://example.co.uk/page/” /> <link rel=”alternate” hreflang=”de” href=”https://example.de/seite/” />

Never set all language variants to canonical to a single “master” URL, this would collapse all your international pages into one, destroying your ability to rank in different regions.

Common Canonical Tag Mistakes

These six mistakes account for the majority of canonical-related ranking problems found in technical SEO audits.

Mistake 1: Canonicalizing to a Redirecting URL

If your canonical tag points to a URL that 301 redirects to another URL, Google sees a chain: canonical → redirect → final URL. Google will likely ignore your canonical and pick the final URL itself. Always canonicalize to the final destination URL, not an intermediate redirect.

<!-- WRONG: canonical points to a URL that redirects -->
<link rel="canonical" href="https://example.com/old-page/" /> <!-- (old-page/ 301 redirects to /new-page/) -->

<! - RIGHT: canonical points directly to the final URL - > <link rel=”canonical” href=”https://example.com/new-page/” />

Mistake 2: Missing Canonical Tags Entirely

Pages without a canonical tag force Google to guess which version is preferred. On sites with URL parameters, this means Google may index dozens of parameter variants. Every page on your site should have a canonical tag, either self-referencing or pointing to the preferred version.

Mistake 3: Multiple Canonical Tags on a Single Page

If your page accidentally outputs two canonical tags, a common problem when CMS plugins conflict or theme code duplicates head elements, Google will ignore both. It treats conflicting canonicals as invalid and makes its own determination.

<!-- WRONG: two canonical tags on the same page -->
<link rel="canonical" href="https://example.com/page/" /> <link rel="canonical" href="https://example.com/other-page/" />

<! - RIGHT: exactly one canonical tag - > <link rel=”canonical” href=”https://example.com/page/” />

Mistake 4: Using a Relative URL in the Canonical

Google recommends using absolute URLs in canonical tags. Relative canonicals can be misinterpreted, especially on sites with complex URL structures or subdomains.

<!-- WRONG: relative URL -->
<link rel="canonical" href="/page/" />

<! - RIGHT: absolute URL with protocol and domain - > <link rel=”canonical” href=”https://example.com/page/” />

Mistake 5: Canonical Tag in the Body Instead of Head

A canonical tag placed in the <body> of the HTML (instead of the <head>) may be ignored by Google. Some page builders and badly coded themes output canonical tags in the wrong location. Always verify placement with view-source.

Mistake 6: Canonicalizing Thin or Low-Quality Duplicate to a Better URL

Canonical tags consolidate signals, but they can’t magic away a thin content problem. If the canonical target URL also has thin content, you’re just telling Google which thin page you prefer. Fix the underlying content quality issue; don’t rely on canonical tags to compensate for it.

How to Audit Your Canonical Tags

A canonical tag audit has three stages: using Google Search Console to surface issues at scale, using Screaming Frog for a URL-by-URL crawl, and manual spot-checking with view-source.

Step 1, Google Search Console

  1. Open Google Search Console and navigate to Indexing → Pages.
  2. Look for pages listed under “Duplicate without user-selected canonical”, these are pages Google thinks are duplicates but where you haven’t specified a canonical. They need one.
  3. Look for “Duplicate, Google chose different canonical than user”, this means you set a canonical but Google disagreed and chose a different URL. Google is essentially overriding you. Investigate why: the canonical you specified may be non-indexable, redirecting, or substantially different in content.
  4. Check “Alternate page with proper canonical tag”, these are pages that are correctly excluded because their canonical points elsewhere. This is expected behavior for parameter variants.

Step 2, Screaming Frog Crawl

  1. Crawl your site in Screaming Frog (free up to 500 URLs; paid license for larger sites).
  2. Go to the Canonicals tab to see every canonical tag on every page. Sort by “Canonical Link Element 1” to identify pages with missing, duplicate, or mismatched canonicals.
  3. Filter for “Non-Indexable Canonical”, pages where the canonical target is not indexable (returns 404, is blocked by robots.txt, or has a noindex tag). These canonical tags are broken.
  4. Use the “Canonicalised” filter to see all pages that are canonicalized to a different URL. Verify these are all intentional.

Step 3, Manual Spot Check with view-source

For any page you want to verify directly:

  1. In your browser, navigate to the page.
  2. Right-click → View Page Source (or press Ctrl+U / Cmd+U).
  3. Use Ctrl+F to search for canonical.
  4. Verify there is exactly one canonical tag, it’s in the <head>, it uses an absolute URL, and it points to the correct final URL.

Alternatively, use the URL Inspection tool in Google Search Console to see exactly how Google has processed the canonical for any specific URL.

Canonical Tags vs 301 Redirects, When to Use Which

Both signals tell Google “prefer this URL over that one”, but they differ fundamentally in strength, user behavior, and the scenarios where they apply.

rel=”canonical” 301 Redirect Type Hint (Google may override) Instruction (browser + bots must follow) User experience URL stays the same in browser Browser is sent to the new URL Use when Duplicate URL must stay accessible; cross-domain syndication; parameter variants Old URL no longer needed; consolidating content permanently Link equity Consolidates signals (hint) Passes ~full equity to destination Ideal for Parameter URLs, paginated pages, syndicated content, www/non-www when you can’t redirect Site migrations, URL restructures, merging old pages into new ones Combined? Yes, use both on HTTP→HTTPS migrations: 301 all HTTP to HTTPS and set HTTPS canonicals

Rule of thumb: If users need to access both URLs (even temporarily), use a canonical. If the old URL is truly dead and users should be sent elsewhere, use a 301 redirect. When migrating a site, use 301 redirects as your primary signal and canonical tags as backup, not the other way around.

Frequently Asked Questions

Does a canonical tag guarantee Google won’t index the duplicate URL?

No. Canonical tags are hints, not directives. Google will usually respect them, but if the canonical you’ve specified seems wrong, for example, it points to a URL with substantially different content, or a URL that’s blocked by robots.txt, Google may override your choice and index whatever URL it considers the real one. If you need to hard-enforce non-indexation, use a noindex meta tag combined with a canonical.

Should every page on my site have a canonical tag?

Yes. Every page that you want to be indexed should have a self-referencing canonical tag. Even pages that have no obvious duplicates benefit from a self-canonical, it protects against external scraping, parameter injection, and future URL changes. Most SEO plugins handle this automatically for WordPress sites.

What happens if I have a canonical loop (A canonicals to B, B canonicals to A)?

Google detects canonical loops and will pick one URL at its own discretion, likely ignoring both canonical tags. Canonical chains (A → B → C) have the same problem. Always ensure canonicals point to the final, intended URL with no intermediate hops.

Can I use a canonical tag to consolidate link equity from similar-but-not-identical pages?

No. The canonical tag is intended for duplicate or near-duplicate content, not for pages with meaningfully different content. Google may ignore a canonical if the content on the two pages is substantially different. If you’re trying to rank a target URL for content spread across multiple different pages, internal linking is the correct tool, not canonicals.

My canonical tags look correct but Google Search Console still shows “Google chose different canonical than user.” Why?

Several reasons: (1) The canonical you specified may redirect to another URL. (2) The canonical target may have a noindex tag or be blocked by robots.txt. (3) The canonical target has substantially different content from the page. (4) Other strong signals, like many external links pointing to a different URL, are overriding your canonical hint. Use the URL Inspection tool in Search Console on both URLs to see exactly how Google is processing them, then fix whichever condition applies.

Related Resources

Technical SEO Guide Complete reference for crawlability, indexation, speed, and site structure Technical SEO Audit Step-by-step process for finding and fixing technical SEO issues SEO Audit Guide Full 7-layer SEO audit framework including technical and on-page factors Robots.txt Guide Write, test, and audit your robots file without blocking your own site

Part of the Wbcom Designs family

The all-in-one WordPress community stack

Also ours: wbcomdesigns.comvapvarun.combrndle.com