Table of contents10
My client’s editorial team couldn’t log into their own site. The login page took thirty seconds to load, then timed out. “The site is down,” they told me. The site wasn’t down. It was under attack — forty thousand login attempts in one night, every bot on the internet taking turns guessing the admin password, and the sheer volume had knocked the login page flat. Nobody had broken in. They didn’t need to. They had broken the door by leaning on it.
I am Fatima Noor. I plan content systems for WordPress publishers, and I have watched this exact scene play out on news sites, magazines, and blogs more times than I can count. Publisher sites are favourite targets: they’re always on, they have many user accounts, and their teams reuse passwords the way the rest of us reuse coffee mugs. Here’s what I tell every client: a brute-force attack is not a question of if. It is background noise on the modern internet, and your site is already hearing it.
This guide explains what brute-force attacks actually are in plain words, shows you how to check whether one is hitting your site right now, and walks you through the complete defence — from the thirty-minute emergency response to the permanent setup that makes your login page boring to attackers. Whether you run a one-person blog or a newsroom with fifty accounts, you will know exactly what to do. Let’s lock the door properly.

One honest note before we start: no defence makes a site unhackable, and anyone selling you “military-grade unbreakable security” is selling you a feeling, not a fact. What this guide gives you is better: layered defences that make your site dramatically more expensive to attack than the next site over. Attackers are lazy economists. Be the expensive target.
Here is what this guide covers:
- What a Brute-Force Attack Actually Is (No Jargon)
- Is It Happening to You Right Now? How to Check
- The 30-Minute Emergency Response
- Lock the Front Door: Usernames, Passwords, and Two-Factor Authentication
- Slow the Attacker: Rate Limiting and Login Attempt Limits
- Move the Target: The Login Page and XML-RPC
- Server-Level Protection: Blocking Bad Traffic Before It Reaches WordPress
- The Long Game: Updates, Monitoring, and Your Recovery Plan
- Frequently Asked Questions
- Final Thoughts
Ready? Let’s get started.
What a Brute-Force Attack Actually Is (No Jargon)
Forget the Hollywood image of a hooded hacker typing furiously. A brute-force attack is much dumber and much more patient than that. It is a computer program trying passwords — thousands of them, one after another, automatically — against your WordPress login page. Username “admin”, password “password123”. No? Username “admin”, password “qwerty”. No? Next. And next. And next, for hours, days, weeks.
Here’s the deal: the attacker doesn’t care about your site specifically. These programs scan the entire internet, knocking on every WordPress login page they find. Your site is one of millions of doors being tried. Most attempts fail — but “most” is doing heavy lifting there, because the programs never get tired, never get bored, and only need to get lucky once.
There are two flavours worth knowing. Simple brute force tries common passwords against your usernames — it beats weak passwords. Credential stuffing tries username-and-password pairs stolen from other websites’ data breaches — it beats password reuse. If your editor uses the same password for your site and for a forum that got breached in 2021, credential stuffing walks right in. Both are fully automated. Neither requires a human to notice your site exists.
And here is the part people miss: even failed attacks cost you. Every login attempt loads WordPress, checks the database, and writes a log entry. Ten thousand attempts an hour is a denial-of-service attack wearing a brute-force costume — which is exactly what flattened my client’s login page that night. Stopping brute force isn’t just about security. It’s about keeping your site standing up.
Is It Happening to You Right Now? How to Check
Before changing anything, look. Most site owners are shocked the first time they see their login page’s real traffic. Here’s how to check, easiest first:
Check your login attempts. If you have any security or limit-login plugin already installed, open its logs — many show blocked attempts per day. Numbers in the hundreds per day are normal background noise. Thousands per hour is an active campaign. No plugin yet? We’ll fix that below, but first, other ways to look.
Check your server access logs. In your hosting control panel, find the raw access log (sometimes called “visitors” or “access logs”) and search for wp-login.php. A healthy site shows occasional entries — you logging in, your team logging in. An attacked site shows pages of them: the same file requested hundreds of times from IP addresses you’ve never seen, often with usernames like “admin”, “administrator”, or your actual authors’ names in the request data.
Watch for the symptoms. Login page suddenly slow or timing out. Your host warning about high resource usage with no traffic spike to match. Users locked out for no reason. Comments or contact forms unaffected while only wp-login.php struggles. These all point the same direction: something is hammering your login page.
Check for successful logins you don’t recognise. In Users → All Users, look at every account — do you recognise them all? Check the “last login” if your setup tracks it. A brute-force attack that succeeded looks exactly like a normal admin account doing normal things, which is why the check matters. If you find an account you don’t recognise, treat it as a breach, not just an attack — our malware cleanup guide is your next stop.
Whatever you find, don’t panic. An attack in progress is fixable, usually in under an hour. The emergency response is next.
The 30-Minute Emergency Response
An attack is hitting you right now. Forget the perfect permanent setup — do these five things in the next thirty minutes, in order:
1. Confirm your passwords are strong (5 minutes). Log in and change the passwords of every administrator account to something long and unique — a password manager’s generator is ideal, or four random words with numbers. If any admin account still uses “admin” as the username, create a new administrator with a different username, log in as the new account, and delete the old “admin” account (reassigning content to yourself). Attackers always try “admin” first. Don’t be the low-hanging fruit.
2. Turn on two-factor authentication (10 minutes). 2FA means logging in needs your password plus a code from your phone. Even if an attacker guesses the password, they’re stopped cold without your phone. Enable it for every administrator and editor account — not just yours. Most 2FA plugins take minutes to set up: install, activate, each user scans a QR code with an authenticator app, done. This single step defeats nearly every brute-force attack ever attempted, because stolen or guessed passwords stop being enough.
3. Install a login-attempt limiter (10 minutes). A limit-login plugin locks out an IP address after a few failed attempts — say, five failures means a twenty-minute lockout. This doesn’t stop a determined attacker with thousands of IP addresses, but it destroys the economics of simple brute force and immediately relieves the load on your login page. Configure it, then watch your logs go quiet.
4. Check for intruders (5 minutes). Quick sweep: Users → All Users — everyone recognised? Any unfamiliar administrator is a breach, not an attempt. If you find one, stop here and switch to full cleanup mode with our security audit checklist.
5. Tell your team. If you have multiple users, tell them what’s happening and what changed — especially 2FA, which will surprise anyone who wasn’t warned. A two-sentence message prevents ten confused support tickets: “We’re under a login attack, I’ve added two-factor authentication, here’s the thirty-second setup.”
Thirty minutes, and the attack goes from crisis to background noise. The rest of this guide makes sure it stays that way.

Lock the Front Door: Usernames, Passwords, and Two-Factor Authentication
Emergency handled. Now let’s build the door properly, because most WordPress sites I audit fail at the basics — and the basics are where brute force lives or dies.
Usernames: stop using “admin”. WordPress used to create an “admin” user by default, and a shocking number of sites still run one. Every brute-force bot tries “admin” first — it’s free. Your administrator username should be something unguessable, the same way your password is. Never use your site name, your real name plus “admin”, or anything in your author bio. And never publish your admin username anywhere — check that your author archives don’t expose it (many themes link author names to ?author=1 URLs that reveal usernames; a security plugin or simple redirect rule fixes this).
Passwords: long beats complex. The official WordPress hardening guide says it plainly, and the research agrees: a long password you can actually use beats a short complex one you write on a sticky note. Four or five random words with a number mixed in is strong and memorable. Every account gets its own — password reuse is what credential stuffing eats for breakfast. And for teams: this is a policy, not a suggestion. One editor reusing their breached forum password bypasses everything else you build. Make a password manager part of onboarding, not an optional extra.
Two-factor authentication: non-negotiable for admins. I said it in the emergency section and I’ll say it again because it’s that important: 2FA is the highest-value security step in all of WordPress. Passwords can be guessed, phished, leaked, and reused. A time-based code on a physical device you hold cannot be guessed remotely. Every administrator account, every editor account, no exceptions. The thirty seconds it adds to login is the cheapest security you will ever buy.
Fewer keys, fewer doors. Audit your user list quarterly and delete accounts people no longer need — every ex-freelancer with an admin account is a password you don’t control. Give people the lowest role that lets them do their job: editors don’t need to be administrators. Our file permissions guide covers the same “least privilege” principle for your server files.
Bonus tip: after changing passwords and enabling 2FA, log out every session. Most security plugins have a “force logout all users” option. Anyone currently logged in — including anyone who shouldn’t be — gets bounced and must log in fresh through the new defences.
Slow the Attacker: Rate Limiting and Login Attempt Limits
A locked door is good. A locked door plus a bouncer who throws out anyone jiggling the handle is better. Rate limiting is that bouncer.
Limit login attempts. Your limiter plugin (from the emergency response) should stay permanently. Sensible settings: lock out an IP after 3–5 failed attempts, with lockouts that get longer for repeat offenders (twenty minutes, then an hour, then a day). Also enable notifications — but send them to a filtered email folder, because during a real campaign you’ll get dozens. The point isn’t to read every alert; it’s to have the history when you need it.
Add CAPTCHA to the login page. A CAPTCHA (the “prove you’re human” checkbox) is nearly invisible to your team and devastating to simple bots. Most limit-login and security plugins include one. It won’t stop sophisticated attackers, but combined with attempt limiting it filters out the vast majority of automated noise before it costs you server resources.
Slow down XML-RPC too — or disable it. Here’s something most guides bury: xmlrpc.php is a second login door that many attackers prefer, because one request can test hundreds of password combinations (the system.multicall trick). If you don’t use the WordPress mobile app or remote publishing tools, disable XML-RPC entirely — our XML-RPC guide shows how to do it safely. If you need it, make sure your limiter covers it.
Consider blocking the worst offenders at the server level. If the same IP ranges attack repeatedly, block them in .htaccess or via your host’s IP blocker. Don’t play whack-a-mole with individual IPs forever — botnets rotate addresses — but persistent repeat offenders from hosting ranges that serve no legitimate visitors are safe to block permanently.
The principle: every layer doesn’t need to be perfect. Attempt limits catch the dumb bots, CAPTCHA catches the simple scripts, and what gets through both faces 2FA. Attackers do cost-benefit math. Make the math bad.
Move the Target: The Login Page and XML-RPC
Now, an honest discussion about a popular trick: changing your login URL from /wp-login.php to something custom. You’ve probably seen this recommended everywhere. Here’s my honest take after years of publisher work: it’s camouflage, not armour. It dramatically cuts down automated attempts — bots knock on the standard door, and yours isn’t there — which reduces server load beautifully. But a targeted attacker finds the real login page in minutes. So do it for the noise reduction, never as your actual security. The real security is everything in the previous two sections.
If you use it: pick an obscure slug, tell your whole team (bookmarked), and make sure your limiter and 2FA still protect the new URL. And keep a way back in — if the renaming plugin ever breaks, you need to know how to reach your login without it (usually by temporarily disabling the plugin via FTP).
XML-RPC deserves its own decision. I mentioned disabling it above; let me be blunt about why it matters so much. Beyond the multicall password-guessing trick, xmlrpc.php is also abused for pingback-based DDoS attacks — your server attacking others, getting you blacklisted. Check whether anything you use needs it: the WordPress mobile apps and some external publishing tools do; most brochure sites, blogs, and shops don’t. Don’t need it? Disable it. Need it? Protect it with the same limits as your login page. Either way, don’t leave the default — an unprotected xmlrpc.php in 2026 is an unlocked side door with a sign on it.
Server-Level Protection: Blocking Bad Traffic Before It Reaches WordPress
Everything so far happens inside WordPress. But the smartest place to stop an attack is before it reaches WordPress at all — because every blocked-at-the-server request is one your site never has to process.
A web application firewall (WAF) sits in front of your site and filters traffic: known-bad IPs, obvious attack patterns, and rate limits applied before WordPress loads. Many hosts include one; if yours doesn’t, reputable options exist at both free and paid tiers. For publisher sites with real traffic, this is the single biggest load-saver during attack campaigns — the difference between “we blocked 50,000 attempts” and “the login page fell over.”
CDN-level protection works the same way from further out. If you use a content delivery network, its security rules can challenge or block suspicious login-page traffic at the edge, across dozens of data centres, before it ever touches your server. During that 40,000-attempt night I opened with, edge blocking would have meant my client’s team never noticed a thing.
Talk to your host. This is the step people skip, and it’s free. Ask your host: do you rate-limit wp-login.php and xmlrpc.php at the server level? Do you block known brute-force botnets? Can you show me the blocked-attempt logs? A good host answers confidently; a vague answer tells you something about renewal time. Server-level blocking plus your WordPress-level defences is what “layered security” actually means — not ten plugins, but two or three layers in different places.
One caution: don’t stack five security plugins hoping more is better. Overlapping plugins conflict, slow your site, and create a false sense of safety. One well-configured limiter, 2FA, and server-level protection beats a pile of plugins fighting each other. Our security headers guide covers the next layer worth adding once these are in place.

The Long Game: Updates, Monitoring, and Your Recovery Plan
You’ve survived the attack and built the defences. Now make it permanent — because brute force never stops, it just moves on to easier targets. The long game has three parts.
Update discipline. Most successful logins-by-force I investigate end with the attacker exploiting an outdated plugin after getting a low-level account — brute force gets them in the door, neglected updates give them the keys to the building. Keep core, themes, and plugins current, delete what you don’t use, and decide your auto-update policy deliberately: automatic for minor security releases, tested-on-staging for the big ones. Our auto-updates guide has the tier system I recommend to publishers.
Monitoring that respects your attention. You don’t need to watch logs daily — you need alerts for the things that matter. Set up: a weekly summary of blocked login attempts (trending up or down?), an alert for any new administrator account created, and an alert for administrator logins from unfamiliar countries. Most security plugins offer all three. Review monthly, act on anomalies. The goal is a system that taps you on the shoulder when something’s wrong, not one that screams constantly until you mute it.
A recovery plan, written down. If an attack ever succeeds despite everything, panic is the enemy — a plan is the antidote. Write one page: who to call (host support number, your developer), where the clean backups are and how to restore them, and the lockdown sequence (reset all passwords, regenerate security salts, audit users). Keep a printed copy somewhere sensible. Then test your backups — a backup you’ve never restored is a hope, not a plan. Our restore drill guide walks through the test.
Do these three and you’re not just defended — you’re resilient. Attacks become incidents, incidents become footnotes.
Frequently Asked Questions
How many login attempts per day is normal? A few hundred blocked attempts a day is ordinary background noise for any public WordPress site — bots probing everything. Thousands per hour from concentrated sources is a campaign worth responding to. Don’t measure your safety by the count; measure it by your defences. With 2FA and attempt limiting in place, the count is just weather.
Will limiting login attempts lock out my real users? It can, briefly — someone who fat-fingers their password five times gets a short lockout. Mitigate it: set the lockout threshold at 5 rather than 3, keep lockouts short for first offences, whitelist your office IPs if they’re static, and make sure your team uses a password manager so mistyped passwords get rare. The tiny inconvenience is wildly worth the protection.
Is changing the login URL enough on its own? No — and treat anyone who says otherwise with suspicion. It cuts automated noise dramatically, which is genuinely useful for server load, but it’s obscurity, not security. A targeted attacker finds custom login URLs quickly. Always pair it with strong passwords, 2FA, and attempt limiting. Camouflage plus armour, never camouflage instead of armour.
Do I need a paid security plugin to stop brute force? No. Everything in this guide’s core defence — attempt limiting, 2FA, CAPTCHA, XML-RPC control — is available free. Paid tiers add conveniences: better logging, country blocking, premium support. Spend money when you have a specific problem the free tools don’t solve (like needing detailed forensics), not from fear.
My site was already breached through brute force. Is this guide still for me? Partially — but a successful breach needs cleanup first, defence second. Assume the attacker left backdoors: work through our malware cleanup guide completely, then return here and build every layer. Defending a still-compromised site is locking a door with the burglar inside.

Final Thoughts
That publisher client from the opening? We did the thirty-minute response that same night, built the full layers over the following week, and their login page hasn’t broken a sweat since — through campaigns bigger than the first one. The attacks didn’t stop. They never stop. They just stopped mattering.
My honest line: most WordPress sites are protected by nothing but a password, and most passwords are weaker than their owners believe. You now know more about brute-force defence than the vast majority of site owners on the internet. The gap between knowing and doing is about an hour of focused work — the emergency response plus the front-door section. Close that gap today.
Is your login page getting hammered right now? Check your logs, run the thirty-minute response, and tell me in the comments what you found — the numbers always surprise people, and your story might be the nudge someone else needs. Related reading: how to find and remove hidden WordPress malware, the WordPress file permissions security guide, WordPress major versus minor updates, and shared versus managed WordPress hosting.











3 comments