How to redirect users after a wordpress form submission

How to Redirect Users to a New Page After Form Submission

Do you want to redirect users to another page after they press submit on your contact form?

Redirections are a simple and effective way of leading users immediately to the next step after form submission.

In this post, we’ll show you the easiest way to create a form redirect for your users.

When Are Form Redirects Useful?

Form redirects are very useful when you want to send users to a particular page after they’ve submitted a form. Instead of simply showing a confirmation message, you can use form submit as an opportunity to connect further with your visitors and lead them to a page that offers exactly what they need.

Depending on the intent of your form, you may redirect users to different types of pages. Here are a few common form redirect page examples:

  • Thank You Page: A page dedicated to thanking the user for filling out the form gives you an excellent opportunity to invite users to perform other actions. You can promote your popular blog posts, upsell your product, or offer some other incentive to keep visitors engaged with your brand.
  • Gated Content: A lead magnet campaign is a powerful way of collecting leads. You can request visitors to fill out your form in exchange for free access to a valuable resource. For example, you can redirect people to a free download page for an eBook, webinar, podcast, and so on.

Now let’s take a look at how you can redirect users after form submission in WordPress.

WPForms is the best WordPress Form Builder plugin. Get it for free!

How to Create a Form Redirect in WordPress

Adding a redirection after form submission is easy. Just follow these steps.

Let’s begin.

1. Install WPForms

To start with, you’re going to need an easy contact form redirect plugin for WordPress. WPForms is the best form builder for WordPress and it’s known for its beginner-friendly form redirection tool.

To get started, see how to install WPForms.

WPForms home

Once you’ve activated the plugin, you can begin creating new forms and adding redirects of your choice to them. We’ll show you how to do that next.

2. Add a New Form

If this is your first time using WPForms, you’ll need to start by creating a form first and then add a redirect to it.

Creating a simple form is super easy with WPForms. To start, open your WordPress dashboard and go to WPForms » Add New.

add new form

This will open the form builder interface. Give your form a name so you can identify it easily later on.

Name your form

Scroll down to the Templates area and select a template for your form.

simple contact form template

Your selected template will now load and appear on your screen.

simple form

After that, you’re free to customize the form any way you like. Use the drag and drop functionality to add, remove, or reorder fields.

When you’re happy with how your form looks, it’s time to add a form redirect.

3. Create a Form Redirect

WPForms gives you a lot of flexibility when it comes to configuring form redirect and confirmation settings.

You can redirect your site visitors to two places using WPForms:

  1. Another page on your website
  2. An external page to a different website.

We’ll show you how to set up both options.

Redirect Users to a Page on Your Website

If you want to redirect visitors to a specific page on your site, the process is quite straightforward.

From the form builder interface, select Settings » Confirmations.

Confirmation settings for Facebook Pixel form submissions

After this, choose Show Page from the Confirmation Type dropdown menu.

This will then cause a new dropdown menu – Confirmation Page – to appear down below. Use the Confirmation Page dropdown to select a page on your site to redirect visitors to after form submission.

Show page

Note: Make sure that you have the redirection page already created on your website so you can choose it from the Confirmation Page dropdown menu.

After you’ve chosen the page to redirect users to, click Save.

Redirect Users to a Page on Another Website

In some cases, you might want to redirect visitors to a different website entirely when they submit a form. This can be useful if you want to send visitors to your social media pages from your site, for instance.

To do this, go to Settings » Confirmation like before. This time, select Go to URL (Redirect) from the Confirmation Type dropdown menu.

Then, paste the complete URL of the external page you’d like to send the user to in the field labeled Confirmation Redirect URL.

External redirect

After you have configured where to redirect users after they submit a form on your site, click Save.

4. Set Up Conditional Form Redirects (Optional)

WPForms allows you to redirect users to different pages depending on the response provided by them when submitting a form.

For instance, if you have a quote request form that allows users to select one of the many services you’re offering, you can redirect people to specific service pages with details based on their selection.

Usually, this works best if you have fields like Multiple Choice, Checkboxes, or other fields that give your users a choice of options. Then depending on the user’s choice, you can set up different redirect pages.

We added a Checkboxes field to our form. This will serve as the basis for our form redirect conditional logic.

Checkbox items

In order to set up conditional form redirects, you need to have at least two confirmations.

From the Confirmations window, press the Add New Confirmation button.

Add new confirmation

Name your confirmation and click OK.

Alternative confirmation

Then, click on the Enable Conditional Logic button. This will expand into additional options for configuring your conditional logic.

You can use the conditional logic fields to define the rules for when a particular form redirection should trigger. In this example, we want to redirect users to the site’s marketing page if a user selects “Marketing” in the Checkbox field.

Conditional confirmation

Repeat this process to define the logic for all available field choices and the corresponding page redirects you want to trigger for each choice.

When you’re done, make sure to click on Save.

Step 5: Publish a WordPress Form With Custom Page Redirects

Your form with page redirects is now ready for launch!

To embed the form, click on the Embed button next to Save.

Embed form button

If you want to add your form to a new page, click on Create New Page.

Create new page button with a large red arrow

Then, you’ll be prompted to name the new page. This will become the title of your new page, but of course, you can always edit this later. Click on Let’s Go when you’re ready.

Embed in a new page

WPForms will take you to the WordPress block editor with a block for your new form already added to it. You can change any settings or add more content to the page if you’d like.

When you’re ready, click on Publish.

Publish form

When users start submitting this form, it will redirect them to the page you specified in the form confirmation settings above.

And that’s it! Now, you know how to redirect users after they submit your form.

Next, Allow Users to Upload Files With Forms

You might want to check out our guide on how to create a file upload form in WordPress so you can collect all the information you need from site visitors at once, minimizing the back and forth conversations and providing a better experience.

Also, if you’re looking for tools to make site management efficient and effortless, here are top recommended WordPress site management tools.

So, what are you waiting for? Get started with the most powerful WordPress forms plugin today.

And don’t forget, if you like this article, then please follow us on Facebook and Twitter.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.