Keep your WordPress admin login off the internet’s radar — everywhere you don’t need it.
Region Block Admin restricts access to wp-admin and wp-login.php based on where a visitor is connecting from. Choose which countries can reach your login screen, and every other request is turned away before it ever sees a password field — a simple, effective layer against the constant background noise of automated login attempts from regions you’ll never actually log in from.
A large share of automated attacks against WordPress sites — credential stuffing, brute-force login attempts, vulnerability scans — originate from a small number of regions with no real connection to most site owners’ actual audience or team. Cutting that traffic off at the door reduces noise in your logs, lightens the load on your server, and shrinks the pool of attempts against your login form — without affecting real visitors browsing the rest of your site.
Region blocking is one layer, not a complete security strategy. It doesn’t replace strong, unique passwords, two-factor authentication, or keeping WordPress and its plugins up to date — and a determined attacker can still route around it with a VPN or proxy. Think of it as reducing the size of the target, not eliminating it.
From first visit to a fully configured region block in about five minutes.
In your WordPress dashboard, go to Settings → Region Block Admin. This page is where everything happens — importing the IP database, choosing which countries to block, and turning enforcement on.
At the top of the page you’ll see your own detected IP address and region. Keep an eye on this — it confirms the plugin can correctly identify where you’re connecting from before you block anyone else.
Before any blocking can happen, the plugin needs its local country database in place. Under Local IP Database:
Once imported, you’ll see the row count, the import date, and which source file was used displayed on this page, so you always know how current your data is.
Scroll to Blocked Countries and tick the boxes for any regions you want to restrict. To speed this up:
In the IP Whitelist field, add any individual IP addresses or IP ranges that should always be allowed through, regardless of country — a home or office connection, a VPN exit node, or a remote teammate’s address. One entry per line. Your own current IP is added here automatically every time you save, so you can’t lock yourself out by mistake.
Once your country selections and whitelist look right, check Enable blocking at the top of the form and click Save Changes. From this point on, visits to your login screen from a blocked region will be turned away — while everything else on your site, and every other visitor, continues working exactly as before.
Tip: leave “Enable blocking” switched off while you’re still setting things up. Save your country and whitelist choices first, double-check your own IP and region are showing correctly at the top of the page, and only switch blocking on once you’re confident in the configuration.