Contact Form 7 Redirect to Confirmation Page

If you’re using Contact Form 7 on your WordPress website, you know that when a user clicks the ‘submit‘ button, they get a message right on the same page confirming that their email has been sent.

If you would like the user to be redirected to a separate page on your site or an external link, just add the following code into your Contact Form ‘Additional Settings‘ area, found at the end of each form page.

Replace the ‘example.com‘ with your own url.

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

eUNBrrj8sH4t56Cs-D5500