Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Main CTA links to a 404: how to find and fix it

CNV-092High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A 404 is the status code a server returns when a URL has no page behind it. This issue is when your main call-to-action (CTA), the button or link you most want people to click, points at one of those URLs. The page with the button loads fine. The click is what fails.

Common causes: a page was deleted or unpublished, a slug (the last part of the URL) was renamed, a site was rebuilt with new URLs and no redirects, a link was typed by hand with a typo, or a campaign page was archived while ads still point to it.

Why it costs you leads or sales

The visitor has already decided to act. They clicked your button, and instead of a form or a checkout they get an error page. Most will leave rather than hunt for another route. If the traffic is paid, you also pay for every one of those clicks.

It is hard to notice. Your analytics still show healthy visits to the landing page, and nothing alerts you. The only sign is a drop in leads or sales, which can be blamed on the ads or the season.

Where the visitor is lost
  1. Ad or search clickVisitor arrives
  2. Landing pageLoads normally
  3. CTA clickLink returns 404
  4. Form or checkoutNever reached
  5. Lead or saleNever recorded

The landing page works, but the CTA click leads to an error, so every later step never happens.

Leads from 1,000 landing page visitsExample numbers
Leads from 1,000 landing page visits (example)Working CTA: 40 leads; CTA to 404: 0 leads01531400Working CTACTA to 404leads

Example: illustrative numbers only. With a working CTA, 40 of 1,000 visitors reach the form and convert. With a 404 CTA, none can.

How to check if your site has it

Check your main CTA by hand
  1. Open the page in a private window

    Use the exact URL your ads or emails use, so you see what visitors see and not a logged-in preview.

  2. Click the main button

    Do it on desktop and on a phone. Some sites show different buttons or menus on mobile.

  3. Read the result

    A page saying Not Found, Page not found or 404 means the link is dead. Note the URL in the address bar.

  4. Confirm the status code

    Open browser developer tools (F12), go to the Network tab, click the button again and look for a request with status 404. Or run the command below.

  5. Check every CTA copy

    Header button, hero button, sticky bar, footer and pop-ups can each point somewhere different. Test them all.

Check the status code of a CTA linkbash
curl -s -o /dev/null -w "%{http_code} %{url_effective}\n" -L https://example.com/book-now

How to fix it

There are two fixes, and you can use both. Update the button so it points to the right live URL. And, if the old URL may still be used elsewhere (ads, emails, other sites), add a 301 redirect, which is a permanent forward from the old URL to the new one.

Fix the broken CTA
  1. Find the right destination

    Decide which live page the button should open: the form, booking page, product or checkout. Open it and copy its full URL.

  2. Edit the button link

    Replace the dead URL with the live one. Use the platform steps below.

  3. Add a 301 redirect for the old URL

    This protects ads, emails and bookmarks that still use the old address.

  4. Update ads and emails

    If your ads or emails link directly to the dead URL, change the final URL there too. Keep your UTM parameters.

  5. Publish and clear caches

    Purge any page cache or CDN cache so visitors do not see the old link.

Fix it on your platform
  1. Edit the button

    Open the page in the block editor or your page builder, select the button and replace the URL in the link field. Update the page.

  2. Redirect the old URL

    Use a redirect feature in your SEO plugin (for example Yoast Premium or Rank Math Redirections) or a redirect plugin. Set the old path as source and the new URL as target, type 301.

  3. Check menus and widgets

    Go to Appearance > Menus and check header and footer buttons. Theme-level buttons are often set in the Customizer or theme options.

Apache (.htaccess) 301 redirecthtaccess
Redirect 301 /old-offer https://example.com/new-offer
Nginx 301 redirectnginx
location = /old-offer {
  return 301 https://example.com/new-offer;
}
CTA link before and after

Before

  • Button points to /old-offer
  • Server returns 404 Not Found
  • Visitor leaves, no lead recorded
  • Ad spend wasted on every click

After

  • Button points to /new-offer
  • Old URL redirects with a 301
  • Visitor reaches the form or checkout
  • Lead or sale can be recorded

How to confirm it's fixed

Confirm the fix
  • Click the main CTA in a private window on desktop and land on the right page
  • Repeat on a real phone or mobile emulator
  • Run curl on the old URL and see a 301 to the new one, then 200 on the final page
  • Click header, hero, sticky and footer buttons, not just one
  • Open your live ad and email links and check they land correctly with UTMs intact
  • Submit a test form or start a checkout to be sure the whole path works

How to prevent it happening again

Prevention habits
  • Before deleting, renaming or unpublishing a page, search the site and your ads for links to it
  • Add a 301 redirect every time a URL changes
  • Link to pages through the builder's page picker instead of typing URLs where possible
  • After a redesign or migration, crawl or click-test every CTA before launch
  • Pause or update ads when a campaign page is retired
  • Keep a list of your key landing pages and CTAs and re-test them on a schedule
How a dead CTA usually happens
  1. Example: Day 1

    A page slug is renamed during a content update.

  2. Example: Day 1

    No redirect is added. The old URL now returns 404.

  3. Example: Day 2-10

    Ads keep sending traffic. Visitors click the button and leave.

  4. Example: Day 11

    Someone notices leads have dropped and finds the dead link.

  5. Example: Day 11

    Link fixed and redirect added.

How FunnelGuard handles this

FunnelGuard detects this issue today. Its robot visitor loads your page on a schedule, finds the links on your journey, including your main call-to-action, and checks that each one resolves to a working page rather than a 404 (the no_broken_links check). If a link fails, it is re-checked from a second region first, so a one-off glitch does not trigger an alert.

When the failure is confirmed you get one alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. The check is limited to the journeys you set up, so add your main landing pages. The Free plan covers 1 site and 2 journeys with daily checks and no card needed, and a free read-only website audit is also available.

Questions people ask

Why does my call-to-action button lead to a 404 page?

The URL the button points to no longer has a page behind it. Usual causes are a deleted or unpublished page, a renamed slug, a typo in the link, or a site rebuild without redirects. Open the button's link, check the address, and point it at the live page.

How do I find broken CTA links on my website?

Click each main button in a private window on desktop and mobile, and check the status code with browser developer tools or curl. For ongoing coverage, use a monitor that clicks through your landing pages on a schedule and checks that links resolve.

Should I use a 301 redirect or just fix the button link?

Do both. Fixing the button link solves it on your page. A 301 redirect from the old URL also catches ads, emails, bookmarks and other sites that still use the dead address.

Will a CTA that links to a 404 hurt my SEO?

Broken internal links waste crawl effort and can send visitors away, which is bad for engagement. The bigger and more immediate cost is lost leads and sales from people who click and cannot continue. Fixing the link and redirecting the old URL addresses both.

How can I tell if my ads are sending people to a 404?

Open each ad's final URL in a private window and check that the page loads and the main button works. Also check the status code with curl. Ad platforms may disapprove ads for broken destinations, but they do not always catch a dead button on a page that loads.

Is redirecting a deleted page to my home page a good fix?

Only as a last resort. Visitors who expected a specific offer land on a generic page, and search engines may treat it as a soft 404. Redirect to the closest matching page instead.

Can FunnelGuard tell me when my CTA link breaks?

Yes. FunnelGuard checks that links on your monitored journeys, including the main CTA, resolve to working pages. If one fails and a second region confirms it, you get one alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: no_broken_links.

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.