Redirect Contact Form 7 to a thank you page after submission

0
6
contactform 7 redirect

Contact Form 7 (CF7) is one of the most popular contact form options for WordPress-based businesses. However, users of Contact Form 7 should know that the process for sending users to a thank you page after a successful form submission is expected to change.

Below is a quick guide for updating your Contact Form 7 forms so that they still redirect to the proper thank you pages.

Method 1

You will need to add the following, in the Additional Settings field in Contact Form 7, to redirect a visitor to another page, on successful form submission.

on_sent_ok: “location = ‘//Yourdomain.com/’;”

Method 2

Use Contact Form 7 Redirection Plugin.Simply go to your form settings, choose the “Redirect Settings” tab and set the page you want to be redirected to.