How to block spam on your WordPress site

Written: 4.5.2017 Updated: 4.5.2017

Are you tired of constantly cleaning up and moderating the comment section of your site? Is your email bursting with mails from Jessica9230 commenting your newest articles for thousandth time with some fishy link? How will you take back control from spambots?

The eternal struggle with spammers can be nerve shredding and push your stress levels to unbearable heights. But fear not: there is a solution, and just a few clicks away in WordPress admin panel. In this post we will show you how to enable the Google reCaptcha plugin in your WordPress site without any programming involved.

Here’s how to enable Google reCaptcha

  1. Log in to your sites admin panel and from the left menu bar click “Plugins” > “Add new”.
  2.  Write ”WordPress ReCaptcha Integration” in the search field and click “install now”. After the installation activate the plugin.
  3. Choose “Settings” > “reCaptcha” from the left menu bar. Next go and create the API-key in the Google service: Google reCAPTCHA admin page
  4. Enter your site name and domain in the fields and click “Register”. Next you will be redirected to a page where you can copy the required keys for enabling reCaptcha. Enter “site key” and “secret key” in the fields on the WordPress reCaptcha settings page and click save. After this a new settings page will open where you’ll have to check the box ”My Comment Form is WordPress 4.2 compatible”.

There you have it! Now the commenting and registration requires the user to pass the Google reCaptcha test, that will check if the assumed user is really human or some garbage sowing spambot.

Also to remember: professional maintenance and safe passwords

Google reCaptcha does block junkmail, but it doesn’t replace other good security practices. The easiest way to keep your website safe is to have your site maintenance done by professionals and taking care of your password strength.



Leave a comment

Antti Kymén



More reading

WordPress 5.0 is coming out on December 6


When WordPress 5.0 missed its original release target date in the end of November, the consensus in the community seemed […]

PHP 7.3 Set to Launch in December


The latest PHP version, 7.3, is on its way and is set to launch in December. The current, and presumably […]

Getting to know the WordPress Community in Barcelona


The Finnish WordPress community is incredibly active taken into account the size of our country: we have regular meetups in […]