redirect users after a wordpress form submission

How to Redirect Users After a WordPress Form Submission

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 article, we’ll show you how to redirect users after a WordPress form submission.

WordPress Form Redirection After Submission

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

Here are some of the most common places you can redirect site visitors to after a form submission:

  • Thank You Page: send users submitting your contact form to a customized thank you page.
  • Hidden Content: place your lead magnet on a custom thank you page and make it accessible only to subscribers.
  • Schedule Appointments: if a user submits a request for quote form, you can prompt them to visit your appointment scheduling system and book a time to meet with you.
  • Anywhere: with WPForms, you can redirect users after they submit a form to any page on your website or anywhere online.

Now let’s take a look at how to redirect users after they submit forms on your website.

Install and Activate WPForms

The first thing you’ll need to do is install and activate the WPForms plugin. For more details, see this step by step guide on how to install a plugin in WordPress.

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

Once you’ve activated the plugin, you’ll need to create a new form. If you haven’t created a form yet, see our step by step guide on how to create a simple contact form.

simple contact form wordpress

Keep in mind, you can create any kind of WordPress form using WPForms, especially if you use the Form Templates Pack addon, which comes with over 100 different form templates for you to choose from.

For instance, you can create:

After you’ve created a custom form on your website, click Save.

Redirect Users after a WordPress Form Submission

After you’ve created your form, you’re ready to redirect users to another page once they submit the form.

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

  1. To another page on your website, such as a thank you page
  2. To an external webpage, such as another website

Let’s take a look at both options.

Option 1: Redirect Users to a Page on Your Website

The first option is to send users 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 from the dropdown menu.

After this, click on the Confirmation Page dropdown and choose which page you want to send the user to that’s on your website.

show page confirmation

Note: Before you can successfully redirect users to another page on your website after they submit a form, you’ll have to have the page already created on your website so you can choose it from the dropdown menu in the Confirmation settings.

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

Option 2: Redirect Users to a Page on Another Website

If you want, you can redirect site visitors that submit forms on your website to an entirely different website besides your own.

To do this, go to Settings » Confirmation and select the Confirmation Type as Go to URL (Redirect).

Then, paste the complete website address you’d like to send the user to in the section labeled Confirmation Redirect URL.

wordpress form redirect after form submission

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

If you want, you can also set up more than one form redirect based on your site visitor’s behavior when they fill out your forms. For instance, you might redirect one site visitor to your FAQ page if they have a common question about your products or services.

On that same form, you might also want to redirect site visitors to your developer documentation if their question is more technical in nature.

And be sure to check out how to use WPForms’ smart conditional logic to make this happen.

How to Publish a WordPress Form that Redirects Users

Once you’ve configured your form’s redirects, and set up form notifications to make sure everyone that needs to know a form has been submitted will be notified, it’s time to publish your form.

WPForms allows you to add your forms to many locations on your website, including your blog posts, pages, and even sidebar widgets.

Let’s take a look at the most common post/page embed option.

To begin, create a new page or post in WordPress, or go to the update settings on an existing one. After that, click inside the first block (the blank area below your page title) and click on the Add WPForms icon.

contact us page add form with widget
The handy WPForms widget will appear inside your block. Click on the WPForms dropdown and pick the form you’ve just created and that you want to insert into your page.

pick your form on wordpress
Now, click Preview, and you’ll see your WordPress form as it will appear on your website. If you’re satisfied with the way your WordPress form looks, go ahead and click on Publish and your form will go live on the Internet.

publish redirect wordpress form

Take a look at your published page to see exactly how it looks on your website!

published wordpress redirect form
To view your entries after a successful form submission, check out this complete guide to form entries.

You can combine your forms with our email marketing addons like:

  • ActiveCampaign
  • Mailchimp
  • AWeber
  • GetResponse
  • Drip
  • Constant Contact
  • Campaign Monitor

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.

Click Here to Make Your Form Now

In Conclusion

And there you have it! You now know how to redirect users after a WordPress form submission.

In addition, 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.

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.


    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.


    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:{entry_id}

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

  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.

  3. Hi I’ve just installed the contact form and when I’ve tried it the email doesn’t come through to me. Any ideas? thank you

  4. On submit it is not redirecting to the page and it displays “2018-02-22 06:30:43 Connection: opening to, timeout=300, options=array ( ) etc.,” instead of displaying the redirect page. Any help?

  5. Hello, is it possible to redirect to different pages according to the answers ?
    For exemple, if I ask are you a male or a female, and then at the end of the form i want one specific confirmation for male and female, can i do this ? how ?

  6. Hi! On my confirmation tab I have 3 options to redirect people…Message/Show Page/URL. I have it set up to redirect to a message with a message all set up. I have learned that my customers are not receiving this message. How can I fix this?

  7. Hi. I’m a dietician building a website for my practice. I need to create a customised form which has health related fields. Some of these will need to have check boxes and some will need written answers. Can I do that? Also, can this form be seen only by the people who have already paid?

    1. Hi Shikha,

      Sure, you can absolutely customize your forms however you’d like. In case it helps, you can find a list of all fields available in our forms in this tutorial.

      As far as restricting access to the form, we don’t currently have any built-in way to do that. However, if you use an additional plugin (Restrict Content is a popular free option) you can easily restrict access to any content on your site based on user role or whether a user is logged in/out.

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

  8. I have a page I want people to fill out a form to access. The page is a calculator to help their business, would they have to fill out the form every time they access the page? Or can I use this so that they only fill out a form 1 time and they can then access this page anytime they’d like without having to fill it out every time. The only way people can view the calculator will be to basically register for it.

    1. Hi Jared,

      We don’t currently have any built-in way to restrict access to content on your site. This means that unless you add additional code/a separate plugin to restrict access to this calculator page in some way, the page will be accessible to anyone who knows or finds the URL.

      If you’d like to try and restrict access (require users to complete a form first), there are a couple options you could consider:

      1) As part of your form, require users to register to your site (this can be done with our User Registration addon, available with our Pro license level or higher). Then you could restrict access to your calculator page so that only logged-in users can see it (Restrict Content is a popular free plugin for this).

      2) As a less strict approach you could simply block the calculator page from Google. That way, people wouldn’t end up on this page from a search engine (very unlikely they’d get to it without following the steps you want them to). Here’s a tutorial from WPBeginner on how to set this up.

      I hope this helps! 🙂

  9. I am building a site with a single page layout. I have a button at the top of the page but I would like the user to be redirected to the contact form on the bottom of my page. is that possible and if so how?

    1. Hi Damian,

      Yes this is possible, though it’s not related to the functionality of our forms. It takes a bit of explaining, though, making it tough to share in a blog comment. For an example, here’s a basic tutorial I found. Or if you’d like more details, please just get in touch when you have a chance.

      If you have a WPForms license, you have access to our email support, so please submit a support ticket.

      Otherwise, we provide limited complimentary support in the WPForms Lite support forum.

      Thanks 🙂

  10. Hi, we are using the standard version, but looking at upgrading. I have a large form for a job applicant that can take an hour or so to complete, therefore can they save a form half way through and return later to complete and submit?

    Thank you


    1. Hi JC,

      We don’t currently have an option to save and continue later. But I agree this would be super useful, and it’s on our feature request list to consider down the road 🙂

  11. Hi could you please help, i had a form working great. Now when i click the submit button it reloads the form from the beginning and the entries don’t even go through to me. I have selected to redirect it to a certain URL but instead it reloads the same form page. Please help me find a solution!

  12. Sorry about the basic question here: Is there a way to simply have a form with one field where visitors enter their email and, upon submission, an email is sent with that email address, a “thank you” is shown, then visitors remain at the same page where they began?

    1. Hi Paul,

      Yes, you can absolutely set this up! In fact, what you’ve described after submission is our default form behavior 🙂 A few details (and you can click the links for more information):

      – Form(s) however you’d like, including just a single Email field
      – You can choose what users see after submitting the form under the Confirmation settings. By default, the confirmation will be set to display a thank you message — this message will be on the same page and will simply replace the form.
      – You can send out automatic notification emails, sent as soon as the form is submitted.

      I hope this helps! 🙂

  13. Hello,

    I want to redirect the customer to a private page after they have filled out the form. How do I set it up so only those customers who have completed the form can access that page – forever?

    1. Hi Summer,

      As mentioned in the article, you can use a lead magnet on a custom thank you page and only make it accessible to subscribers. You can find our guide on how to do this here. The article’s example also includes a newsletter subscription, though this would be optional.

      I hope this helps! If you need any extra assistance with this or have any further questions please feel free to contact our support team! 🙂

  14. Hi,

    I’m having trouble on my website where people can just click the submit button and be redirected to the success page. How do I make sure people are actually submitting files ?

    1. Hey Nicole,

      When you are editing you form, you can mark each field as required (as needed) in the field settings. This should prevent users from submitting the form if they don’t fill out the required fields (or in the case of the file upload field, upload files). If this isn’t the behavior that’s happening in your site or you have more questions, please submit a support ticket and we’ll be happy to investigate for you! 🙂

    1. Hi Pooranam,

      We don’t have the ability to have the re-direction link open in a new tab or window right now but I’ll go ahead and forward this as a feature request for our development team to consider as they plan out future updates. Thanks for the suggestion! 🙂

      1. Hi Matt!
        We don’t currently have this option in WPForms. As an alternative way, you can add an HTML link to the Confirmation message that will open a new tab by using the “Target” parameter.
        I apologize for any inconvenience.
        Have a good one 🙂

  15. hi,

    is there any way to make the users able to review the information they entered and edit it if needed before pressing the submit button?

    1. Hi Mona,

      We don’t have a way to do this right now, but I’ve made a note on our feature request list so we can keep it on our radar! Thanks for the suggestion 🙂

  16. Hello, I am operating a painting company, and I am searching for a simple way for my clients to fill out a “request for quote” option that would appear on each service page – preferably at the side as some type of widget (at the very least at the bottom of each page)

    Also, can I customize and add fields like: check the box for commercial painting, residential etc

    Thanks in advance

    1. Hi Michel,

      Yes, you can absolutely create a form and customize it to add any fields you’d like using WPForms.

      I hope this helps! 🙂

  17. Thank you so much for your article. It is very helpful now I can easily customize my form and redirect page.

    1. Hi Redirect Tracker,

      Thanks for the positive feedback. I’m glad to hear you found the article helpful! 🙂

    1. Hi M Usman!

      Please check this article on the WP Beginners site about custom login redirect options.
      I hope this helps.

      Have a good one 🙂

  18. without using condition logic can I display two confirmation messages

    once the user submits form
    first success message needs to be displayed and then user need to redirected to thank you page

    1. Hi Jagadeesh!
      Currently, there is no a built-in option to run the Confirmation message and redirect options at the same time.
      You can add a link to a Thank you page to the Confirmation message, so once it is displayed after the form submission, users can click on it to be redirected to the Thank you page.
      I hope this helps.
      Have a good one 🙂

  19. [URL REMOVED] I want to redirect the user conditionally based on the content of a form (checkbox selection). I can’t see that option even with pro – can set conditional text but not a conditional redirect. Is it possible using a custom script?

    1. Hey Graham- Great question!

      Yes, you can absolutely allow users to see different form confirmation events (what happens after the form is submitted) based on their form input. We have a detailed tutorial here.

      I hope this helps! 🙂

  20. Does this feature work with the PayPal add-on? Ideally I would like to configure a different confirmation page for each form we have, including those that use PayPal. I know that you can pass a return url variable to PayPal. Will this use that variable?

    1. Hey Becky – Yes, you can configure a different confirmation page for each form for forms without the PayPal integration. However, for forms that have PayPal configured, users will be redirected to PayPal when they submit the form to complete the payment there. Unfortunately, we currently don’t have a way to pass a return URL variable to Paypal, though this is a current feature request and I’ve added your vote to it.

      If you have further questions, please feel welcome to contact our support team.

      Have a good one 🙂

  21. hey can we use input field information after submission to other page which is confirmation page like thank you etc.

    hopeful you understand what I’m saying.

    1. Hey Ali- Great question!

      Currently- we don’t have an inbuilt way to display the input fields/entries on a specific page. I agree that would be super helpful and I’ve added your vote to our feature-request list. Meanwhile with customization of this code, you can show the entries on the frontend.

      But you can absolutely add the smart tag of the specific field to your confirmation message and display them on form submission. Here is a screencast I’ve recorded for your reference.

      In case it’s helpful, here is a guide to locate field id, and here is a guide on how to use smart tags.

      I hope this helps! Thanks! 🙂

  22. Hi,

    I am having an issue where i setup the confirmation type to show page and input a confirmation page. It works for sometime, then after it defaults to a different page on its own. It gets annoying because that means i have to test everytime or check the plugin to make sure it connects to the page that i want.

    1. Hi rgegeo! Redirecting your users after they’ve submitted the form is a setting under the Confirmation menu. Details about how to set this up can be found in this article.

      I hope this helps to clarify 🙂 If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

  23. Hey Guys,

    Have a special need. Can the ‘Thank You’ be password protected, I know that sounds weird, but the people going there will only be a few and a couple of fields will be in the form (so the owner knows when someone accesses the download page) and the password will be given out in advance to certain people.

    Very unique question I know, but just wondering how having the Thank You page password protected will effect how that works.


    1. Hi Roy- I’m sorry, but I’m not sure that I understand your question – but we’d be happy to help! Could you please contact us in support with some extra details about what you’d like to be able to do?

      Thanks 🙂

  24. Dear wpform team, a new user here. Small question, like scrowl to the ‘Confirmation Message on the page’. I have the check mark on to ‘Automatically scroll to the confirmation message’. Could you help me please. Thank you

    1. Hi Dick! Thanks for reaching out to us! I apologize but I’m not entirely certain I understood the nature of your question. In the case that you’re looking for information on how to configure your Confirmation settings and displaying the Confirmation Message, please refer to our article here.

      If you’re having issues with the Confirmation features, please contact us if you have an active subscription. If you do not, please reach out to us at our support forums.


  25. Hello! Could you please advise how to redirect user to the previous page after form submission? I have login form on a separate page, and I’d like the user to be redirected to the page where this user initially came from.

    1. Hi Magna!

      You can have your forms redirect your users back to the original page. To do so, you will need to configure the Confirmation Redirect URL using a Smart Tag that pulls the page ID number – {page_id}.

      On the field Confirmation Redirect URL, you’ll have to use a URL like:


      I hope this helps 🙂 If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

  26. It would be super helpful if we can redirect to a Thank You page AND send a confirmation email to the user with their details.

    How can I do that?? In the settings, it is either one or the other.

    We need the Thank You page because it has specific Conversion Tracking on that page that is tied into GTM.

    1. Hi Bryan! I apologize for any misunderstanding here. It is actually possible to have your users directed to a Confirmation (Thank you) page upon submission of the form as well as receive a Notification Email. They are separate features and can be implemented in conjunction to one another.

      For information on setting up Notification Email(s), please see our guide here:

      I hope this helps to clarify 🙂 If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

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.