Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Canonical points to a 404, redirect or noindex URL: how to fix

SEO-043High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

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

The tag only works if the target is a healthy page. This issue happens when the target is one of three things: a 404 or other error (the page was deleted or the URL has a typo), a redirect (the target sends visitors on to a different URL), or a noindex page (the target tells search engines not to keep it). In each case you are telling Google to prefer a page that cannot or should not be shown.

Why it costs you leads or sales

Pages that bring in leads and sales need to be in search results. If a landing page, product page or service page canonicalises to a dead or blocked URL, Google may drop it or show a different, weaker page. Organic visits fall, and so do the form fills and orders that came with them.

It often goes unnoticed. The page still loads fine for people, so nobody sees an error. The damage only shows up later as lost rankings and a drop in organic traffic.

How a bad canonical loses the visit
  1. Page liveReturns 200 and looks fine
  2. Canonical tagPoints to a 404, redirect or noindex URL
  3. Google indexingIgnores the tag or drops the page
  4. Organic visitNo search traffic arrives
  5. Lead or saleNever happens

The page works for visitors, but search never sends them to it.

Organic visits to one page before and after the bad canonicalExample numbers
Organic visits to one page before and after the bad canonical (example)Before the bad canonical: 1,200 visits per month; One month after: 700 visits per month; Three months after: 150 visits per month04609201,200700150Before the bad canoni…One month afterThree months aftervisits per month

Example: illustrative numbers only, showing how traffic can fall once Google stops indexing a page.

How to check if your site has it

Start with your most valuable pages, then widen out to the whole site.

Check a page by hand
  1. View the canonical

    Open the page, right-click, choose View page source and search for rel="canonical". Copy the URL in the href.

  2. Open the canonical URL

    Paste it into a new tab. If you land on an error page, or the address bar changes to another URL, the target is broken or redirected.

  3. Check the status code

    In Chrome, open DevTools, go to the Network tab, reload the target and look at the first request. You want 200. A 301, 302, 404 or 410 means a problem.

  4. Check for noindex

    View the target's source and look for <meta name="robots" content="noindex">. Also check the X-Robots-Tag response header in the Network tab.

To check at scale, run a site crawler such as Screaming Frog, Sitebulb or Ahrefs Site Audit. These report canonicals that point to non-200, redirected or noindex URLs. In Google Search Console, open Indexing > Pages and look for reasons such as Alternate page with proper canonical tag, Duplicate, Google chose different canonical than user and Page with redirect. The URL Inspection tool shows the user-declared and Google-selected canonical for a single URL.

Check a canonical target's status from the command linebash
# Show the canonical tag
curl -s https://example.com/page/ | grep -i 'rel="canonical"'

# Check the status code and headers of the target
curl -sI https://example.com/target-page/ | grep -iE 'HTTP/|location|x-robots-tag'
What each result means
Target resultMeaningWhat to do
404 or 410Page is gone or URL is mistypedPoint canonical to a live page, or restore the page
301 or 302Target redirects elsewhereUse the final destination URL
200 with noindexTarget is blocked from the indexRemove noindex, or canonicalise to an indexable page
200, indexableHealthyNo action needed

How to fix it

The goal is simple: every indexable page should name a canonical URL that returns 200, is not redirected and is not noindex. For most pages, that is the page's own clean URL (a self-referencing canonical).

Fix a broken canonical
  1. List the affected pages

    Export the crawler report of pages whose canonical target is not a 200 indexable URL.

  2. Decide the right target for each

    If the page is the main version, use its own URL. If it duplicates another page, use that page's final URL. If the target was deleted by mistake, restore it.

  3. Use the final URL

    If the target redirects, copy the destination URL, with the right protocol (https), host and trailing slash.

  4. Remove noindex or change target

    If the target is meant to be found, remove its noindex. If it should stay hidden, do not canonicalise to it.

  5. Update the tag

    Edit the canonical using your platform (see the tabs below), then re-crawl to confirm.

Where to change the canonical on each platform
  1. Use your SEO plugin

    In Yoast SEO, edit the page, open Advanced and set Canonical URL. In Rank Math, open the Advanced tab and set Canonical URL. Leave it blank to use the page's own URL.

  2. Check the theme

    If a theme or second plugin also prints a canonical, remove the duplicate. Search the theme for rel_canonical or rel="canonical".

  3. Fix the slug

    If you changed a slug, make sure old URLs redirect and the canonical uses the new slug.

A healthy self-referencing canonicalhtml
<head>
  <link rel="canonical" href="https://example.com/services/web-design/">
</head>
Canonical before and after

Broken

  • Canonical points to /old-service/ which returns 404
  • Or points to a URL that 301s to a new address
  • Or points to a page with noindex
  • Google ignores the tag or drops the page

Fixed

  • Canonical points to the page's own live URL
  • Target returns 200 with no redirect
  • Target has no noindex
  • Google can index and rank the right page

How to confirm it's fixed

Confirm the fix
  • View source on the live page and confirm the canonical URL is the one you intended
  • Open the canonical target: it returns 200 and the address bar does not change
  • The target has no noindex in the meta tag or X-Robots-Tag header
  • Re-run your crawler and confirm the page no longer appears in the canonical error report
  • In Search Console, run URL Inspection on the page and click Request indexing
  • Recheck Indexing > Pages in a few weeks to see the issue count fall

How to prevent it happening again

Habits that stop it returning
  • Default to self-referencing canonicals generated from the current URL, not typed by hand
  • Whenever you delete or rename a page, add a 301 redirect and update any canonical that used the old URL
  • Before launching a redesign or migration, crawl the staging site and check canonical targets
  • Remove noindex before launch, and never combine noindex with a canonical to another page
  • Schedule a monthly crawl and review canonical errors
  • Review the Pages report in Search Console after any big site change

How FunnelGuard handles this

FunnelGuard does not check canonical tags yet. Checking whether a canonical target returns 200, redirects or carries noindex is a possible future check, but it is not something the service does today, so do not rely on it for this issue.

What FunnelGuard does do is run your real customer journeys on a schedule, such as 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. A failure is re-checked from a second region before one alert goes out. That covers what happens after a visitor arrives, not whether search engines index the page.

To watch for canonical problems, use a scheduled crawl in a tool such as Screaming Frog, Sitebulb or Ahrefs Site Audit, and review the Pages report in Google Search Console each month. You can also start with FunnelGuard's free read-only website audit, and the Free plan covers 1 site and 2 journeys with daily checks and no card.

Frequently asked questions

Quick answers to the questions people ask most about this problem are listed below.

Questions people ask

Why is my canonical tag pointing to a 404 page?

Usually the target page was deleted, renamed or mistyped, and the canonical was never updated. It can also come from a migration, a plugin setting or a hardcoded URL in the theme. Point the tag at a live page that returns 200, normally the page's own URL.

Can a canonical pointing to a redirect hurt SEO?

Yes. Google expects the canonical to be the final URL, so a redirecting target adds confusion and may cause Google to ignore your hint. Replace it with the destination URL so the canonical resolves directly with a 200.

What happens if a canonical points to a noindex page?

The signals conflict. You ask Google to prefer a page that you also ask it to keep out of the index, so your page can be dropped or the hint ignored. Either remove the noindex from the target or canonicalise to an indexable page.

How do I find canonical tags pointing to broken URLs?

Crawl your site with a tool such as Screaming Frog, Sitebulb or Ahrefs Site Audit and filter for canonicals whose target is not a 200 indexable URL. Search Console's Pages report and URL Inspection tool also show what Google picked as the canonical.

Should every page have a self-referencing canonical?

For most indexable pages, yes. A canonical that points to the page's own clean URL is a safe default and helps when tracking parameters or small URL variants appear. Only point elsewhere when the page is truly a duplicate of another one.

How long does Google take to fix a canonical after I update it?

It depends on how often Google crawls the page, so it can take days or a few weeks. You can speed it up by using URL Inspection in Search Console and clicking Request indexing after you publish the fix.

Does FunnelGuard check canonical tags?

No, not yet. Canonical checks are a possible future addition. FunnelGuard currently monitors customer journeys, tracking hits and lead delivery, so use a site crawler and Search Console for canonical problems.

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.