Search for answers or browse our knowledge base.
How to fix CAPTCHA not showing due to caching issue
The CAPTCHA 4WP plugin uses a script to connect to the Google ReCAPTCHA service. In certain situations where WordPress caching is enabled, the script is cached and as such won’t be able to run properly. Excluding the script from caching fixes the issue in most cases.
In this article, we will be showing you how to exclude the ReCAPTCHA script from caching on WP Rocket. If you are experiencing this issue using a different caching system, kindly open a support ticket.
Excluding RECAPTCHA script from WP Rocket’s caching
To exclude the ReCAPTCHA script from caching on WP Rocket:
- Click on Settings from the WordPress main menu
- Click on WP Rocket from the piano menu
- Click on FILE OPTIMIZATION from WP Rocket’s main menu
- Enter www.google.com/recaptcha/api.js in the provided textbox
- Click on SAVE CHANGES