Redirect user to new page after successful submission of a Contact Form 7 form.
A client’s site is using Contact Form 7 and a few of the forms had the same configuration error – “Deprecated settings are used” because of ‘on_send_ok‘ in ‘Additional Settings‘ section to redirect after successful form submission.
Solution in the docs
Using the code
If you want to use this plugin on your own site you only need to change the $this->redirection_urls array on lines 19 and 20.
As for all my code you can read how to use my code snippets.
If you are uncomfortable editing code you can try the popular Redirection for Contact Form 7 plugin.