Once upon a time...
The “on_sent_ok” and its sibling setting “on_submit” are deprecated and scheduled to be abolished by the end of 2017
A straightforward add-on plugin for Contact Form 7 – adds the option to redirect to any page you choose after mail sent successfully, with DOM Events and without AJAX being disabled.
NOTE: This plugin requires Contact Form 7 version 4.2 or later.
Installing Contact Form 7 Redirection can be done either by searching for “Contact Form 7 Redirection” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
- Download the plugin via WordPress.org.
- Upload the ZIP file through the “Plugins > Add New > Upload” screen in your WordPress dashboard.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the settings screen and configure, as desired.
Does the plugin disables Contact Form 7 Ajax?
No, it doesn’t. The plugin does not disables any of Contact Form 7 normal behavior, unlike all other plugins that do the same.
Does this plugin uses “on_sent_ok” additional setting?
No. One of the reasons we developed this plugin, is because on_send_ok is now deprecated, and is going to be abolished by the end of 2017. This plugin is the only redirect plugin for Contact Form 7 that has been updated to use DOM events to perform redirect, as Contact Form 7 developer Takayuki Miyoshi recommends.