Server

WordPress Plugin

Install BlockBots on WordPress and stop bots before the page is built — no code, no theme edits.

Overview

This guide installs the BlockBots plugin on a WordPress site. It hooks in at init priority 0, so bots are turned away before most of WordPress runs — no theme edits, no code.

It takes about three minutes. The free tier works without an account; cloud verification needs an API key.

TierWhat you get
FreeUser-agent whitelisting, login page protection, rate limiting, known-bad-bot blocking
PROCloud verification, deep detection, VPN / proxy / emulator blocking, dashboard with filters

Prerequisites

  • WordPress 6.0 or higher
  • PHP 7.4 or higher with the sodium extension (on by default since PHP 7.2)
  • PRO only: an API key from panel.blockbots.org

Nothing else to install — everything the plugin needs ships inside it.

Step 1 — Install and activate

Install from WP Admin → Plugins → Add New, or upload the blockbots folder to /wp-content/plugins/, then activate it.

Step 2 — Set the basics

Open WP Admin → Blockbots → Free Features.

Ignore Logged-In Users — leave this ON. It skips checks for anyone with a WordPress session and is what stops you locking yourself out of your own admin.

Protect WP Login Page — turn this ON if wp-login.php is getting hammered. Default is OFF.

Whitelist User Agents — add anything of your own that must always get through, one per line. These merge with the built-in list; matching is case-insensitive and partial.

Whitelist User Agents
MyMonitorBot
MyUptimeChecker

Your own browser's user agent is printed under the box, which is handy when you are not sure what to add.

Step 3 — Connect the cloud (PRO)

Paste your API key on the Pro Features tab and save. Verification starts immediately — there is nothing to deploy.

Then switch on what you need:

FeatureWhat it does
Deep Bot DetectionBehavioural analysis beyond user-agent checks
Real-time Cloud ProtectionChecks addresses against a live database of known bad actors
Detect VPN ConnectionFlags visitors arriving over a VPN
Detect Proxy ConnectionFlags open, datacentre and residential proxies
Detect EmulatorsFlags headless browsers and automation tools — Puppeteer, Selenium, Playwright
Show Loading IndicatorShows an overlay while verification runs

The key is 20+ alphanumeric characters. Once saved, the dashboard shows only the first and last four.

Step 4 — Check it works

Open your site in a private window. You should see a brief verification screen, then your page.

To confirm the cloud side is live, look at WP Admin → Blockbots: the service status reads connected. If the key is wrong or the subscription has lapsed, a notice appears there instead — and your site keeps serving normally with protection off, rather than stranding visitors on a screen they cannot pass.

How it works

Every front-end request goes through two gates.

1. Free mode, with no API key — the user agent is checked against the whitelist, and more than 10 requests from one address in 10 seconds is treated as abuse.

2. PRO mode, with a key:

  • Crawlers are verified against the cloud. Ones you allow, such as Googlebot, get your content; impostors using their name get 403. Verdicts are cached, so a crawler costs one call per hour rather than one per page.
  • Everyone else gets the verification page, receives a signed cookie, and the page reloads — usually under two seconds.

Uninstalling

Deactivate and delete the plugin from WP Admin → Plugins.

The uninstall routine removes every option it wrote, cancels its cron events and drops its database table. Nothing is left behind.

Next steps

  • PHP — the same protection for a site without WordPress
  • JavaScript — verify visitors inside a single-page app