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,

    How do you pass the entry id or other info to the redirect URL? Is it possible? I need to pull information related to the transaction and display them inside the redirect page.

    Thanks

    1. Hi Loevdav,

      Great question. You can send data like this to another page by building out a query string with Smart Tags. In case it helps to get started, we cover a basic example of using query strings in this tutorial.

      To send entry data out from a form, you’d first need to open the form builder and go to Settings > Confirmation — then switch to Go To URL (Redirect). That way, you can build out a custom URL with a query string.

      Then, within that URL you can add Smart Tags that pull values for you. For example:

      http://example.com/plugin?entry={entry_id}

      I hope that helps you get started! If you have any other questions, please get in touch 🙂

      1. Hi Jess,

        thanks for the reply, Actually I did tried this before but instead of redirecting to the URL it redirected to the original page with a totally different querystring. Something ike ?wordpress={very long id that looks like a pyapl token}.

        Please note that the form ues Payapl checkout for payment so that might be the issue.
        Thanks

  2. Hello,
    I have a question about WPforms. I made a onepage template with id transitions.
    Is there a way for the form to submit a message and then redirect/refresh the form after lets say 10 seconds.

    Thank you in advance.
    Alar

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.