Search for answers or browse our knowledge base.
How to whitelist users, IP addresses, and URLs
CAPTCHA 4WP allows administrators to whitelist users, IP addresses, and pages, giving you the ability to fine-tune your CAPTCHA deployment. In this article, we will be looking at how to whitelist all of these objects with step-by-step guides to help you get up and running in no time at all.
Whitelist users
When using CAPTCHA 4WP you can whitelist users. Whitelisted users do not have to complete any CAPTCHA checks as long as they are logged in. You can whitelist users through roles. As such, you will need to whitelist the role that the users you want to whitelist belong to. All users who have that role will then be whitelisted.
To whitelist a user role:
- Click on CAPTCHA 4WP from the WordPress main menu
- Click on Settings & Placements
- Scroll down to the Do you want to disable CAPTCHA tests for logged in users? option
- To whitelist all users, select the Remove CAPTCHA tests for all logged in users radio button
- To whitelist specific roles, select the Remove CAPTCHA tests for users with these user roles radio button, then check the checkboxes of the roles you want to whitelist
- Scroll all the way to the end of the page and click on Save Changes
Whitelist IP addresses
When whitelisting IPs, all connections originating from that IP address will be whitelisted. No CAPTCHA checks will be required, regardless of whether that person is logged in as a user or not.
To whitelist an IP address:
- Click on CAPTCHA 4WP from the WordPress main menu
- Click on Settings & Placements
- Scroll down to the Do you want to disable CAPTCHA tests for some IP addresses? option
- Enter the IP address that you want to whitelist in the No CAPTCHA tests for these IP addresses text box and click Add IP for each IP you want to whitelist
- Scroll all the way to the end of the page and click on Save Changes
Whitelist URLs
Whitelisting URLs is only applicable when using ReCAPTCHA V3 with the Load CAPTCHA v3 scripts on All Pages option. Whitelisting URLs will exclude those URLs from the All Pages option, and scripts will not load on those pagers.
To whitelist a URL:
- Click on CAPTCHA 4WP from the WordPress main menu
- Click on Settings & Placements
- Scroll down to the Do you want to remove CAPTCHA tests on some specific website pages / URLs? option
- Enter the slug that you want to whitelist in the No CAPTCHA from these URLs: text box and click Add URL for each URL you want to whitelist
- Scroll all the way to the end of the page and click on Save Changes