Register your site on Google's reCAPTCHA admin page, choosing Challenge (v2) with the 'I'm not a robot' checkbox, to get a site key and a secret key. For Contact Form 7, paste both keys under Contact, then Integration, then reCAPTCHA. To guard the login page, install the Advanced Google reCAPTCHA plugin, pick reCAPTCHA v2 on its Captcha tab and enter the same keys.
Contact forms and login pages attract automated spam and brute force attacks without protection. Bots submit fake enquiries through your forms and attempt to guess admin passwords, wasting your time and potentially compromising your site.
You will add Google reCAPTCHA v2 to your WordPress forms and login page. This distinguishes between legitimate visitors and automated bots, blocking spam whilst allowing real users through. The process takes around 15 minutes and requires no coding knowledge.
https://yourdomain.co.uk/wp-adminGoogle provides reCAPTCHA as a free service. You will register your domain and receive two keys that connect your WordPress site to Google’s verification system.
yourdomain.co.uk). You can add multiple domains if you plan to use the same keys across several sites.
Your reCAPTCHA account is now active. The site key identifies your domain to Google’s servers, whilst the secret key verifies requests from your WordPress installation.
Contact Form 7 includes built-in reCAPTCHA support through its integrations menu. You will connect your forms to Google’s verification service using the keys you created.
Your contact forms now display a reCAPTCHA checkbox. Visitors must tick this box before submitting their message, which prevents automated spam submissions.
Your WordPress login page remains vulnerable to brute force attacks without protection. You will install a plugin that adds reCAPTCHA verification to the login form, blocking automated password guessing attempts.
Advanced Google reCAPTCHA and press Enter. Click Install Now on the plugin by Shamim Hasan, then click Activate.


Your WordPress login page now requires reCAPTCHA verification. Automated bots cannot bypass this protection, which prevents brute force attacks on your admin account. If you lose access to your admin area, you can reset your WordPress admin password to regain entry.
Your WordPress forms and login page now block automated spam and brute force attacks. You created a Google reCAPTCHA account, connected Contact Form 7 to the verification service and secured your admin area with the Advanced Google reCAPTCHA plugin. Legitimate visitors can still access your forms and login page, but bots cannot bypass the verification.
Test your forms by submitting a message through your contact page. Check that the reCAPTCHA checkbox appears and that your message arrives successfully. We recommend enabling HTTPS on your WordPress site to encrypt data between your visitors and your server. For additional protection, review our guide to WordPress security plugins.
Did this guide solve your problem?
Our UK support team answers tickets and live chat every day. Send us the guide you were following and where it stopped working.
Related guides
cPanel hosting with the tools these guides use, backed by UK support.
Get cPanel HostingProtect your visitors with SSL certificates – from budget DV to premium EV certificates.
Get SSL Certificate