WP ULike
Get Pro
Pro

Google reCAPTCHA

Protect login, signup, and reset forms with reCAPTCHA v2 or v3.

reCAPTCHA blocks automated bots on Pro login, signup, and password-reset forms.

Configure under WP ULike → Settings → Login & Signup.


Step 1: Create keys at Google

  1. Visit Google reCAPTCHA Admin.
  2. Register a new site:
    • Label — e.g. your site name
    • reCAPTCHA typev2 ("I'm not a robot" / invisible) or v3 (score-based)
    • Domains — your domain only (no http://, www, or trailing slash — e.g. example.com)
  3. Click Submit and copy the Site key and Secret key.

Keys for v2 and v3 are not interchangeable. If you switch types in WP ULike, generate new keys at Google.


Step 2: Enter keys in WP ULike

  1. Go to WP ULike → Settings → Login & Signup.
  2. Toggle Enable Google reCAPTCHA.
  3. Choose reCAPTCHA Type — v2 or v3.
  4. Paste the matching Site Key and Secret Key (separate fields for v2 and v3).

Optional v2 options: challenge type (image/audio), language, theme, size.

Global scripts

Enable Enable Global reCAPTCHA Scripts if reCAPTCHA must load outside standard form pages — for example modal login or custom hooks.


Step 3: Test the forms

  1. Open login and signup pages in a private browser window.
  2. Confirm the reCAPTCHA widget (v2) or invisible challenge (v3) appears.
  3. Submit a form — invalid or missing responses show errors from Translations → Strings → reCAPTCHA Notices.

The widget does not appear until valid keys are saved. Wrong keys produce errors on the form where reCAPTCHA should render.


Troubleshooting

IssueFix
reCAPTCHA not visible
Confirm keys match selected type (v2 vs v3); check domain list at Google
"Invalid site key"
Regenerate keys; domain must match site URL without protocol
Works on login but not modal
Enable Global reCAPTCHA Scripts
v3 score failures
Adjust v3 threshold in settings; customize score message in Translations

v2 vs v3

TypeBest for
v2
Clear user challenge — checkbox or image selection
v3
Invisible scoring — fewer clicks; may need tuning for false positives

Related: Login & Signup Settings · Two-Factor Authentication

Continue with these guides