Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Canonical pointing to the home page on every page: fix it

SEO-044High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A canonical tag is a line in the <head> of a page: <link rel="canonical" href="https://example.com/page/">. It tells search engines which URL is the preferred version when several URLs show similar content.

This issue happens when that tag says https://example.com/ on every page, including /pricing/, /blog/post/ and /product/shoes/. Each page is telling Google it is just a copy of the home page.

Common causes are a hard-coded tag in a shared header template, an SEO plugin or theme setting set to a fixed URL, a site-wide default canonical in a page builder, or a bad migration that copied the home page's settings everywhere.

Why it costs you leads or sales

A canonical is a hint, not a command. But when it is consistent across the whole site, Google often follows it. Pages treated as duplicates of the home page may not be indexed or shown, so people searching for your services or products cannot find them.

The loss is quiet. The site still works, forms still submit and ads still land. Only organic traffic to deep pages declines, and AI search tools that rely on search indexes may stop citing those pages too.

Indexed pages before and after a site-wide canonical mistakeExample numbers
Indexed pages before and after a site-wide canonical mistake (example)Before the mistake: 110 pages indexed; A few weeks after: 40 pages indexed; After fix and recrawl: 105 pages indexed0428411040105Before the mistakeA few weeks afterAfter fix and recrawlpages indexed

Example: a 120-page site where every canonical points to the home page. Numbers are illustrative.

How the wrong canonical loses the visit
  1. Page published/services/plumbing/ goes live
  2. Canonical tagPoints to the home page
  3. Google indexingPage treated as a duplicate
  4. Search resultPage not shown for its keywords
  5. Lead or saleVisitor never arrives

The page loads fine, but Google is told to treat it as the home page.

How to check if your site has it

Check the canonical on several pages
  1. View the page source

    Open an inner page, right-click and choose View page source. Search for rel="canonical". Note the href.

  2. Compare with the page URL

    The href should match the page you are on, without tracking parameters. If it shows your home page, you have the issue.

  3. Test other page types

    Check a blog post, a product or service page and a landing page. A tag that is wrong everywhere points to a site-wide cause.

  4. Use Google Search Console

    Open URL Inspection for an inner page. Under Page indexing, compare User-declared canonical with Google-selected canonical. Also look in Pages for the reason Alternate page with proper canonical tag or Duplicate, Google chose different canonical than user.

  5. Crawl the whole site

    Run a crawler such as Screaming Frog (its Canonicals tab) or Sitebulb and filter for pages whose canonical differs from their own URL. This shows how widespread it is.

Quick check from the command linebash
for u in https://example.com/ https://example.com/pricing/ https://example.com/blog/; do
  echo "$u"
  curl -s "$u" | grep -io '<link[^>]*rel=["'"'"']canonical["'"'"'][^>]*>'
done

How to fix it

The goal is a self-referencing canonical: each indexable page names its own full https URL. Find what writes the tag, then change it.

Fix by platform
  1. Check your SEO plugin

    In Yoast SEO, Rank Math or similar, open an affected page and look at the canonical URL field in the Advanced section. Clear any value that holds the home page. Also check site-wide defaults.

  2. Look for a hard-coded tag

    In Appearance > Theme File Editor (or your child theme), open header.php and search for rel="canonical". Remove a fixed tag so the plugin can output the right one. Only one canonical should remain.

  3. Disable conflicting plugins

    If two plugins output canonicals, turn off the duplicate. Clear caching afterwards.

What a correct tag looks like on /pricing/html
<link rel="canonical" href="https://example.com/pricing/">
Canonical tags on three pages

Broken

  • /pricing/ canonical: https://example.com/
  • /blog/guide/ canonical: https://example.com/
  • /product/shoes/ canonical: https://example.com/

Fixed

  • /pricing/ canonical: https://example.com/pricing/
  • /blog/guide/ canonical: https://example.com/blog/guide/
  • /product/shoes/ canonical: https://example.com/product/shoes/

How to confirm it's fixed

Confirmation checklist
  • View source on 5 or more different page types and confirm each canonical matches its own URL.
  • Confirm only one canonical tag appears per page.
  • Check the rendered HTML in Search Console's URL Inspection > View crawled page, not only your browser.
  • Click Request indexing for key pages in URL Inspection.
  • Re-run your crawler and confirm no pages canonicalise to the home page by mistake.
  • Watch the Pages report in Search Console over the following weeks as the duplicate reasons shrink.

How to prevent it happening again

Prevention
  • Never hard-code a canonical URL in a shared header or layout.
  • After theme, plugin or SEO setting changes, check the canonical on a few inner pages.
  • Test a staging copy before launches and migrations.
  • Run a scheduled crawl monthly and filter for canonicals that differ from the page URL.
  • Review the Search Console Pages report for new duplicate reasons.

How FunnelGuard handles this

FunnelGuard does not check canonical tags yet. It is a possible future check, so today you need another way to watch for it.

What FunnelGuard does do is run your real customer journeys on a schedule: lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That covers what happens after a visitor arrives, not whether Google can find the page.

To watch for this issue, schedule a monthly crawl in Screaming Frog or Sitebulb, or check the Pages report in Google Search Console for rising Alternate page with proper canonical tag counts. Spot-check the source of key pages after every release. A free read-only website audit is available from FunnelGuard, and a free plan covers 1 site and 2 journeys with daily checks.

Questions people ask

Why do all my pages have a canonical pointing to the home page?

Usually a hard-coded canonical tag in a shared header template, a fixed URL in an SEO plugin or theme setting, or a tag injected by Google Tag Manager. Search your source for rel="canonical" and see what writes it.

Will a canonical to the home page remove my pages from Google?

It can. Google treats the canonical as a strong hint, so pages marked as copies of the home page may not be indexed or shown. It is a hint, so Google sometimes ignores it, but you should not rely on that.

How do I check the canonical tag on a page?

Open the page, choose View page source and search for rel="canonical". The href should be that page's own https URL. You can also use URL Inspection in Google Search Console to compare the declared and Google-selected canonical.

Should every page have a self-referencing canonical?

Yes, for indexable pages it is good practice. Each page names its own clean URL, which protects against parameter and duplicate versions of the same page.

How long does Google take to fix canonicals after I correct them?

It depends on how often Google re-crawls your pages. It can take days for key pages and weeks for a large site. Requesting indexing in Search Console for important pages can speed it up.

Can Google Tag Manager cause a wrong canonical?

Yes. A Custom HTML tag can add or overwrite a canonical with JavaScript. If it uses a fixed URL, every page that fires it gets the same canonical, so check both raw and rendered HTML.

Does FunnelGuard check canonical tags?

Not yet. It is a possible future check. FunnelGuard currently monitors forms, checkouts, tracking hits and lead delivery, so use a crawler or Search Console 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.