Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Thank-you page returns 404: how to find and fix it

CNV-082High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A thank-you page is the page a visitor sees after submitting a form, booking or paying. A 404 is the status code a server returns when a URL does not exist. This issue happens when the form's success redirect points to a URL that returns 404.

The form itself often still works. The lead may reach your inbox or CRM. Only the page after the submit is broken, which is why it can go unnoticed for weeks.

Common causes: the page was deleted or unpublished, its slug (the end of the URL) was renamed, a site migration changed URLs, a redirect rule was removed, or the form still points to a staging or old domain.

Why it costs you leads or sales

People who see an error right after submitting often wonder whether the form worked. Some submit again, some email you, and some assume the business is unreliable. For checkouts, a 404 after payment can trigger doubt about whether the order went through.

It also breaks measurement. Many sites fire conversion tags (GA4, Google Ads, Meta and others) on the thank-you page. If that page 404s, the tags may not fire, so ad platforms see no conversions and optimise on poor data. A 404 template can also lack your tracking code entirely.

Where the journey breaks
  1. Visitor submits formLead is captured
  2. Redirect to /thank-youURL returns 404
  3. Confirmation messageNever shown
  4. Conversion tagsDo not fire

The form submits, but the redirect lands on a missing page, so the confirmation and the tracking are lost.

Conversions reported before and after the page breaksExample numbers
Conversions reported before and after the page breaks (example)Real leads: 40 conversions per week; Reported conversions (page works): 38 conversions per week; Reported conversions (page 404): 0 conversions per week0153140380Real leadsReported conversions …Reported conversions …conversions per week

Example: real leads stay the same, but reported conversions drop when the thank-you page 404s.

How to check if your site has it

Check your thank-you page by hand
  1. Open the thank-you URL directly

    Paste the URL into a browser. If it shows a 404, the page is missing. Note that some sites show the page only after a real submit, so also do step 2.

  2. Submit your own form

    Fill in the form with a test lead and watch where you land. Check the address bar for the final URL.

  3. Check the status code

    Open browser DevTools, go to the Network tab, tick Preserve log, submit the form and look at the status of the final document request. 404 confirms the issue.

  4. Compare with the form settings

    Open the form's success or redirect setting and compare the URL character by character with your live page, including the slug, trailing slash and domain.

Check the status code from a terminalbash
curl -I -L https://www.example.com/thank-you/

How to fix it

You have two options: bring the missing page back, or change the form so it points at the right live page. If you cannot tell which URL is correct, check your analytics for the page path that used to receive conversions.

Fix the redirect by platform
  1. Check the page exists

    Go to Pages and search for your thank-you page. If it is in Trash or Draft, restore or publish it. If the slug changed, note the new one.

  2. Update the form redirect

    In your form plugin, open the form's confirmation or redirect setting (for example Gravity Forms: Settings > Confirmations; WPForms: Settings > Confirmations; Contact Form 7 needs a redirect script or add-on). Select the correct page or paste the right URL.

  3. Flush permalinks if needed

    If published pages still 404, go to Settings > Permalinks and click Save Changes without changing anything.

Apache: redirect an old thank-you URL to the new onehtaccess
Redirect 301 /old-thank-you/ /thank-you/
Nginx: redirect an old thank-you URL to the new onenginx
location = /old-thank-you/ {
  return 301 /thank-you/;
}

How to confirm it's fixed

Confirmation checklist
  • The thank-you URL loads with status 200 when opened directly.
  • Submitting the form lands on that URL with no error.
  • The confirmation message and next step are visible.
  • Conversion tags fire on the page (check GTM Preview, GA4 DebugView or the platform's tag helper).
  • The test lead reaches your inbox and CRM.
  • Old URLs, if any, redirect with a 301 to the new one.

How to prevent it happening again

Prevention habits
  • Before renaming or deleting any page, search the site and form tools for links and redirects that use it.
  • Add a 301 redirect whenever a URL changes.
  • After a migration, redesign or domain change, submit every form once.
  • Keep a list of thank-you URLs for each form and checkout.
  • Do not reuse staging URLs in live form settings.
  • Run an automated journey check on a schedule so a break is caught within a day, not weeks.
How it usually unfolds
  1. Day 1

    Someone renames the thank-you page slug during a content update.

  2. Day 1

    The form still redirects to the old slug and visitors see a 404.

  3. Day 3

    Ad platforms report fewer conversions; nobody connects it to the page.

  4. Day 10

    A customer mentions the error. The redirect is corrected.

How FunnelGuard handles this

FunnelGuard detects this issue today. A robot visitor runs your real journey on a schedule, submits the form with test data, and checks the page it lands on: the page must load and the final URL must match what you expect. If the thank-you page returns an error or the URL is wrong, the step fails.

A failure is re-checked from a second region before one alert goes out, to avoid false alarms. The alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) includes a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent, so you can filter it from reports.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why does my form redirect to a 404 page after submitting?

The form's success redirect points to a URL that no longer exists. Usually the thank-you page was deleted, unpublished or renamed, or the site moved domain. Update the form's redirect to the live page or restore the page.

Does a 404 thank-you page mean my form did not send?

Not necessarily. The submission often succeeds and only the redirect fails. Check your inbox or CRM for a test lead to confirm, but visitors cannot tell, so fix the page anyway.

How do I fix a thank-you page 404 in WordPress?

Check Pages for the thank-you page and restore or publish it if it is in Trash or Draft. Then open your form plugin's confirmation settings and select the correct page. If published pages still 404, save Settings > Permalinks once.

Will a 404 thank-you page affect conversion tracking?

Yes, if your conversion tags fire on that page. A 404 page usually does not load the same tracking setup, so GA4, Google Ads or Meta conversions may be missing. Fix the page, then verify the tags in a preview tool.

Should I redirect the old thank-you URL to the home page?

No. Redirect it with a 301 to the actual thank-you page. Sending it to the home page hides the error but prevents tracking and gives visitors no confirmation.

How can I test my thank-you page without losing a real lead?

Submit the form with clearly marked test details, then watch the final URL and status code. You can also run curl -I -L on the URL to see the status. Tell your team so they ignore the test lead.

How can I be alerted when my thank-you page breaks?

Use a synthetic monitoring tool that submits your form on a schedule and checks the landing page. FunnelGuard does this and alerts you with a screenshot and a likely cause when the page fails to load.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: page load / assert URL.

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.