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.
- Visitor submits formLead is captured
- Redirect to /thank-youURL returns 404
- Confirmation messageNever shown
- Conversion tagsDo not fire
The form submits, but the redirect lands on a missing page, so the confirmation and the tracking are lost.
Example: real leads stay the same, but reported conversions drop when the thank-you page 404s.
How to check if your site has it
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.
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.
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.
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.
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.
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.
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.
Flush permalinks if needed
If published pages still 404, go to Settings > Permalinks and click Save Changes without changing anything.
Check the order status page
For checkouts, the confirmation page is controlled by Shopify. If you use a custom thank-you page from an app or a redirect, check that app's settings for the target URL.
Fix form redirects
If a form app or theme code redirects to a page, open Online Store > Pages and confirm the page is visible. Then update the redirect URL in the app or theme.
Add a URL redirect
If a page was renamed, go to Online Store > Navigation > View URL redirects and redirect the old path to the new one.
Check triggers tied to the URL
GTM does not cause a 404, but your conversion trigger may use Page View with Page Path equals the old URL. Update it to the new path after fixing the page.
Test in Preview mode
Click Preview, submit the form, and confirm the conversion tags fire on the working thank-you page.
Check the form's redirect
Select the form, open Settings, and look at Redirect URL under Form Settings. Make sure it matches a published page.
Publish the page
If the page is a draft or the slug changed, publish the site again. Check Site settings > Hosting > 301 redirects for old paths.
Check the form or survey settings
Open the form or funnel step, find the After submit or Redirect URL option, and confirm the URL is correct.
Check the funnel step path
If you renamed a funnel step path or changed the domain, update the redirect to match, and publish the funnel.
Check the form's submit action
In the editor, select the form, open Settings, then the After submission section, and choose the thank-you page or the correct link.
Check page URL and publish
In Pages & Menu, confirm the page's URL slug matches and that the page is not hidden or unpublished. Publish the site.
Check the form's storage and redirect
Edit the form block, open the Storage or Post-submit tab, and set the redirect to the correct page URL.
Add a URL mapping
If the page URL changed, go to Settings > Developer Tools > URL Mappings and add a line like /old-thank-you -> /thank-you 301.
Find the redirect in the code
Search your code for the thank-you path (for example window.location, a Location header or a form action redirect) and fix the path or domain.
Make sure the route exists
Confirm the route or file for the page is deployed to the live server and returns 200.
Add a 301 for old paths
If the URL changed, add a permanent redirect from the old path to the new one.
Redirect 301 /old-thank-you/ /thank-you/location = /old-thank-you/ {
return 301 /thank-you/;
}How to confirm it's fixed
- 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
- 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.
Day 1
Someone renames the thank-you page slug during a content update.
Day 1
The form still redirects to the old slug and visitors see a 404.
Day 3
Ad platforms report fewer conversions; nobody connects it to the page.
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.
Related issues
- CNV-083Redirect to thank-you page goes to the home pageFix guide
- CNV-084Thank-you page reachable without submitting (inflates conversions)Fix guide
- CNV-085Thank-you page fires conversion twice on reloadFix guide
- CNV-086Thank-you page has no next step (no booking link, no content)Fix guide
- CNV-091Success message shown even on failureFix guide
- CNV-087Thank-you message shown in wrong languageFix guide