If you have a WordPress site, adding Google’s new reCAPTCHA is a no-brainer and we’re going to go through the process of how to do it here.
First off, what is reCAPTCHA? Well CAPTCHA stands for ‘Completely Automated Public Turing test to tell Computers and Humans Apart’ and was designed to protect websites against bots by generating tests that humans can pass but computer programs can’t.
Somewhere at the back of my head, I thought reCAPTCHA stood for ‘really easy CAPTCHA’ but after a quick search cannot find anything to back this up so don’t quote me here!
However I do know that the reCAPTCHA project is run by Google after the firm purchased CAPTCHA in 2009 and by solving these CAPTCHAs, helps to digitise books, newspapers and old text that cannot be read by computers. Magic.
The latest idea is called ‘No CAPTCHA reCAPTCHA’ and you can read more about it here.
Why would you want it on your site? Google says ‘reCAPTCHA is a free service that protects your website from spam and abuse’. I’d say that it prevents any malicious code or bots trying to gain access to your site by trying password after password because if they can’t tick the box they can’t try the password.
You’ll then see this screen:
Click the ‘Click here’ to get your keys.
Login to your Google account (register if you don’t have one).
Go to the ‘Register a new site’ section and enter a label, which is just something to recognise the entry, the domain it’s to be used on, one on each line if you have more than one, and your email address.
Copy and paste Site Key and Secret Key and click ‘Save Changes’ and you’re done.
Logout and login again and you’ll see your new shiny reCAPTCHA on your login form.
Gone are the days where you need to punch in funny characters from an obscure image, worrying about caps or no caps causing it to fail!
You can even add the reCAPTCHA to your contact forms, simply add a div to the form and insert your site key:
<div class="g-recaptcha" data-sitekey=""</div>
If you run into sizing issues check out Geek Goddess’ fantastic post on how to solve this.