Custom Thank You Page with Contact Form 7 in WordPress

Instead of using the default “Thank You” message presented by Contact Form 7 in the same page space, here is how to set up and use a custom thank you page.

Here is the basis of the code used in the video:
on_sent_ok: “location = ‘HTTP://YOURURL/LINK’;”


  1. Login to your WordPress Admin Dashboard
  2. Create or edit an existing Contact Form 7 webform
  3. In the form editor, click “Additional Settings”
  4. In the large textarea field place the code
    on_sent_ok: “location = ‘HTTP://YOURURL/LINK’;”
  5. Save the changes
  6. You’re good to go

Need help? Hire me!