Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form redirects to home page instead of thank-you page: fix

CNV-083High impactDetectedBy FunnelGuardPublished Updated
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.

Where the journey breaks
  1. Landing pageVisitor arrives from an ad
  2. Form submitLead is captured
  3. RedirectSends visitor to / instead of /thank-you
  4. Thank-you pageNever loads
  5. Conversion tagsNever fire

The form submits, but the redirect lands on the home page, so the thank-you page and its tracking never run.

Conversions reported vs real leadsExample numbers
Conversions reported vs real leads (example)Real leads: 40 leads per week; Conversions reported: 3 leads per week01531403Real leadsConversions reportedleads per week

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

Test the journey yourself
  1. Open the page in a private window

    Use incognito so cached redirects and logged-in settings do not hide the problem.

  2. Submit the form with test details

    Use an email you control and a clear name such as Test Lead.

  3. 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.

  4. 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 /.

  5. 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.

Common causes of a redirect to the home page
CauseWhat you seeFix
Empty or invalid redirect URL in the form settingsForm falls back to the home pageEnter a full, working thank-you URL
Thank-you page deleted, renamed or unpublishedOld URL redirects to / via a catch-all ruleRestore the page or update the form to the new URL
Catch-all or 404-to-home redirect ruleAny missing URL goes to /Fix the real URL, then narrow or remove the rule
Wrong URL format (missing https:// or typo)Relative path resolves oddlyUse the exact live URL
Fix the redirect on your platform
  1. 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.

  2. Contact Form 7

    CF7 has no built-in redirect. If you use an on_sent_ok snippet or an add-on, confirm the URL inside it is correct.

  3. 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.

Example: redirect after a successful AJAX submitjavascript
fetch('/api/lead', { method: 'POST', body: new FormData(form) })
  .then(function (res) {
    if (res.ok) {
      window.location.assign('/thank-you');
    }
  });
Form redirect before and after

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

Confirmation checklist
  • 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

Habits that prevent it
  • 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: 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.