skip to content →
warningSEO RULE · R07

Missing canonical tag: what it is and how to fix it

A missing canonical tag means search engines have to guess which version of a page is the "real" one. The fix is one line of HTML in the <head> of every page.

A missing canonical tag means search engines have to guess which version of a page is the "real" one. The fix is one line of HTML in the <head> of every page. A canonical tag is a <link rel="canonical" href="…"> element that tells Google which URL is the authoritative version of a page when the same content is reachable at multiple URLs (with and without trailing slash, with tracking parameters, http vs https, www vs non-www, etc.).

Last updated·part of the 50-rule library

What it is

A canonical tag is a <link rel="canonical" href="…"> element that tells Google which URL is the authoritative version of a page when the same content is reachable at multiple URLs (with and without trailing slash, with tracking parameters, http vs https, www vs non-www, etc.).

Why it matters

Without a canonical, Google may index several duplicate URLs separately, splitting ranking signals (links, click-throughs) across them and pushing all variants down the SERP. AI answer engines also use canonical to decide which URL to cite, so a missing canonical can mean ChatGPT or Perplexity cites a parameterised duplicate instead of your clean URL.

How to fix it

  1. Pick the canonical URL for the page. Choose the cleanest version — usually HTTPS, no trailing slash, no query parameters. This is what you want indexed and cited.
  2. Add the canonical link to the <head>. Insert <link rel="canonical" href="https://yourdomain.com/your-page" /> in the <head>. Use the absolute URL, not a relative path.
  3. Make it self-referential on every page. Every indexable page (including the canonical itself) should declare its own canonical. Pages that should NOT be indexed (search results, paginated archives past page 1) get a noindex meta tag, not a canonical hack.
  4. Verify with a fetch-as-Google check. Use Google Search Console URL Inspection to confirm Google sees your canonical and is treating it as the user-declared canonical. If "Google-selected canonical" differs, investigate why (content quality, signal conflicts).

Common false positives

A self-referential canonical pointing to the same URL is correct, not a bug. Some scanners flag this — they are wrong.

Authoritative sources