CAPTCHA inputs are perhaps the commonest of all frustrating experiences on the web. They’re painful enough for the majority of users, let alone the visually impaired or anyone who relies on assistive technologies such as screen-readers to access the web. However, sadly, CAPTCHAs are absolutely vital in the fight against spam.
Let’s cut to the chase and get ourselves setup with No CAPTCHA.
First, we need an API key, so head on over to https://www.google.com/recaptcha/admin. To gain access to this page you’ll need to be logged into a Google account. You’ll be asked to register your website, so give it a suitable name, then list domains (for example facebooklikebox.net) where this particular reCAPTCHA will be used. Subdomains (such as demo.facebooklikebox.net) are automatically taken into account.
With that done you’ll be given a site key and its partner secret key:
Step #4. Enable reCaptcha plugin
- Go to Extensions > Plugin Manager.
- Look for the "Captcha - reCaptcha" plugin.
In the parameters:
- Version. Choose 2.0
- Site key and Secret key. Use the ones you generated in Step 1.
- Theme. Choose any.
Don't forget to change the plugin status to Published and click Save when you’re done.
Step #5. Enable ReCaptcha globally
- Go to System > Global configuration > Default captcha.
- Choose ReCaptcha.
Step #6. Configure Contact Form reCaptcha
- Go to Extensions > Module > Our module
- Copy Secret Key
From now, when you create a new contact form, the new captcha will be displayed in the bottom.