WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Redirect Users after WordPress Form Submission

How to Redirect Users after WordPress Form Submission

by Courtney Robertson on Aug 18, 2016

Do you want to redirect users to another page after they successfully submit a contact form? Perhaps you want to send them to a thank you page or a custom landing page? In this tutorial, we will show you how to redirect users after a WordPress form submission.

Where Can You Redirect Users After Form Submission?

After a user submits a form, it can be disorienting for them if they just sit on the same page with no indication that their message was received. You can use this opportunity to connect further with your interested visitors.

You can redirect your visitors to a:

  • Thank You Page – You can send users submitting a contact form to a customized thank you page
  • Hidden Content – Offer people that use an email newsletter optin form access to content that can’t be discovered elsewhere on your site.
  • Schedule Appointments – If a user submits a request for quote form, you can prompt them to also visit your appointment scheduling system and book a time with you.
  • Anywhere – You can redirect users after WordPress form submit to any page on your site or anywhere online.

Here’s how to redirect users after WordPress contact form submission.

Step 1. Get WPForms and Install

The first thing you need to do is install and activate the WPForms plugin. Here’s a step by step guide on how to install a WordPress plugin.

Once you have activated the plugin, let’s go ahead and create a new contact form.  If you haven’t created a form yet, see our step by step guide on how to create a simple contact form.

Step 2. Redirect Users After WordPress Form Submit

After you have created your form, you are ready to redirect users to another page once they submit the form. You have two options: within your site or external link.

First option is sending the user to a specific page within your website. You can do this by going to Settings » Confirmation. On the right preview panel, select Confirmation Type and then Show Page. After this, select the Confirmation Page dropdown and choose which page you want to send the user to.

redirect to another page after WordPress form submit

Alternatively, you can send form submission users to any web address you’d like.

While in the Settings » Confirmation area, select the Confirmation Type as Go to URL. Then paste the complete website address you’d like to send the user to.

redirect users after WordPress form submit

After you have configured where redirect users after a WordPress form submit, click Save.

Step 3: Publishing a WordPress Form that Redirects Users

Finally it’s time to publish your form. WPForms allow you to add your forms in various locations from your blog posts, pages, and your sidebar (widget-ready areas).

First let’s take a look at the most common post / page embed option. Start by creating a new post or page in WordPress and then click on the Add Form button there.

Insert simple contact form into page

Next, you need to select your form in the modal popup and click Add Form.

After that simply publish your page and view it.

Below is an example of our form:

Published Contact Form

You can combine your forms with our email marketing addons like MailChimp, AWeber and GetResponse.

This allows you to automatically add all potential customers to your email marketing list. You can even add them into various marketing automation sequences from there to improve your conversions.

That’s it.  Now you can redirect users to another page or URL when they submit a form on your website. We hope this article helped you redirect users after a WordPress form submit.  In addition, you might want to check out our guide on How to Create a File Upload Form in WordPress.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

 

Comments

    1. Hi Hans,

      Sorry to hear you’re having issues with form submission!

      It sounds like you might be encountering a conflict with some other code on your site. If you could contact us in support, we’ll be happy to help you troubleshoot 🙂

    1. Hi Chris,

      Currently we do not have the ability to conditionally redirect users upon form submission. I do agree it would be super helpful, though, and it’s definitely on our radar to add in the future.

      Thanks for mentioning it — we always appreciate suggestions from our users!

      Have a good one 🙂

  1. Hi, the form works great, except for 2 areas with me. First, it takes me back to the top section of my site (I have the site on parallax) – This is bothersome because I don’t see the confirmation that I hit submit unless I scroll back down to the contact form. Secondly, when I hit refresh on the page, it resends the contact form information (creates a duplicate email). Any help would be awesome.

    1. Hi David,

      The scrolling issue may not be possible to fix because of the way your theme is designed. However, I have a solution you could consider that would resolve both of the things you mentioned: rather than using a confirmation message, you could redirect your users to a Thank You page when the form is submitted.

      Here’s why I think this would work well for you 1) You would avoid the loading issue that’s bumping the user to the top of the page when they submit the form and 2) Refreshing a Thank You page won’t cause a form to re-submit, so you won’t end up with duplicate entries.

      To set this up, you’ll need to create a Thank You page and change your form’s confirmation settings so that user’s are redirected there when they submit the form. Here’s a tutorial that will help you with both of those things 🙂

      I hope that helps!

  2. Hello.

    — I created a REGISTRATION FORM and then I chose the MEMBERS PAGE on my website to redirect users.

    — But although they are now re-directed to that page, they’re taken to a LOGIN PAGE.

    — Is there a way to bypass the LOGIN PAGE on MEMBERS PAGE by having new members automatically logged in to the MEMBERS PAGE?

    — I hate that they have to fill out a long registration form, then taken to MEMBERS PAGE only to be asked to LOGIN.

    — What I’d like is, once they click SUBMIT on registration form, they will be considered as LOGGED IN in MEMBERS PAGE. That way they are going to see a sub-menu where they can edit their profile, and other features like chat, skype, blog, update status, check messages, etc. They won’t see the submenu unless they are logged in.

    I’d appreciate the help.

    1. Hi Margarita,

      I can understand the frustration. However, what you’re describing is a product of core WordPress functionality (WordPress core always requires first that users register, then separately log in) and so beyond the scope of what we can alter.

      I apologize that there isn’t more we can do for this aspect of user flow. If you have any other questions about this, please feel free to contact us in support 🙂

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.