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.
- Ad or search clickVisitor arrives
- Landing pageLoads normally
- CTA clickLink returns 404
- Form or checkoutNever reached
- Lead or saleNever recorded
The landing page works, but the CTA click leads to an error, so every later step never happens.
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
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.
Click the main button
Do it on desktop and on a phone. Some sites show different buttons or menus on mobile.
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.
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.
Check every CTA copy
Header button, hero button, sticky bar, footer and pop-ups can each point somewhere different. Test them all.
curl -s -o /dev/null -w "%{http_code} %{url_effective}\n" -L https://example.com/book-nowHow 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.
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.
Edit the button link
Replace the dead URL with the live one. Use the platform steps below.
Add a 301 redirect for the old URL
This protects ads, emails and bookmarks that still use the old address.
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.
Publish and clear caches
Purge any page cache or CDN cache so visitors do not see the old link.
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.
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.
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.
Edit the button link
In the theme editor (Online Store > Themes > Customize), select the section with the button and paste the right URL or choose the product or page from the link picker.
Add a URL redirect
Go to Online Store > Navigation > View URL Redirects > Create URL redirect. Enter the old path and the new target.
Check navigation menus
Under Online Store > Navigation, make sure menu items do not point to deleted products or collections.
Edit the link
Select the button in the Designer, open the Element Settings panel and update the link. Choose a page from the list where you can so renames do not break it.
Add a 301 redirect
Go to Project Settings > Hosting > 301 Redirects, enter the old path and the new path, then publish the site.
Relink the button
Click the button in the editor, choose the link icon and select the live page, or enter the right URL. Publish.
Add a redirect
In the dashboard go to Marketing & SEO > SEO > URL Redirect Manager and add old and new URLs.
Edit the button block
Click the button, open the edit pencil, and change the link to the correct page or URL. Save.
Add a URL mapping
Go to Settings > Developer Tools > URL Mappings and add a line like /old-page -> /new-page 301.
Edit the button in the funnel or website builder
Open the funnel step, select the button element and fix its link under the element's Action or Link settings. Save and publish.
Check the next step exists
If the button goes to the next funnel step, confirm that step is published and its path has not changed.
Fix the href
Search your templates for the dead URL and replace it in the anchor tag.
Add a server redirect
Add a permanent redirect for the old path in your server config, as in the snippets below.
Redirect 301 /old-offer https://example.com/new-offerlocation = /old-offer {
return 301 https://example.com/new-offer;
}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
- 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
- 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
Example: Day 1
A page slug is renamed during a content update.
Example: Day 1
No redirect is added. The old URL now returns 404.
Example: Day 2-10
Ads keep sending traffic. Visitors click the button and leave.
Example: Day 11
Someone notices leads have dropped and finds the dead link.
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.
Related issues
- CNV-093CTA links to the wrong page (old offer, wrong product)Fix guide
- CNV-103Navigation link to pricing/contact brokenFix guide
- CNV-108Links point to staging or localhostFix guide
- CNV-110Redirect loop on CTA targetFix guide
- CNV-111Ad landing page URL redirects and strips UTMs/gclidFix guide
- CNV-097Anchor link (#form) scrolls nowhereFix guide