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.
- Page liveReturns 200 and looks fine
- Canonical tagPoints to a 404, redirect or noindex URL
- Google indexingIgnores the tag or drops the page
- Organic visitNo search traffic arrives
- Lead or saleNever happens
The page works for visitors, but search never sends them to it.
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.
View the canonical
Open the page, right-click, choose View page source and search for
rel="canonical". Copy the URL in the href.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.
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.
Check for noindex
View the target's source and look for
<meta name="robots" content="noindex">. Also check theX-Robots-Tagresponse 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.
# 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'| Target result | Meaning | What to do |
|---|---|---|
| 404 or 410 | Page is gone or URL is mistyped | Point canonical to a live page, or restore the page |
| 301 or 302 | Target redirects elsewhere | Use the final destination URL |
| 200 with noindex | Target is blocked from the index | Remove noindex, or canonicalise to an indexable page |
| 200, indexable | Healthy | No 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).
List the affected pages
Export the crawler report of pages whose canonical target is not a 200 indexable URL.
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.
Use the final URL
If the target redirects, copy the destination URL, with the right protocol (https), host and trailing slash.
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.
Update the tag
Edit the canonical using your platform (see the tabs below), then re-crawl to confirm.
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.
Check the theme
If a theme or second plugin also prints a canonical, remove the duplicate. Search the theme for
rel_canonicalorrel="canonical".Fix the slug
If you changed a slug, make sure old URLs redirect and the canonical uses the new slug.
Check theme.liquid
In Online Store > Themes > Edit code, open
layout/theme.liquidand find the canonical line.Use the built-in value
Shopify supplies
canonical_url. Replace any hardcoded URL with it.Check deleted products
If a product was deleted, redirect its URL under Online Store > Navigation > View URL Redirects.
Find tags that write canonicals
Search your container for Custom HTML tags that add or change a canonical link with JavaScript.
Correct or pause the tag
Fix the URL logic or pause the tag. Prefer a canonical in the server-rendered HTML instead.
Preview and publish
Use Preview mode to check the head, then publish the new version.
Open page settings
In the Pages panel, open the page's settings and find the Canonical URL field under SEO settings.
Enter a live URL
Use the full https URL of the page, or clear the field if it is wrong.
Publish
Publish the site, then check the live source.
Open SEO settings
In the Wix editor or dashboard, go to the page's SEO settings and open Advanced SEO.
Fix or remove the custom tag
Check custom tags in the head. Edit any canonical that points to a dead URL.
Publish
Publish and view the source to check.
Check code injection
Go to Settings > Advanced > Code Injection and look for a hardcoded canonical tag in the header.
Remove it
Squarespace adds canonical tags automatically, so a hardcoded one can conflict or point to the wrong place.
Fix redirects
If you deleted a page, add a URL mapping under Settings > Developer Tools > URL Mappings.
Generate it from the current URL
Build the canonical from the request's clean path instead of a hardcoded or old value.
Resolve redirects first
Make sure the URL you output is the final one: https, preferred host, correct trailing slash.
Do not canonicalise to noindex
Never output a canonical pointing at a page that sends noindex in the meta tag or the header.
<head>
<link rel="canonical" href="https://example.com/services/web-design/">
</head>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
- 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
- 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.
Related issues
- SEO-042Missing rel=canonical on indexable pagesFix guide
- SEO-051Canonical chains (A -> B -> C)Fix guide
- SEO-052Google chose a different canonical than declaredFix guide
- SEO-044Canonical points to the home page from every pageFix guide
- SEO-050Cross-domain canonical to a partner or old domain by mistakeFix guide
- SEO-048Canonical set by JavaScript differs from the raw HTML canonicalFix guide