Search Knowledge Base by Keyword
Getting started with CAPTCHA 4WP
CAPTCHA 4WP is a WordPress plugin that makes it easy to implement CAPTCHA on your WordPress forms and login pages. When using the plugin, visitors and WordPress users have to pass a CAPTCHA test before submitting a form or logging in.
This getting started guide will cover the steps you need to take to install and configure the CAPTCHA 4WP plugin on your WordPress website.
Step 1: Download and activate the plugin.
To get started, you first need to download and activate the plugin. The plugin can be downloaded straight from the WordPress repository as follows:
- Log in to your WordPress admin dashboard
- From the left-side menu, click on Plugins
- Next, click on Add New
- In the ‘Search plugins’ field, type CAPTCHA 4WP
Once you have identified the correct plugin, click the Install Now button. When the plugin finishes installing, the Install Now button will read Activate. Click Activate to activate the plugin and start the configuration process.
If you have purchased the premium edition of the plugin, you will need to install and activate CAPTCHA 4WP before you can continue with the configuration process.
Step 2: Get your reCAPTCHA Site Key and Secret Key
Before we get started with configuring the plugin, you need to have a Site Key and a Secret Key for the reCAPTCHA that you would like to use. Refer to the How to get ReCaptcha keys guide to learn more about reCAPTCHA and how to get a key set.
Step 3: Configure the plugin
Once you activate the plugin, WordPress will automatically redirect you to your plugins page. Here you will see all of the plugins you have installed on your WordPress. To start configuring reCAPTCHA, click on CAPTCHA 4WP from the WordPress main menu and then click on CAPTCHA Configuration. Once in, follow the below steps.
Important: Configuration options can change depending on the reCAPTCHA version that you’re configuring and the plugin version that you’re using (Premium or Free). Below we have listed all of the available options; however, you will only see the ones relevant to you on your screen.
Step 3.1: ReCAPTCHA type and keys
In the first section of the configuration, we will be configuring the reCAPTCHA type and the corresponding Site Key and Secret Key.
reCAPTCHA type – Here, you need to choose the type of reCAPTCHA you would like to use. The plugin supports the following types:
- V2 “I’m not a robot”
- V2 Invisible
Before making a selection, ensure that the reCAPTCHA type matches the type chosen during the Site Key and Secret Key configuration.
Site Key – Enter the corresponding Site Key that you got from Google reCAPTCHA
Secret Key – Enter the corresponding Secret Key that you got from Google reCAPTCHA
It’s important to note that ReCAPTCHA Version 3 includes additional settings specific to this version. Configuration of these settings is highly recommended.
CAPTCHA Score – ReCAPTCHA Version 3 assesses visitors’ interaction with your website to determine if it’s human-like or bot-like. Based on its assessment, it issues a score. The closer to 1 the score is, the more confident ReCAPTCHA is that the visitor is a human. The closer to 0 the score is, the more confident ReCAPTCHA is that the visitor is a bot.
By default, the score is set to 0.5; allowing assessments with a score of 0.5 and higher through. If you see an increase in spam at any point, you can increase the score. We recommend increasing the score by +0.1 at a time.
Load CAPTCHA v3 scripts on – For ReCAPTCHA V3 to assess visitors’ interactions, it needs to load its scripts. Here you can set where scripts are loaded:
- All Pages – Load scripts on all website pages. Improves assessment accuracy
- Form pages – Load scripts on form pages only. May reduce assessment accuracy
Step 3.2 Configuration options
- Captcha Language – Select the language that the reCAPTCHA should use. You can choose Auto Detect for reCAPTCHA to detect and match the user’s language automatically
- Error Message – Enter the message you would like to display when a user does not pass the reCAPTCHA test.
- Theme – Select the color scheme that you would like the reCAPTCHA to use. Available options include Light or Dark.
- Size – Select the size you would like reCAPTCHA
- Badge – Select the location of where you would like to place the reCAPTCHA badge. Available options include Bottom Right, Bottom Left, or Inline.
- Recaptcha Domain – Select the reCAPTCHA domain that you would like to use to load reCAPTCHAs. This option allows you to choose a different domain should google.com be blocked. Unless you are experiencing any issues, this should be left as google.com.
- Remove CSS – Tick this checkbox to disable the plugin’s CSS. The plugin includes its own CSS file that adjusts the width to fit reCAPTCHA.
Step 3.3: Configure optional settings
At this stage, the plugin and the reCAPTCHA tests are fully functional. However, the plugin has several other settings which you can configure to customize the plugin to your requirements further.