How to add reCaptcha plugin to WordPress site
It is recommended practice to secure your forms with reCaptcha plugin. Plugin will stop almost all bots and spam comments. You can set up reCaptcha to contact forms, comments and WP login.
One good plugin is ReCaptcha Integration for WordPress.
How to install ReCaptcha Integration for WordPress plugin
You can install the plugin from WordPress control panel or with WP CLI tool.
Install with WordPress control panel
- Go to WordPress control panel > Plugins > Add New.
- Search ReCaptcha Integration for WordPress and click Install Now.
- After the installation you can activate the plugin by clicking Activate.
Install and activate with WP CLI tool
Simply run this command:
wp plugin install wp-recaptcha-integration --activate
How to setup the plugin
Google reCaptcha requires Site key and Secret key before you can use it. You can create the keys in Googles service.
When you get the keys, put those in the settings (Asetukset > ReCaptcha). On the settings page, you can also change the plugin's settings to your liking.
Now your WP login page, for example, is secured with I'm not a robot check box.
To ensure ReCaptcha will work on your site's comment forms, check the following checkbox at the bottom of the settings page: