Contact Form 7 – Redirect to Thank You Success page

Instead of using the default success message in the Contact Form 7 WordPress Plugin you may wish to redirect users to a customised thank you / success page. This can be useful for showing extra information, tracking leads etc.

Create the Contact Form 7 Redirect…

  1. Login to WordPress and Select Contact Forms from the sidebar
  2. Select the contact form you want to change and click edit
  3. Scroll down to Additional Settings at the bottom of the page
  4. Enter the code as below, replacing the url with your own!

on_sent_ok: “location = ‘http://www.example.com/thank-you/’;”

Contact Form 7 Additional Settings

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.