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…
- Login to WordPress and Select Contact Forms from the sidebar
- Select the contact form you want to change and click edit
- Scroll down to Additional Settings at the bottom of the page
- Enter the code as below, replacing the url with your own!
on_sent_ok: “location = ‘http://www.example.com/thank-you/’;”
Leave a Reply
Want to join the discussion?Feel free to contribute!