Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Missing rel=canonical on indexable pages: how to find and fix it

SEO-042Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A canonical tag is a line in the <head> of a page that tells search engines which URL is the main version of that content. It looks like <link rel="canonical" href="https://example.com/page/">. It is a hint, not a command, but Google uses it as a strong signal.

Why it costs you leads or sales

When several URLs show the same page, ranking signals such as links get split between them. Google may also show a variant you did not intend, such as a URL with ?utm_source= or ?sort=price, in search results. Visitors landing on those can have broken tracking, wrong attribution or a messy URL that lowers trust.

How a missing canonical splits a landing page
  1. Ad or linkVisitor arrives on /offer/?utm_source=x
  2. No canonical in headPage gives no preferred URL
  3. Google guessesIndexes a variant or splits signals
  4. Search resultWrong or weaker URL ranks

Without a canonical, each URL variant competes as its own page.

How to check if your site has it

Check a page and then the whole site
  1. View the raw HTML of one page

    Open the page, press Ctrl+U (Cmd+Option+U on Mac) and search for canonical. You want exactly one <link rel="canonical"> inside <head>.

  2. Test with curl

    Run the command below. No output means no canonical in the raw HTML. Also check the HTTP Link header, which can carry a canonical too.

  3. Use Google Search Console

    Open URL Inspection, enter the URL and look at 'User-declared canonical' and 'Google-selected canonical'. 'None' for the declared one confirms the issue.

  4. Crawl the site

    Run a crawler such as Screaming Frog (Canonicals tab, filter 'Missing') or Sitebulb. Filter to indexable pages only.

  5. Prioritise

    Fix landing pages, product and service pages, and blog posts first. Skip pages that are noindex or redirect.

Find the canonical tag in the raw HTMLbash
curl -s https://example.com/page/ | grep -i 'rel="canonical"'

# Also check the HTTP header
curl -sI https://example.com/page/ | grep -i '^link:'

How to fix it

The rule is simple: every indexable page gets one canonical in the <head>, pointing to its own preferred URL. Use an absolute URL with https and your chosen host (www or not), and match your trailing slash style. How you add it depends on your platform.

Add a self-referencing canonical
  1. Check your SEO plugin

    WordPress core adds canonicals for posts and pages. If they are missing, a theme or plugin may remove them. Yoast SEO, Rank Math and All in One SEO output them by default.

  2. Look for conflicts

    Deactivate plugins one at a time and re-check the source. Search the theme for remove_action( 'wp_head', 'rel_canonical' ), which removes the core tag.

  3. Set per-page overrides only when needed

    In Yoast, open the page's Advanced section and leave 'Canonical URL' blank to get the self-referencing default.

Self-referencing canonical in the headhtml
<head>
  <meta charset="utf-8">
  <title>Your page title</title>
  <link rel="canonical" href="https://example.com/your-page/">
</head>
Shopify: canonical line for theme.liquidliquid
<link rel="canonical" href="{{ canonical_url }}">
Head of a landing page

Before

  • No canonical tag in the head
  • /offer/ and /offer/?utm_source=x both indexable
  • Google picks the preferred URL

After

  • One self-referencing canonical per page
  • Parameter versions point to /offer/
  • Signals consolidate on one URL

How to confirm it's fixed

Verification checklist
  • Raw HTML (curl or view-source) shows exactly one canonical in the head
  • The href is absolute, uses https and matches your preferred host
  • Adding ?utm_source=test to the URL still shows the clean canonical
  • URL Inspection in Search Console shows a User-declared canonical
  • A re-crawl shows no indexable pages under 'Missing canonical'
  • Noindex and redirecting pages were left out of the fix

How to prevent it happening again

Canonicals usually disappear after a theme change, a plugin update, a new page template or a migration. Add a canonical check to your launch checklist for new templates, and re-crawl after any of those changes.

Habits that keep canonicals in place
  • Output the canonical from one shared template, not by hand per page
  • Include a canonical check in QA for every new template or landing page builder
  • Schedule a monthly crawl filtered to indexable pages with missing canonicals
  • Watch the Page indexing report in Search Console for 'Duplicate without user-selected canonical'
  • Re-check after theme, plugin or CMS updates and site migrations

How FunnelGuard handles this

FunnelGuard does not check for missing canonical tags today. It is a possible future check, not a current feature. FunnelGuard is a synthetic monitoring service that runs your real customer journeys (lead forms, checkouts, booking buttons), checks each step and the tracking hits sent to ad and analytics platforms, and confirms test leads arrive.

Nearby, that means it can show when a journey or landing flow breaks, but it will not tell you a page lacks a canonical. To watch for this issue, use Search Console's Page indexing report and URL Inspection, plus a scheduled crawl in a tool such as Screaming Frog or Sitebulb. A free read-only website audit is available from FunnelGuard, but treat the crawl above as your canonical check.

Questions people ask

What happens if a page has no canonical tag?

Google chooses the preferred URL itself, based on redirects, links, sitemaps and content similarity. If the page has only one URL this is usually harmless. If it can load under several URLs, the wrong one may be indexed and signals can be split.

Do I need a canonical tag on every page?

Every indexable page should have one. A self-referencing canonical, pointing to the page's own clean URL, protects against parameter, protocol and slash variants. Pages set to noindex or that redirect do not need one.

How do I check if my page has a canonical tag?

View the page source (Ctrl+U) and search for rel="canonical", or run curl -s URL | grep -i canonical. You can also use URL Inspection in Google Search Console and read the User-declared canonical field.

Is a self-referencing canonical tag good practice?

Yes. A self-referencing canonical points a page to its own preferred URL. It tells search engines which version to index when tracking parameters or other variants of the URL appear.

Why does Search Console say 'Duplicate without user-selected canonical'?

It means Google found duplicate or near-duplicate URLs and none declared a canonical, so Google picked one itself. Add a canonical tag to those pages pointing to the version you want indexed.

Should the canonical URL use www or non-www?

Use whichever your site redirects to as its main version, and keep it consistent. The canonical should be an absolute URL with https, the same host and the same trailing slash style as your main URLs.

Can I add a canonical tag with Google Tag Manager?

You can inject one with a Custom HTML tag, but it only appears after JavaScript runs and may differ from the raw HTML. Adding it in the page template or server output is more reliable.

Does FunnelGuard check for missing canonical tags?

No. It is a possible future check. FunnelGuard monitors journeys, tracking hits and lead delivery today, so use Search Console and a scheduled crawl to watch canonicals.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.