How to Redirect Users After a WordPress Form Submission (2024)

Editorial Note: We may earn a commission when you visit links on our website.

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 to take them to a new page.

How to Create a Form Redirect in WordPress

Adding a redirection after form submission is easy with WPForms. Follow the step-by-step instructions below:

In This Article

  • Step 1: Install the WPForms Plugin
  • Step 2: Add a New Form
  • Step 3: Create a Form Redirect
  • Step 4: Set Up Conditional Form Redirects (Optional)
  • Step 5: Publish a WordPress Form With Custom Page Redirects

Step 1: Install the WPForms Plugin

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.

How to Redirect Users After a WordPress Form Submission (1)

To get started, see how to install WPForms. 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.

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

How to Redirect Users After a WordPress Form Submission (2)

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

How to Redirect Users After a WordPress Form Submission (3)

Scroll down to the Templates area and select a template for your form by clicking on the Use Template button.

How to Redirect Users After a WordPress Form Submission (4)

Your selected template will now load and appear on your screen, where you can see the Fields available along with the form preview.

How to Redirect Users After a WordPress Form Submission (5)

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 using WPForms’ confirmation settings.

Step 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. We’ll show you how to set up both options:

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

3.1. Redirect Users to a Page on Your Website

If you want to redirect visitors to a specific page on your site, select Settings » Confirmations from the form builder.

How to Redirect Users After a WordPress Form Submission (6)

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.

How to Redirect Users After a WordPress Form Submission (7)

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.

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

How to Redirect Users After a WordPress Form Submission (8)

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

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

How to Redirect Users After a WordPress Form Submission (9)

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.

How to Redirect Users After a WordPress Form Submission (10)

Name your confirmation and click OK. Then, click on the Enable Conditional Logic button. This will expand into additional options.

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.

How to Redirect Users After a WordPress Form Submission (11)

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.

How to Redirect Users After a WordPress Form Submission (12)

If you want to add your form to a new page, click on Create New Page or choose the Select Existing Page option, as required!

How to Redirect Users After a WordPress Form Submission (13)

Then, you’ll be prompted to name the new page. This will become the title of your new page. Click on Let’s Go when you’re ready.

How to Redirect Users After a WordPress Form Submission (14)

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.

How to Redirect Users After a WordPress Form Submission (15)

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.

FAQs about Redirects After Form Submission

Setting up redirections after form submissions is a popular topic among our readers. Here are answers to some common queries about it:

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.

How do I redirect a form in WordPress after submitting it?

To redirect a form after submission in WordPress, you can use the WPForms plugin. It’s straightforward:

  • First, install and activate the WPForms plugin.
  • Then, create or edit a form within WPForms.
  • In the form editor, click Settings and then Confirmations.
  • Select the Confirmation Type as Go to URL (Redirect).
  • Finally, type the URL you want users to be redirected to after they submit the form.

This method ensures that once someone fills out your form, they are automatically taken to a new page of your choosing, enhancing their experience on your website.

How do I redirect the user to another page after submitting the form?

Redirecting users to another page after they submit a form in WordPress can improve user experience significantly. To achieve this, you can utilize the WPForms plugin.

All you have to do is navigate to Settings » Confirmations. Then, change the Confirmation Type toGo to URL (Redirect). Once done, simply input the URL of the page you want users redirected to after form submission.

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.

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

Create Your WordPress Form Now

Ready to build your form? Get started today with the easiest WordPress form builder plugin. WPForms Pro includes lots of free templates and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more free WordPress tutorials and guides.

How to Redirect Users After a WordPress Form Submission (2024)

FAQs

How to Redirect Users After a WordPress Form Submission? ›

All you have to do is navigate to Settings » Confirmations. Then, change the Confirmation Type to Go to URL (Redirect). Once done, simply input the URL of the page you want users redirected to after form submission.

How do I redirect a form after submission in WordPress? ›

Set Up the Redirect URL after Form Submission

Once you've customized your contact form, simply go to Settings » Confirmations in the form builder. Under the Confirmation Type setting, click the dropdown menu and select the 'Go to URL (Redirect)' option.

How do I redirect users after successful login in WordPress? ›

First, select the 'Username' condition from the 'Rule Condition' dropdown and choose the username from the dropdown list. Then, you can enter the URLs you want to redirect the user to on login and logout. Make sure to click the 'Save Rule' button to save your changes.

How do I redirect gravity forms after submission in WordPress? ›

Steps
  • Capture the Referrer URL. Add a hidden field to your Gravity Form. Add {referer} to the Default Value for the hidden field. Save your form. ...
  • Setup a “Redirect” Confirmation for Your Form. Go the Confirmations page. Edit the default confirmation – or – add a new confirmation.
Jan 25, 2022

How do I redirect after action in WordPress? ›

In the Actions & Notifications section, click the Confirmation form action. Next, scroll down to the Confirmation action, and select Redirect to URL.

How do I redirect user to another page after submit the form? ›

Set up your form to redirect to another page after the button is clicked:
  1. Click on your form to access the Form Settings on the right-side menu.
  2. From the Form Settings menu bar choose Submission.
  3. Here you can choose between two types of destinations.

How do I redirect Contact form 7 after submitting in WordPress? ›

Simply go to your form settings, choose the “Redirect Settings” tab and set the page you want to be redirected to.

How do I redirect users in WordPress? ›

Navigate to LoginWP > Redirections. Setting up redirection rules with the LoginWP plugin. There are several settings you can change here but look to the All Other Users heading and the Login URL option. Change this to the URL you want and click Save Changes.

How do I redirect after successful login? ›

To redirect users to a specific page after login, you can simply add the redirect URL parameter in the login form Shortcode. The redirect_url parameter allows you to redirect to a certain page after the user is logged in.

How do I do an automatic redirect after login? ›

Let's implement automatic redirection after login in a React application using React Router.
  1. Step 1 — Set Up React Router. ...
  2. Step 2 — Create a Login Component. ...
  3. Step 3 — Configure Routes. ...
  4. Step 4 — Create a PrivateRoute Component. ...
  5. Step 5 — Implement Authentication Logic. ...
  6. Step 6 — Redirect After Login.
Sep 12, 2023

How do I redirect after submission in gravity form? ›

In Gravity Forms, you can select a redirect page by clicking the Confirmations tab in the form's settings. Choose “Page” or “Redirect” next to Confirmation Type. The “Page option” displays a drop down menu where you can choose one of your existing WordPress pages.

What is the difference between confirmation page and redirect in Gravity Forms? ›

There are three different confirmations types in Gravity Forms: Text: Display a message to the user after they submit your form. Page: Send the user to a specific page on your website after they submit your form. Redirect: Redirect the user to a custom URL after they submit your form.

How do I redirect Gravity Forms after login? ›

If you would like to redirect the user to another page after they have been automatically logged in, you can configure the URL to which the user should be redirected on the “Confirmation” tab of your Form Settings.

Does WordPress automatically redirect? ›

An Introduction to WordPress Redirects

If you type “http://example.com/page” into your browser, typically, WordPress is smart enough to automatically locate the correct page to redirect you to.

How do I add a permanent redirect in WordPress? ›

To create a 301 redirect in the WordPress Redirection plugin:
  1. Navigate to Tools > Redirection.
  2. In the Add new redirection section, enter the old URL you want to redirect in the Source URL field.
  3. Enter the new URL you want to redirect to in the Target URL field.
  4. For Group, click the drop-down menu and choose a group.
Aug 16, 2021

How do you redirect a form action post in HTML? ›

Redirect using HTML Form Tag

The form tag also has another attribute method. Just set the method attribute to POST, which means you are sending the data, and mention the URL in the action attribute. Once you submit the form, it will redirect you to the particular URL and webpage corresponding to that URL.

How do I redirect after submit button? ›

Choose the Redirect to URL option and enter the target URL after form submission to redirect to in the Redirect URL box. If you want to automatically redirect to another page on the site, you can simplify this by choosing the Site URL shortcode. This makes it easy to export and import to another site later.

How do I redirect a form submit button? ›

Link Submit Button To Another Page Using Forms Tags In HTML

Here, declare/write the “Submit button” within HTML Form Tags and give the File Path inside the HTML form's action property. When the user later hits the Form Button, he or she will be sent to another page.

How do I redirect a page after submitting a form in HTML? ›

The attributes of form tags action and method can be used to achieve this. The action attribute specifies the path to which the URL will be redirected once the form is submitted. The method attribute specifies the HTTP method that needs to be used when submitting the form.

Top Articles
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 6089

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.