There is a new version of Contact Form 7 available for WordPress, and you should not update…until you have read this!
The change that has been made in this latest version is significant for you! Since version 5.1, released early December 2018, Contact Form 7 has switched from using the Google reCAPTCHA API v2 to v3, consequently if you update to this version, your contact form will no longer work! However, in this article I will tell you what you need to do to get your contact forms working again…
By switching to Google reCAPTCHA API v3, Contact Form 7 has effectively made an interface enhancement to your website. No longer will visitors have to complete the annoying “I am not a robot” challenge (and its bizarre randomly selected street view images), instead, v3 utilises Google’s intelligence systems – based on information about your website along with information about the visitor completing the form – to decide whether or not it is going to display a CAPTCHA challenge at all! So, for the majority of us, who are not intending to SPAM the recipient, this is good news, as we won’t have to complete the challenge!
So, what do you need to do to get your contact forms working again? Just follow these 10 simple steps:
Fix Contact Form 7 in 10 simple steps
- Go to your Google reCAPTCHA account
- Scroll to the bottom and complete the form called “Register a new site” – be sure to select reCAPTCHA v3 as the type
- Then press “Register”
- Now, go to the Plugins page in your WordPress Admin
- Press “Update” for the Contact Form 7 plugin (/wp-admin/plugins.php)
- Once the update is complete, go to “Contact”, “Integration” in the sidebar (/wp-admin/admin.php?page=wpcf7-integration)
- Here you will find that the key fields for reCAPTCHA are now gone, and you need to press the “Setup Integration” button under “reCAPTCHA“
- Copy the Site Key from the new site you have just created in your Google reCAPTCHA account, and paste into the Site Key on the Integration page
- Do the same as before for the Secret Key as well
- Press “Save Changes” and you are done!
Now, you can test your contact form on your website and check that it works.
Did you notice the “protected by reCAPTCHA” logo in the bottom right corner? If you have that, you can be sure that your contact forms are still being protected by Google reCAPTCHA.
Recaptcha tags not required
As a bonus feature, you can now remove the “[recaptcha]” tag from all of your contact forms as well, as this now becomes redundant with version 5.1. Contact Form 7 will apply Google reCAPTCHA to all of your forms without you having to ever explicitly ask for it – pretty neat huh 😉