Configuring Multi-Tier Anti-Spam Protection
Block 99.9% of automated bots, scraping tools, and submission floods without ruining user experience. Diviniket WP Forms offers built-in honeypot security alongside three prioritized captcha verification providers.
1. How the Multi-Layer Security Architecture Operates
Standard WordPress form plugins either force irritating visual challenges on legitimate visitors or fail to prevent malicious payload injections. Diviniket WP Forms introduces a tiered anti-spam structure configured globally under Diviniket Forms → Settings → Anti-Spam. When a visitor submits a form, our security pipeline evaluates the submission in sequential layers:
- Layer 0: Zero-Friction Honeypot (Always Active): Hidden CSS inputs detect automated bot parsers instantly before executing PHP processing.
- Priority 1: Google reCAPTCHA v2: The proven industry standard providing checkbox verification with automated fallback risk challenges.
- Priority 2: Cloudflare Turnstile: Modern, privacy-preserving cryptographic proof validation that operates invisibly without tracking cookies.
- Priority 3: hCaptcha: GDPR-compliant, privacy-first alternative protecting web forms while respecting user privacy standards worldwide.
2. Priority 1: Google reCAPTCHA v2 Setup
Google reCAPTCHA v2 ("I'm not a robot" Checkbox) validates human intent reliably across all browsers:
- Visit the Google reCAPTCHA Admin Console.
- Register a new site, choose reCAPTCHA v2 → "I'm not a robot" Checkbox, and add your domain (e.g.,
diviniket.in). - Copy your generated Site Key and Secret Key.
- In your WordPress admin, navigate to Diviniket Forms → Settings → Anti-Spam.
- Paste the credentials into the reCAPTCHA v2 Site Key and Secret Key fields, then click Save Settings.
3. Priority 2: Cloudflare Turnstile Setup
Cloudflare Turnstile delivers seamless user experience without requiring users to solve puzzles:
- Log in to your Cloudflare Dashboard and select Turnstile from the sidebar navigation.
- Click Add Site, enter your website name and hostname, and choose Managed widget mode.
- Copy your Turnstile Site Key and Secret Key.
- Paste these keys into the Cloudflare Turnstile section under Diviniket Forms → Settings → Anti-Spam.
4. Priority 3: hCaptcha Configuration
For sites prioritizing European GDPR compliance and complete data isolation, hCaptcha offers an optimal defense:
- Create an account on hCaptcha.com and generate a new Site Key.
- Navigate to your account profile settings to reveal your hCaptcha Secret Key.
- Enter both keys under the hCaptcha section in Diviniket Forms → Settings → Anti-Spam and save.
5. Enabling Protection on Individual Forms
Once your global credentials are saved in Plugin Settings, you can enable anti-spam protection on any specific form. Open the form in the Visual Builder, switch to the Form Settings panel, enable the Captcha toggle, and select your preferred active provider. The required validation scripts load asynchronously only on pages where that form shortcode exists, preserving optimal page speed scores.