A DDoS attack is one of those threats that sounds dramatic until it happens to you. Then it's worse than you imagined. Not because the attack is clever, but because of how fast it takes a site offline and how little time it leaves you to react.
The short answer: WordPress DDoS protection has to happen before traffic reaches your server. Put the site behind an edge network such as Cloudflare that absorbs floods and challenges bots, make sure the server only accepts traffic from that network, and cache as much as possible. A WordPress plugin can't stop a DDoS attack, because by the time it runs, the server has already done the work the attacker wanted.
The numbers keep climbing. Cloudflare counted 47.1 million DDoS attacks in 2025, more than double 2024, and mitigated another 18.2 million network-layer attacks in the third quarter of 2026 alone. Most of them were small and short. That's the part that matters for a WordPress site: you don't need to be a bank or a game server to be hit, and you don't need a record-breaking flood to go down.
I'm Shane Larrabee, and I've run FatLab, a managed WordPress host, since 2011. We host and manage more than 200 WordPress sites, including political organizations and an independent news site that have been targeted directly. That experience taught us the thing most content on this topic misses: WordPress DDoS protection is an infrastructure problem, not a plugin problem. The protection that works happens before traffic ever reaches your server.
This article covers what DDoS attacks look like in 2026, why WordPress is especially exposed to one kind, what actually stops them, and what to ask a host that says it includes DDoS protection. If your site is under attack right now, skip to what to do during an active attack.
What a WordPress DDoS Attack Actually Is
A DDoS (distributed denial of service) attack floods a website with so much traffic from so many sources that it can't answer real visitors. Instead of one attacker, a DDoS uses thousands of compromised devices, a botnet, sending requests at the same time.
A DDoS is not the same as a traffic spike. A post that goes viral can overwhelm your server with real visitors. A DDoS overwhelms it with traffic designed to make the site unreachable. The response to each is different.
DDoS attacks fall into three categories, and which one you face decides what kind of protection helps.
| Type | Target | WordPress Relevance | Where It's Stopped |
|---|---|---|---|
| Volumetric | Bandwidth/network | Saturates the server's connection | CDN/edge network |
| Protocol | Server resources (TCP/UDP) | Exhausts connection handling | Network firewall/edge |
| Application-layer (layer 7) | The web application (HTTP) | Targets uncached pages, wp-login, search, checkout | Edge rules, bot checks, rate limiting |
Volumetric Attacks
These are the brute-force floods. They push so much data at your connection that the bandwidth is gone before traffic reaches the server. Cloudflare's current record is a 31.4 Tbps attack in November 2025. For context, that's tens of thousands of times more bandwidth than a typical hosting server has.
No WordPress plugin, server setting or configuration file can stop a volumetric attack. The traffic overwhelms the pipe itself. Your server never gets a chance to process anything.
Protocol Attacks
Protocol attacks abuse how network connections work to exhaust a server's resources. SYN floods, the classic example, open huge numbers of connections without finishing them until the server can't accept real ones. DNS floods, the most common attack method in Cloudflare's latest report, go after the systems that turn your domain name into an address.
Like volumetric attacks, these hit layers below WordPress. The server's network stack gives out before PHP ever runs.
Application-Layer Attacks (Layer 7 and HTTP Floods)
This is where WordPress becomes the target. An application-layer attack, also called a layer 7 attack or HTTP flood, sends requests that look like normal visits but are built to make the server work as hard as possible. Cloudflare mitigated 14.4 trillion HTTP DDoS requests in the third quarter of 2026.
Network-layer attacks are still the large majority by count (78% of all DDoS attacks in the fourth quarter of 2025, by Cloudflare's numbers). But for a WordPress site, the layer 7 flood is the one most likely to take you down, because it doesn't need much traffic to do it.

Why WordPress Sites Are Especially Exposed
WordPress isn't uniquely vulnerable to volumetric or protocol attacks. Any site can be flooded. But WordPress has traits that make application-layer attacks effective, plus a few built-in features that make them worse.
The Per-Request Cost Problem
Every uncached request to a WordPress site sets off the same chain: load WordPress core, start every active plugin, load the theme, run the database queries, run every hook and filter, and build the page.
A page that takes half a second and a chunk of memory to build is fine under normal traffic, because caching serves most visitors a saved copy. Under attack, attackers ask for pages that aren't in the cache, and each one costs the full price. The server runs out of PHP workers, memory or CPU. That asymmetry is the core weakness: a cheap request from the attacker triggers expensive work on your server.
Attackers know this. On a news site we host, the floods in November 2026 requested random old articles and made-up page numbers, so almost nothing could be served from cache.
XML-RPC: The Feature That Became a Weapon
WordPress's XML-RPC interface (xmlrpc.php) was built for remote publishing and pingbacks. It became one of the best-known DDoS tools in the ecosystem.
Here's how the pingback trick works: attackers send pingback requests to thousands of WordPress sites, each naming the victim's URL. Every one of those sites then requests the victim's page to "verify" the pingback. The result is thousands of ordinary WordPress sites hammering one target at once.
XML-RPC is still part of WordPress core and still switched on by default. It hasn't been deprecated, whatever you may have read. If nothing on your site uses it, block xmlrpc.php at the web server or firewall rather than with a plugin, so the request never starts PHP. Our brute force protection guide covers the login side of XML-RPC. Compromised WordPress plugins are a similar story: trusted software that becomes the attack path.
Other WordPress Attack Surfaces
wp-login.php is expensive by design. Every login attempt means a database lookup, a deliberately slow password hash and session handling. Even failed logins cost real resources, so a login flood is both a brute force attack and a resource-exhaustion attack.
WordPress search skips the page cache. Rapid search requests force database queries on every hit. We've seen a bot variant send empty search queries for exactly this reason.
WooCommerce cart, checkout and account pages are never cached, because they're different for every shopper. That makes them the natural target on a store, and it's why WooCommerce DDoS protection has to happen at the edge, not inside the store.
wp-cron.php runs on page loads by default to check for scheduled tasks. Under attack, every request can trigger that check, and heavy pending tasks can pile up on top of the flood.
Where WordPress DDoS Protection Actually Happens
This is the part most content gets wrong, and it's why plugin-based DDoS protection is mostly marketing.
Here's the path a request takes to a WordPress site:
Attacker > Internet backbone > CDN/edge network > Origin server > Web server > PHP > WordPress > Plugin
A security plugin sits at the very end. By the time it decides a request is malicious, the bandwidth is spent, the connection is open, the web server has accepted the request, PHP is running, WordPress has loaded and every plugin has started.
The plugin can stop the request from finishing, but the damage is done. Under a heavy attack, the server runs out of capacity before the "protection" can get through the backlog. It's like putting a lock on the bedroom door to keep out a flood. The lock works fine. The water doesn't care.
"Before WAFs existed, the response was to shut down the PHP application entirely and wait out the attack until the bot stopped getting positive response codes. You'd literally take the site offline yourself because there was nothing else you could do."
That was DDoS defense before edge protection existed. Today the picture is very different.
Edge Protection: What Actually Works
Effective DDoS mitigation happens at the network edge, before traffic reaches your server. This is what people mean by "remote" or cloud DDoS protection for WordPress: a service like Cloudflare sits in front of your site, and every visitor reaches the site through it. Cloudflare's network has more than 500 Tbps of capacity in over 330 cities. The largest attack ever recorded used about 6% of that.
Edge protection works in a few ways:
Absorption. Attack traffic lands on the edge network, not your server, and it's spread across hundreds of data centers. There's no single point to overwhelm.
Automatic detection. Edge networks spot and filter attacks without anyone pressing a button. That matters, because 96% of the network-layer attacks Cloudflare saw in the third quarter of 2026 ended within 10 minutes. By the time a person reads an alert, most attacks are over.
Always-on filtering. Traffic passes through the edge all the time, so protection doesn't need to "spin up" when an attack starts. There's no gap between detection and mitigation.
Caching. Every page the edge serves from its cache is a request your server never sees. On the sites we host, about 61% of all requests in a recent three-day window were answered from Cloudflare's cache without touching our servers.
Bot checks and rate limiting. Layer 7 floods that look like real visits get filtered with browser checks, reputation data and request limits, before they cost the server anything.
Origin Server Hardening
Edge protection does the heavy lifting, but the server behind it still matters. None of these steps stop a DDoS on their own. They make the attacks that slip through cheaper to survive.
At the web server: block xmlrpc.php in the Apache or nginx configuration (not with a PHP plugin), rate-limit wp-login.php, and set sensible connection limits and timeouts.
In WordPress: move WP-Cron to a real server cron job, use full-page caching so cached pages skip PHP, and keep the plugin count down to lower the cost of every uncached request.
At the server firewall: let it block addresses that misbehave. On the servers we run, Imunify360 does this on its own. At one count in November, about 690 addresses were on our server blacklists for hammering a challenge more than a hundred times, and another 49 were blocked automatically for taking part in a distributed attack.
When Traffic Skips the Edge
There's a catch almost nobody mentions. Edge protection only helps if traffic actually goes through the edge. If an attacker finds your server's real address, through old DNS records, certificate logs or the hosting platform's own hostnames, they can send the flood straight to the server and skip Cloudflare entirely.
The fix is to make the server refuse web traffic that doesn't come from the edge network. On many hosting platforms, including the one we use, every site also has a permanent platform hostname, so this takes deliberate work rather than a checkbox. We did it for the news site above when the floods kept coming. Our Apache and nginx vulnerabilities post explains why the same gap matters for server bugs, not just floods.
Why "WordPress DDoS Protection Plugins" Are Marketing
Several plugins advertise DDoS protection. The technical reality deserves an honest look.
PHP-based security plugins like Wordfence, Shield Security and All-In-One WP Security offer rate limiting and IP blocking that can handle small brute force runs. Against a real flood, every blocked request still costs server resources, because the plugin only runs after PHP and WordPress have loaded. Under a sustained attack that overhead adds up instead of helping. We cover the tradeoff in more depth in security plugins vs. server-level protection.
Wordfence Premium costs about $149 a year per site and doesn't provide DDoS mitigation. Cloudflare's free plan does, at no charge, on the same network that absorbed the record attacks. AWS Shield Advanced, for comparison, starts at $3,000 a month. The prices tell you where real DDoS mitigation lives.
Cloud firewall services like Sucuri that offer a WordPress plugin for configuration are a different thing. Their protection comes from the cloud proxy, not the plugin. The plugin is a settings screen. That distinction gets lost in marketing.
The honest version: an edge network in front of your site provides real DDoS mitigation. A plugin running inside WordPress does not, whatever its feature list says.
Who Gets Targeted and Why
Most DDoS attacks aren't personal. Bots hit whatever is reachable, and small sites get the same automated traffic as big ones. When an attack is aimed, the motive is usually more ordinary than the headlines suggest: a competitor, a grudge, a customer who got angry, or someone looking for a payout. Cloudflare's surveys of attacked customers have put competitors at the top of that list for years.
Advocacy, Journalism and Political Sites Face a Different Threat
Organizations involved in advocacy, elections, journalism or controversial causes face DDoS risk for structural reasons. Their content is time-sensitive, so a site that's down during a fundraising push or a breaking story loses more than a day of traffic. They rarely have a security team. And attacks against them are driven by opposition, not money, which makes them hard to predict.
The data backs this up. In its first report on attacks against civil society, published in June 2026, Cloudflare said it blocked about 38.5 billion malicious requests aimed at the journalists, human rights groups and nonprofits in its Project Galileo program over a year. DDoS made up 81.7% of that traffic, and the largest attacks lasted days or weeks, not minutes.
We've lived this. The most serious case, in 2012, involved a political action committee's donations page. A few weeks before a major national election, attackers in Egypt flooded that one page with stolen credit cards, charging pennies per card. It told them which cards still worked, and it buried the real donations during the final push.
"The FBI got involved because it was considered a direct threat against the democratic process of the United States. That's the kind of scenario we're talking about when attacks become targeted."
Back then, edge protection like Cloudflare was out of our clients' budgets, so we fought it on the form itself with reCAPTCHA, honeypots and rate limiting. Today that flood would meet an edge network before it reached our server, and the form would still need its own limits, which is what stopped a similar run on an invoice form we host this fall (more on that below).
The newer example is an independent news site we host. It moved to us in November 2026, and from its second day it was hit by botnets built from residential internet connections, requesting random old articles to dodge the cache. At the peak, its server was handling more than 11,000 PHP requests a minute against a normal of about 500. Part of that traffic came from real browsers and passed Cloudflare's bot check, so no single setting stopped all of it. What worked was a combination: Cloudflare's stronger bot protection for that site, switched on automatically within two minutes of each wave; a server that only accepts traffic from Cloudflare; and a specific rule for one bot variant. Adding CPU to the server helped it recover faster but didn't absorb a full wave on its own. The site had a few short outages during the first waves. After the permanent fix, every one of 550 monitoring checks over the next two days came back healthy.
Cloudflare's Project Galileo, running since 2014, gives qualifying journalism, advocacy and human rights groups enterprise-grade protection at no cost. The Athenian Project does the same for state and local election offices. If your organization qualifies, apply. Our advocacy website security guide covers the rest of that threat picture.
The DDoS Threat by the Numbers
- 47.1 million DDoS attacks in 2025, more than double 2024 (Cloudflare)
- 18.2 million network-layer attacks in the third quarter of 2026 alone (Cloudflare)
- 96% of network-layer attacks ended within 10 minutes, and 98% stayed under 1 Gbps (same report)
- Attacks over 1 Tbps fell from 805 to 251 between the second and third quarters of 2026, after law enforcement took down four of the largest IoT botnets (same report)
- 31.4 Tbps, the largest attack on record (November 2025)
Read those together and the 2026 picture is clear: the giant floods are getting rarer, and the small, fast ones are multiplying. That's good news for anyone behind an edge network and bad news for anyone counting on reacting in time. If nearly every attack is over in ten minutes, any protection that needs a person to switch it on or a DNS change to take effect arrives after the damage.
Closer to home: in one three-day window this November, Cloudflare blocked more than 330,000 requests aimed at the sites we host, about 110,000 a day, and every protected site was hit at least once. Those are blocks of all kinds, not only DDoS traffic, but they show how constant the background noise is.

Low-and-Slow Attacks: The Ones That Get Through
Traditional DDoS is a volume game: flood the server, crash it, move on. Edge networks are very good at those. What still gets through is different.
Low-and-slow attacks use large pools of IP addresses spread across many countries. Instead of hammering a site, each address sends a few requests a minute. No single source crosses a rate limit, so the requests pass as normal visitors.
The damage builds gradually. No single request looks malicious and no spike trips an alarm. But over hours or days, the server slows down, response times creep up and real visitors get a worse site.
Forms as the Target
One of the more effective low-and-slow techniques goes after forms instead of uptime: fake registrations, fake applications, fake donations. This overlaps with WordPress spam registrations, where bots throttle themselves to stay under detection thresholds. The goal isn't one big crash. It's to fill the database with garbage and wear the site down.
Payment forms get a nastier version. On an invoice payment form we host, card testers ran stolen card numbers through the form, one request every 20 seconds or so, each from a different address. Cloudflare's Under Attack mode, which challenges every visitor, still let some of those submissions through. What actually stopped it was boring and specific: a cap on attempts per address and a minimum payment amount. The client's accounting team noticed the problem before any alert did.
The lesson for donation, registration and payment forms: edge protection won't catch traffic that looks exactly like a person filling out a form. You need limits built into the form itself, and someone who knows what normal looks like for that form.

Cloudflare Free vs. Enterprise: What You Actually Get
Every article on this topic says "use Cloudflare" without explaining the gap between tiers. Here's what matters for WordPress DDoS protection.
The core DDoS mitigation is unmetered on every plan, including free. Cloudflare doesn't charge by attack size, and the same network sits behind the free plan and Enterprise. A free Cloudflare plan gives you more DDoS mitigation than any premium WordPress security plugin at any price.
The difference between tiers is everything else.
| Capability | Free | Pro | Business | Enterprise |
|---|---|---|---|---|
| DDoS mitigation | Unmetered | Unmetered | Unmetered | Unmetered |
| WAF rules | Basic | Managed rulesets | Managed + more custom rules | Fully custom |
| Rate limiting | Basic | Basic | More rules | Granular |
| Bot management | Bot Fight Mode | Super Bot Fight Mode | Super Bot Fight Mode | Enterprise bot management |
| Support | Community | Priority | 24/7 phone + named team | |
| Uptime SLA | None | None | 100% | 100% |
Pro starts around $20 a month and Business around $200, depending on billing. Enterprise is priced by contract.
For a single brochure site that needs protection from floods, the free tier is genuinely effective. For sites that face layer 7 attacks, need bot protection that can tell a real browser from a scripted one, or can't afford to fight a botnet with basic tools, the higher tiers are where those controls live. Every production site we host runs behind Cloudflare Enterprise through our hosting platform, and when a site comes under a sustained flood, we switch on Cloudflare's enterprise bot protection for that site until it passes.
WordPress Hosting With DDoS Protection: What to Ask Your Host
Nearly every host now says it includes DDoS protection. The phrase covers everything from a real edge network to a network filter that only helps against floods aimed at the whole data center. These questions separate them:
- Is there an edge network in front of my site, on by default? If protection only starts after you call during an attack, it starts too late.
- Can traffic reach my server without going through it? Ask what happens to requests sent straight to the server's address or the platform's own hostname.
- What happens during a layer 7 flood? Who turns on stricter bot checks, how fast, and can it switch on automatically?
- What happens to the server after the flood ends? Floods can leave PHP stuck even after the traffic stops. Someone has to notice and restart it.
- Does a flood on another site affect mine? On shared servers, one site's attack can slow every site next to it.
- Is it included, or an upsell when you need it most?
Here's how we answer them. Every production site we host sits behind Cloudflare Enterprise, included in the plan, along with the edge's managed firewall rules, rate limiting and a browser check on the WordPress login page. Every server runs Imunify360 and Fail2Ban, which block abusive addresses on their own. When a site is under a sustained flood, we turn on Cloudflare's enterprise bot protection for that site, and for a site that keeps getting hit, we lock the server so it only accepts traffic from Cloudflare. Independent uptime monitoring checks every site every few minutes and alerts us when one stops answering. Over the last twelve months, the median site we host was up 99.994% of the time. You can see the full list on our managed WordPress security page, and our guide to what WordPress security services should include covers the rest of the stack beyond DDoS.
"We don't allow any sites on our server where traffic isn't going through Cloudflare Enterprise WAF."
What to Do During an Active DDoS Attack
If your site is under attack right now, here's what to expect and what you can do.
If you already have Cloudflare or another edge network: Your site is probably still up, or partly up. Check the security analytics to confirm the attack is being filtered. If layer 7 traffic is getting through, turn on "Under Attack" mode, which puts a browser check in front of every visitor. It can end a simple flood in under a minute: it did for one of our clients in September. Then check that your server isn't reachable directly, and if the attack keeps coming, look at stricter bot settings for the paths being hit.
If you don't have edge protection: Your options are limited, and the clock is against you. Here's what a modest flood looked like on one of our servers in October 2026, before anyone touched anything: 5,476 requests from 1,425 addresses in 20 minutes, peaking at about 1,700 a minute. That's not a big attack. It was still enough to leave the server's PHP pool stuck, and 9 of the 13 other sites on that server timed out while it lasted. The flood stopped on its own. The server didn't recover until a PHP restart, which took the load from 33 to 1.3 in four minutes. From start to all sites back took about 23 minutes. The noisy-neighbor part is why that client later moved to a server of its own.
Without an edge network, the realistic path is to sign up for Cloudflare, point your DNS at it and wait for the change to spread, which can take anywhere from minutes to hours. Contact your host too: some will null-route your server's address to protect other customers, which takes your site offline for them. That gap is exactly why always-on protection has to be in place before an attack.
"Cloudflare is only your first level of defense. Good security monitoring and good development reaction are both critically important."
The Honest Answer About WordPress DDoS Protection
No one can promise a DDoS attack won't affect your site. Anyone who does doesn't understand the threat. What the right setup does is shift the odds hard in your favor: most attack traffic never reaches your server, and what does is cheaper to survive.
The takeaways:
DDoS protection is an infrastructure decision, not a plugin decision. The protection that matters happens at the edge, before PHP runs.
Even free Cloudflare beats any premium security plugin for DDoS. The network is the protection.
Always-on matters. With nearly every attack over in ten minutes, anything you have to switch on is too slow.
Close the side door. Edge protection only works if traffic can't go around it to your server.
Forms need their own limits. The attacks that get through look like people filling out forms. Attempt caps and minimums stop what firewalls can't see.
High-risk organizations need more than the basics. Advocacy groups, newsrooms and political sites face longer, aimed attacks. Look for stronger bot protection, a locked-down origin and a team that has handled a flood before. If you're running a basic plan on a high-profile site, it may be worth checking whether it gives you those.
For how DDoS fits with the other ways sites get attacked, our hub on how WordPress sites get hacked covers every major attack category. For what's worth running at the application layer, see our WordPress security plugins guide. And if your organization's mission makes it a target, read our guide to hosting for advocacy and campaign sites, where downtime costs more than money.
Frequently Asked Questions
How do I protect my WordPress site from a DDoS attack?
Put the site behind an edge network such as Cloudflare, so floods hit that network instead of your server. Then lock the server so it only accepts web traffic from the edge, cache every page you can, and block or rate-limit the WordPress endpoints bots abuse, such as xmlrpc.php if nothing uses it. Plugins come last, if at all. CISA, the FBI and MS-ISAC publish a free guide to responding to DDoS attacks that covers the same layers for any organization.
Does WordPress have built-in DDoS protection?
No. WordPress itself has no DDoS protection and doesn't even limit login attempts. Protection comes from where the site is hosted: the edge network in front of it, the server's firewall, and caching. Ask your host what sits in front of your site, because "DDoS protection" on a hosting page can mean anything from an enterprise edge network to a basic network filter.
Which WordPress hosting is best for DDoS protection?
Look for a host that puts every site behind an enterprise edge network by default, not as an upsell, can lock your server so it only accepts traffic from that network, can turn on stronger bot protection for your site during an attack, and has handled a real flood before. Ask what happened the last time one of its sites was attacked.
Can a WordPress plugin stop a DDoS attack?
No. A security plugin runs at the end of the request chain. By the time it decides a request is malicious, your server has already spent bandwidth, opened the connection, started PHP, loaded WordPress and started every plugin. The plugin can stop the request from finishing, but the resource cost is already paid. Real DDoS protection happens at the network edge through a service like Cloudflare, where attack traffic is absorbed before it reaches your server.
Is Cloudflare's free plan enough for WordPress DDoS protection?
For floods, the free plan is genuinely effective. DDoS mitigation is unmetered on every Cloudflare plan, on the same network. The paid tiers add better bot detection, more firewall and rate-limiting rules, and support during an incident. For a simple brochure site, free is fine. For a store, a membership site or an organization that attracts targeted attacks, layer 7 floods are the bigger risk, and the free tier gives you fewer tools to handle them.
What is remote DDoS protection for WordPress?
It's protection that runs on someone else's network instead of your server. A service like Cloudflare sits in front of your site, so visitors, and attackers, reach the edge network first. Floods are absorbed and filtered there, and only clean traffic is passed on to your server. It's the opposite of a plugin, which runs on your server after the traffic has already arrived. It only works if your server can't be reached directly.
Does WooCommerce need extra DDoS protection?
The same edge protection, with more attention to the pages that can't be cached. Cart, checkout and account pages are built fresh for every visitor, so a flood aimed at them hits PHP and the database on every request. Rate limits and bot checks on those paths matter more on a store than on a brochure site, and so do attempt limits on payment forms, where card testers like to work.
What should I do if my site is under DDoS attack right now?
If you already have Cloudflare or another edge network, check its analytics to confirm the attack is being filtered, and turn on "Under Attack" mode if traffic is still getting through. Make sure your server can't be reached directly. If you don't have edge protection, sign up for one, update your DNS and contact your host, but expect the change to take time to spread. That delay is why protection needs to be in place before an attack.
Why would someone DDoS my small WordPress site?
Usually nobody chose you. Most attack traffic is automated and hits whatever is reachable. When an attack is aimed, the reasons tend to be ordinary: a competitor, a grudge, an angry customer or extortion. Advocacy groups, newsrooms and political sites face more aimed and longer attacks, timed to the moments that matter most to them.
What's a low-and-slow DDoS attack?
It's an attack designed to slip under rate limits. Instead of flooding your site, attackers use thousands of addresses that each send only a few requests a minute. No single source trips a firewall, but over hours or days the site slows down and the database fills with junk. Forms are a common target. These attacks are stopped by limits built into the form or page being abused, such as attempt caps and minimum payment amounts, more than by the edge alone.
If you're weighing your security setup, our WordPress security services page explains what's included on every plan.