How to Redirect to a Thank You Page After Form Submit

A visitor fills out an enquiry form on your site, clicks submit, and waits. If all they see is a faint green text box saying their message was sent, they often wonder if anything actually happened. Worse, they might click submit two or three more times, creating duplicate records in your inbox.

Sending people to a dedicated confirmation page solves this problem directly. When you set up a proper redirect after submission, your visitors get immediate visual proof that their submission went through, and you get a dedicated space to tell them what to expect next.

Why use a redirect after submission instead of an inline message?

Inline success messages have their place on simple forms, but they come with real limitations. Once a visitor hits the submit button and sees a short confirmation note, their journey on your site usually stalls. They either close the tab or hit the back button because there is nothing obvious left for them to read.

A dedicated thank you page form flow keeps the conversation going. On a separate page, you can explain your typical response times, link to your most helpful support articles, or share direct contact details for urgent matters. It creates a reassuring experience for anyone who took the time to write to you.

From an operational perspective, a form redirect wordpress setup also simplifies your workflow if you track page visits. When someone lands on a distinct confirmation URL, it becomes straightforward to verify that a submission took place. You do not have to guess whether a small inline confirmation rendered properly on their screen.

Creating your thank you page in WordPress

Before configuring your form to send visitors elsewhere, you need a destination page ready to receive them. Creating this page is a general WordPress technique that does not rely on any specific form plugin.

In your WordPress dashboard, navigate to Pages and select Add New. Give the page a clear title such as Thank You or Message Received. In the page body, write a brief, friendly message that acknowledges the submission. Tell the reader when they can expect a response, whether that is within one business day or a few hours.

You can also use this page to direct visitors toward useful areas of your website. For instance, you might include links to your recent blog posts, a product catalogue, or your primary contact numbers. Once the page looks the way you want, publish it and copy its complete URL from your browser address bar. You will need this link in the next step.

Step-by-step: How to set up a form redirect in WordPress

Once your destination page is live, connecting your form to it takes only a couple of minutes. The plugin includes redirect controls directly within the form builder settings, allowing you to bypass the standard inline success message.

Follow these steps to configure your redirect:

  1. Go to your WordPress dashboard and open the Divine Forms section.
  2. Select the option to add a new form, or edit an existing form where you want to apply the redirect.
  3. Use the visual form builder to add your necessary fields, such as the dedicated Name field, Email field, and international phone input.
  4. In the form settings, locate the submission settings area where you can manage what happens after a visitor submits the form.
  5. Enable the redirect option and paste the full URL of your published thank you page into the redirect address field.
  6. Save your form settings to ensure your submission actions are stored.
  7. Copy the generated form shortcode displayed in the form builder interface.
  8. Paste the shortcode into a shortcode block or content area on the page where you want visitors to see the form.

The plugin uses a clean shortcode structure to embed forms anywhere on your site:

[divismfo_form id="123"]

Please note that 123 is only an example ID. When you paste the shortcode on your own site, use the specific ID generated for the form you just created.

How AJAX submission works with page redirects

Diviniket WP Forms uses AJAX form submission by default. This means that when a user clicks the submit button, the form sends its data to your server in the background without forcing an instant, jarring browser refresh.

When you enable a redirect on an AJAX-enabled form, the plugin handles the process in two connected steps. First, it submits the field inputs and waits for the server to confirm that the entry was stored successfully. Once the server confirms receipt, the plugin immediately instructs the visitor's browser to navigate to your thank you page URL.

This provides a smooth transition for the visitor. They see the submit button process their request, and a moment later, they land on your confirmation page. Because the submission completes before the redirect triggers, you avoid losing data due to an interrupted connection. Keep in mind that heavy caching plugins or aggressive script minification can sometimes delay browser scripts, so it is always wise to submit a test entry yourself to verify that the redirect fires promptly.

Managing submissions and syncing data

Setting up a redirect after submission does not change how your form data is stored or processed. Every time a visitor completes a form, the plugin stores the submission directly in plugin-owned database tables inside your WordPress database.

You can inspect every submission at any time by navigating to Divine Forms > All Entries in your WordPress dashboard. From that screen, you can review details collected through your fields, see submitted international phone numbers, and export entries when you need an offline record.

If you prefer to review leads outside of WordPress, you can also send submissions to an external spreadsheet. By configuring Google service-account credentials in the plugin settings, you can connect the form to an active spreadsheet. For a complete walkthrough of that setup, take a look at our guide on Google Sheets integration. Even when a visitor is redirected immediately to a thank you page, the plugin still records the entry in your database and pushes the data to your linked spreadsheet.

Protecting your redirect form from spam

When you run a redirect-enabled form, automated bots can become a nuisance. If a bot repeatedly submits junk data to your form, it triggers unnecessary server requests, litters your database with fake entries, and generates unwanted page views on your thank you page.

The plugin includes built-in Honeypot protection to help reduce automated submissions without forcing visitors to solve puzzles. Honeypot works quietly in the background by inserting hidden fields that human visitors do not see, but automated scripts often fill out.

If you manage a high-traffic site or receive targeted automated submissions, you can also activate external verification tools. The plugin supports Google reCAPTCHA v2, Cloudflare Turnstile, and hCaptcha. You configure your chosen provider credentials centrally in the plugin settings, and then turn on protection for that specific form. To review how these options work, check the spam protection documentation. Adding a verification layer ensures that only genuine enquiries reach your database and trigger your thank you page redirect.

Important limitations to keep in mind

While setting up a redirect is straightforward, there are a few clear boundaries in the plugin that you should know about upfront.

The plugin does not support conditional redirects. You cannot redirect a visitor to Page A if they pick one option and Page B if they pick another. Every visitor who submits a specific form will be sent to the single redirect URL you configured for that form. If you need distinct confirmation pages for different services, you will need to create separate forms for each service.

The plugin also does not support payment-dependent redirects or complex multi-step branching logic. It does not include built-in redirect analytics, tracking pixels, or URL parameter forwarding tools. If you need to track conversions on your thank you page, you must add your tracking scripts directly to that WordPress page using a general WordPress analytics plugin or theme header tool.

FAQ

Can I redirect visitors to an external URL?

Yes, you can enter any valid URL into the redirect settings field, including links to external websites or third-party scheduling platforms. Simply paste the complete web address including https into the redirect configuration for your form. Always test the link after saving to confirm that the destination opens properly.

Does the redirect still work if a required field is missing?

No, the plugin will not redirect the visitor if validation fails on a required field. The form will halt the submission process and display an inline validation warning so the visitor can correct their input. The redirect is only triggered after the form passes validation and is accepted by the server.

Will I still receive email notifications when a redirect is active?

Yes, configuring a redirect does not disable your email notifications. The plugin will continue to process your administrator and visitor notification settings in the background before or during the redirect event. Make sure your WordPress email settings are properly configured so that notification emails arrive reliably.

Can I pass form field data into the redirect URL?

No, the plugin does not support dynamic query parameters or passing submitted values inside the redirect URL. The form simply sends the visitor to the exact URL string you saved in the form settings. If you need to view the submitted data, you should check Divine Forms > All Entries or review your synchronized Google Sheet.

What happens if I leave the redirect URL empty?

If you leave the redirect field blank or disable the redirect setting, the form defaults to its standard behavior. Instead of loading a new page, it will display a standard confirmation message directly on the page where the form is embedded. You can toggle this behavior at any time without rebuilding your form fields.

Setting up a thank you page form redirect helps you manage visitor expectations and confirm enquiries clearly. If you want visual guides on working with form styles, fields, and dashboard settings, take a look at our YouTube tutorial channel. You can also connect with me directly on my LinkedIn developer profile if you have questions or want to discuss future updates for the plugin.

Download Diviniket WP Forms