Most WordPress sites aren’t hacked because someone picked them out. They’re hacked because a plugin they installed years ago has a known hole, and automated scanners find every site running it within hours of the news going public.
This guide is the checklist we use when we look after a WordPress site: what to remove, what to update automatically, how to lock down logins and backups, and a 15-minute weekly routine you can run yourself. It’s written for owners, not developers.
Short version: cut your plugin list to what you actually use, turn on auto-updates for the simple ones, put two-factor login on every admin account, add a virtual patching layer for the gap before fixes arrive, and keep a backup you’ve actually restored.
Why WordPress sites get hacked in 2026
The numbers from Patchstack’s State of WordPress Security in 2026 report are blunt. Researchers logged 11,334 new vulnerabilities in the WordPress ecosystem in 2025, a 42% increase on 2024, and 1,966 of them were rated high severity, the kind used in automated mass attacks.
The good news is that WordPress itself is not the main problem. Patchstack found 91% of the new vulnerabilities in plugins and 9% in themes, with only six reported in WordPress core, all low priority.
The bad news is speed. Patchstack says roughly half of high-impact vulnerabilities were exploited within 24 hours, and the weighted median time to first exploit for the most heavily targeted ones was five hours. On top of that, 46% of vulnerabilities had no fix from the developer when they were made public.
Timing matters right now, too. In the same report, Patchstack’s partner Monarx says malicious file uploads nearly tripled in November and December 2025, as attackers took advantage of busy shopping traffic and thinner support teams. If you sell or book online, the holiday season is the worst time to discover a problem.
Source: Patchstack, State of WordPress Security in 2026 (updated 25 February 2026)
You can see the pattern in our own news coverage: in one week we wrote up an Amelia booking plugin flaw under active attack and Everest Forms flaws that needed updating. Booking and form plugins are on almost every service business website, which is exactly why they’re targeted.
1. List every plugin and theme you run
You can’t secure what you haven’t counted. Open Plugins → Installed Plugins and Appearance → Themes, and write down every item, including the deactivated ones. A deactivated plugin still sits on your server as code.
For each one, note three things: what it does for the business, when it was last updated, and who installed it. Then sort each item into one of the buckets below.
| Bucket | What it means | Action |
|---|---|---|
| Keep | Actively used and updated in the last few months | Update and monitor |
| Replace | Used, but abandoned, removed from WordPress.org or from an unofficial source | Find a maintained alternative |
| Delete | Deactivated, duplicated or nobody knows why it’s there | Back up, then delete |
In our experience, the list is usually longer than the owner expected: old page builders, a second SEO plugin, a slider from a previous design. Each one is code written by someone else that has to be kept current.
2. Delete what you don’t use
WordPress’s own Hardening WordPress handbook is clear: keep plugins updated, and if you’re not using a plugin, delete it. The same applies to themes. Keep your active theme and, if you like, one current default theme as a fallback.
Deleting beats deactivating. A vulnerable file can still be reachable on the server even when the plugin is switched off in the dashboard. Take a backup first, delete, then click through your key pages and forms to make sure nothing depended on it.
3. Replace abandoned and pirated plugins
A plugin that hasn’t been updated in a year or more isn’t automatically dangerous, but it won’t get a fix when someone finds a hole. If WordPress.org shows a plugin as closed or no longer available, treat that as a reason to replace it now.
Paying for a plugin doesn’t make it safe either. Patchstack found that premium components had three times more known exploited vulnerabilities than free ones, partly because fewer researchers can see their code. Keep premium licences active so you receive updates, and buy only from the developer or a reputable marketplace.
Never install a free copy of a paid plugin from an unofficial download site. Those copies are a common way to slip malware onto a site, and they can’t update, so any hole stays open forever.
4. Turn on auto-updates for low-risk plugins
WordPress has offered automatic plugin and theme updates since version 5.5. According to the WordPress.org auto-updates documentation, you switch them on plugin by plugin from the Plugins screen, and WordPress checks for updates twice a day.
Two caveats from the same documentation: auto-updates rely on WP-Cron, so check Tools → Site Health for errors, and make sure you can roll back with a backup before you switch them on.
- Auto-update the simple stuff: security, caching, SEO, forms and small utility plugins rarely break a site when they update.
- Update the big ones by hand, fast: WooCommerce, page builders and booking or membership plugins can change how pages look or work, so update them within a day, ideally on a staging copy first.
- Don’t wait for the monthly check-in: with exploits arriving within hours, a once-a-month update habit leaves weeks of exposure.
5. Add virtual patching for the gap
Updates only help once a fix exists, and for 46% of the vulnerabilities in Patchstack’s data there wasn’t one at disclosure. That’s the gap a virtual patching layer covers: rules that block attacks on a specific known vulnerability until you can update.
Don’t assume your host already does this. In Patchstack’s tests against popular hosting companies, standard network and server defences blocked only 26% of the vulnerability attacks they tried. A generic firewall isn’t the same as protection for the exact plugin versions you run.
More hosts are building it in. On 10 November 2026, Kinsta announced vulnerability protection powered by Patchstack at no extra cost to its customers. Ask your host what’s included, and if the answer is vague, add a reputable security plugin or service that offers virtual patching.
6. Lock down logins and user accounts
Many attacks don’t need a plugin flaw at all. They just need a reused password. WordPress’s handbook on brute-force attacks explains how bots hammer the login page with guesses, and why strong, unique passwords matter.
- Two-factor login for every admin: WordPress doesn’t include it out of the box, so add it with a well-maintained plugin. Both CISA in the US and the UK’s National Cyber Security Centre recommend multi-factor or 2-step verification.
- Fewer administrators: most people only need the Editor or Author role. WordPress’s Roles and Capabilities guide explains what each one can do.
- Remove old accounts: former staff, freelancers and agencies who finished a project should lose access the day they leave.
- Protect the email behind the admin: whoever controls the admin email can reset the password, so put 2-step verification on that inbox as well.
- Use a password manager: so every account gets a long, unique password nobody has to remember.
7. Switch off the built-in file editor
By default, WordPress lets administrators edit plugin and theme code from the dashboard. The WordPress hardening handbook calls this often the first tool an attacker will use once logged in, because it allows code to run on your server.
Your developer or host can switch it off with one line in wp-config.php: define( 'DISALLOW_FILE_EDIT', true );. It won’t stop every attack, but it removes an easy one, and nobody should be editing live code that way anyway.
8. Keep backups you’ve actually restored
WordPress’s own backup guide covers both parts you need: the database (posts, pages, orders, settings) and the files (themes, plugins, uploads). A backup that only has one half won’t bring a site back.
- Automate it: daily for sites that take orders or bookings, weekly for brochure sites.
- Store a copy off the server: if the server is compromised or the hosting account is lost, a backup stored on the same server goes with it.
- Keep several restore points: malware can sit quietly for weeks, so you may need a copy from well before you noticed.
- Test a restore: at least once a quarter, restore to a staging copy and check that it loads. An untested backup is a hope, not a plan.
9. Know the signs of a hacked site
Hacked sites rarely announce themselves. More often, the owner hears from a customer, or from Google. Add your site to Search Console and check its Security issues report, which lists problems such as hacked content and malware that Google has detected.
- Unknown admin users appearing under Users.
- Odd redirects, especially ones that only happen on mobile or when arriving from Google.
- Spam pages in search results when you search for your own domain, often in another language or selling unrelated products.
- Warnings in the browser or emails from your host about suspicious files or resource use.
If you find any of these, don’t just delete the obvious bad file. Patchstack and Monarx describe malware families such as Lock360 that run in server memory and rewrite cleaned files like index.php and .htaccess straight away. Bring in your host or a specialist, change every password, and work out how the attacker got in before you call it fixed.
A 15-minute weekly routine
You don’t need to become a security expert. Block out 15 minutes at the same time each week and run through this list.
- Apply pending updates for anything not set to auto-update, starting with WooCommerce, forms and booking plugins.
- Check Site Health for errors, especially anything that stops scheduled tasks and auto-updates from running.
- Review users and remove anyone who no longer needs access.
- Confirm last night’s backup finished and is stored off the server.
- Skim your security news for plugins you run. Our Daily Brief covers WordPress fixes that need action.
Where AI crawlers and robots.txt fit in
While you’re auditing, look at which bots can reach your site. Your robots.txt file and an llms.txt file shape how search engines and AI assistants read your content, which matters more each month as customers ask ChatGPT and Google’s AI for recommendations.
Just don’t mistake either file for security. robots.txt is a public request that well-behaved crawlers follow, not a lock, and it can even point attackers to the folders you’d rather hide. If you want to set yours up properly, our free llms.txt and AI robots.txt generator builds both, and our guide to blocking AI bots explains the choices.
What we’d skip
Some popular advice costs time without adding much protection. Running two or three security plugins at once tends to create conflicts and slow pages, not double the protection. Pick one good one.
Hiding or renaming the login page can cut bot noise, but it’s not a substitute for two-factor login. And changing the database table prefix on a live site is fiddly, risky, and does little against the plugin flaws that cause most hacks today.
Related guides: see our WordPress maintenance checklist and our free website audit.
FAQ
Is WordPress safe for a business website?
Yes, when it’s maintained. Patchstack found only six vulnerabilities in WordPress core in 2025, all low priority. Almost all the risk comes from plugins and themes, so the number you install and how quickly you update them matter most.
Should I turn on automatic updates for every plugin?
For simple plugins, yes. For WooCommerce, page builders and booking or membership plugins, we prefer to update by hand within a day, ideally after testing on a staging copy, because these updates can change how pages work.
Do I still need a security plugin if my host has a firewall?
Usually, unless your host confirms it offers virtual patching for WordPress plugins. In Patchstack’s tests, standard hosting defences blocked only 26% of the vulnerability attacks tried, so ask exactly what is covered.
How often should I back up my WordPress site?
Daily if you take orders, bookings or enquiries through the site, and at least weekly for a site that rarely changes. Keep copies off the server and test a restore every few months.
What should I do first if my site has been hacked?
Contact your host, put the site into maintenance mode if customers are at risk, and change every password, including hosting, email and WordPress admins. Then clean it properly and find how the attacker got in, or the infection is likely to return.
Not sure what’s running on your site?
Run our free site audit for a quick health check, or get in touch and we’ll review your WordPress plugins, logins and backups with you.
