On this page
What this issue is
A thank-you page is the page people land on after they submit a form, book a call or buy. It confirms the action worked and is usually where your conversion tracking fires. This issue happens when the redirect after submit ends on the home page (/) instead.
The form itself often works. The lead may arrive in your inbox. Only the last step is wrong, which is why it can go unnoticed for weeks.
Why it costs you leads or sales
Visitors land on a page that does not mention their request. Many think the form failed and submit again, or leave. Worse for ad spend: conversion tags usually sit on the thank-you page, so no conversion is recorded in GA4, Google Ads or Meta. Ad platforms then see no results and optimise on bad data.
- Landing pageVisitor arrives from an ad
- Form submitLead is captured
- RedirectSends visitor to / instead of /thank-you
- Thank-you pageNever loads
- Conversion tagsNever fire
The form submits, but the redirect lands on the home page, so the thank-you page and its tracking never run.
Example: 40 real leads, but only 3 are reported because tags on the thank-you page rarely run.
How to check if your site has it
Open the page in a private window
Use incognito so cached redirects and logged-in settings do not hide the problem.
Submit the form with test details
Use an email you control and a clear name such as Test Lead.
Read the address bar after submit
It should show your thank-you URL, for example /thank-you. If it shows your bare domain, you have this issue.
Watch the redirect chain
Open browser developer tools, go to the Network tab, tick Preserve log, submit again and look for a 301 or 302 response whose Location header is /.
Open the thank-you URL directly
If typing it in the address bar also lands on the home page, a redirect rule is catching it.
How to fix it
Most causes fall into four groups. Match yours before changing anything.
| Cause | What you see | Fix |
|---|---|---|
| Empty or invalid redirect URL in the form settings | Form falls back to the home page | Enter a full, working thank-you URL |
| Thank-you page deleted, renamed or unpublished | Old URL redirects to / via a catch-all rule | Restore the page or update the form to the new URL |
| Catch-all or 404-to-home redirect rule | Any missing URL goes to / | Fix the real URL, then narrow or remove the rule |
| Wrong URL format (missing https:// or typo) | Relative path resolves oddly | Use the exact live URL |
Check the form plugin setting
In Gravity Forms: Form Settings > Confirmations > edit the confirmation, choose Redirect and paste the full thank-you URL. In WPForms: Settings > Confirmations > Show Page or Go to URL. In Elementor Pro forms: Actions After Submit > Redirect.
Contact Form 7
CF7 has no built-in redirect. If you use an
on_sent_oksnippet or an add-on, confirm the URL inside it is correct.Check redirect plugins
In Redirection, Rank Math or Yoast Premium, look for 404 monitors or rules that send missing pages to the home page, and confirm the thank-you page is published.
Check URL redirects
Go to Content > Menus > View URL Redirects (or Online Store > Navigation > URL Redirects) and remove any rule that sends your thank-you path to /.
Form apps
For lead forms from apps, open the app's after-submit setting and confirm the redirect URL is correct.
Order status page
For purchases, check checkout settings and apps that change the post-purchase or order status page. Theme code cannot always change this on all plans.
Set the form redirect
Select the form, open Settings (gear icon) and under Redirect URL enter the full thank-you path or URL.
Check 301 redirects
Go to Site settings > Publishing > 301 redirects and remove any rule matching the thank-you path.
Publish
Publish the site. Changes do not apply to the live site until you do.
Edit the form or survey
In Sites > Forms > Builder, open the Settings tab and set the After Submit action to Redirect URL with your thank-you URL.
Funnel step settings
If the form is inside a funnel, check the next step path and the form element's On Submit option.
Set the submit action
Select the form, open Settings > What happens after submission, choose Redirect to a page and pick the thank-you page.
Check Redirect Manager
In Marketing & SEO > SEO Tools > URL Redirect Manager, remove rules sending the thank-you page to the home page.
Set the form storage and redirect
Edit the form block, open the Storage or Advanced tab and set the Post-Submit Redirect to your thank-you page path, for example /thank-you.
Check URL mappings
In Settings > Developer Tools > URL Mappings, remove any line that maps the thank-you path to /.
Check the handler's redirect
Find the code that runs after a successful submit and make sure it redirects to the thank-you path, not an empty string or
/.Check server rules
Search your server config for catch-all rules that send unknown paths to the home page and make sure the thank-you route exists.
fetch('/api/lead', { method: 'POST', body: new FormData(form) })
.then(function (res) {
if (res.ok) {
window.location.assign('/thank-you');
}
});Broken
- Submit ends on example.com/
- No confirmation message for the visitor
- No conversion recorded
Fixed
- Submit ends on example.com/thank-you
- Visitor sees a clear confirmation
- Conversion tags fire once
How to confirm it's fixed
- Submit a test lead in a private window and land on the thank-you URL
- Open the thank-you URL directly and confirm it loads without redirecting
- Check the Network tab shows no redirect to / after submit
- Confirm the conversion event appears in GA4 DebugView or your tag tool
- Confirm the test lead reached your inbox or CRM
- Repeat on mobile and in a second browser
How to prevent it happening again
- Never rename, delete or unpublish the thank-you page without updating the form
- Re-test the form after site migrations, theme changes and plugin updates
- Avoid catch-all redirects to the home page
- Use one clear, stable thank-you URL per form
- Keep a list of forms and their expected final URLs
- Run an automated check on the full journey on a schedule
How FunnelGuard handles this
FunnelGuard detects this issue. A robot visitor runs your form journey on a schedule, submits it with marked test data, and then asserts the final URL. If the page it lands on is the home page and not your thank-you URL, the check fails.
A failure is re-checked from a second region first, then one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. The check only tells you the URL is wrong. You still need to find the setting or rule behind it using the steps above. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
Why does my form redirect to the home page instead of the thank-you page?
Most often the redirect URL in the form settings is empty, wrong or points to a page that was deleted or renamed. A catch-all redirect rule that sends missing pages to the home page can also hide the real problem. Check the form's after-submit setting first, then your redirect rules.
How do I redirect a form to a thank-you page?
Open your form's settings and find the after-submit, confirmation or redirect option. Choose redirect to a URL or page and enter the full thank-you address. Save, publish and test with a real submission in a private window.
Why is my thank-you page redirecting to the home page when I open it directly?
A redirect rule is probably catching that path. Check your redirect plugin or platform redirect manager, such as Shopify URL Redirects, Webflow 301 redirects, Wix URL Redirect Manager or Squarespace URL Mappings, and make sure the page is published.
Does redirecting to the home page break conversion tracking?
Yes, if your conversion tags fire on the thank-you page. The page never loads, so GA4, Google Ads and Meta conversions are not recorded even though the lead was captured. Ad platforms then see fewer results than you really got.
How can I see where my form redirects after submit?
Open browser developer tools, go to the Network tab, tick Preserve log and submit the form. Look for a 301 or 302 response and read its Location header. The address bar after submit shows the final page.
Is a form redirecting to the home page a 404 problem?
Often it is related. A deleted thank-you page returns a 404, and some sites redirect all 404s to the home page, which hides the error. Fix the page or the form target rather than relying on the catch-all.
How can I be alerted when my thank-you redirect breaks?
Run a scheduled test that submits the form and checks the final URL. FunnelGuard does this with a robot visitor, re-checks failures from a second region and sends one alert with a screenshot and likely cause.
Related issues
- CNV-082Thank-you page returns 404Fix 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