Blog

WordPress Security: A Practical Guide to Keeping Your Site Safe

Website security6 min read

WordPress security comes down to a handful of habits: keep everything updated, lock down logins, give people only the access they need, keep backups off the site, and host somewhere that watches for attacks. None of it is complicated, but it has to happen every week, not once.

We look after more than 300 websites, and almost every hacked site we’re asked to clean up has the same story: an old plugin, a weak password or no backup. Here’s how to avoid being that story.

Why WordPress security matters more than ever

WordPress powers a huge share of the web, which makes it a target for automated attacks. Bots don’t care how small your business is. They scan for known weaknesses and try them on every site they find.

The numbers are sobering. Patchstack’s State of WordPress Security in 2026 report found 11,334 new vulnerabilities in the WordPress ecosystem in 2025. 91% of them were in plugins, and about half of the high-impact ones were exploited within 24 hours of becoming known. WordPress itself is rarely the weak point. The add-ons usually are.

1. Keep WordPress, themes and plugins updated

That 24-hour figure is why updates can’t wait for a quiet month. When a security fix is released, the clock starts.

  • Update WordPress core, your theme and every plugin as soon as practical. Security releases should go on the same day.
  • Test bigger updates on a staging copy first, so an update doesn’t break your checkout or contact form.
  • Delete plugins and themes you don’t use. Deactivated code can still be attacked.
  • Avoid plugins that haven’t been updated in a long time, and never use “free” copies of paid plugins from unofficial sites. They often come with malware built in.

2. Strong passwords and two-factor login

Forget making up clever passwords. Use a password manager, such as the one built into your browser, Bitwarden or 1Password, to create and store a long, unique password for every account. That includes your hosting control panel and email, not only WordPress.

Then turn on two-factor authentication (2FA) for every administrator. With 2FA, a stolen password on its own isn’t enough to get in. An authenticator app is better than codes by email or SMS. Passkeys, which use your phone or computer to confirm it’s you instead of a password, are even better where your login setup and plugins support them.

Limit failed login attempts too. Most good security plugins and managed hosts do this for you, so bots can’t keep guessing.

3. Give people only the access they need

WordPress has built-in user roles for a reason. Not everyone needs to be an Administrator.

  • Administrator: full control. Keep this to one or two trusted people.
  • Editor: can manage all content but not plugins, themes or settings. Right for most staff who update the site.
  • Author and Contributor: can write their own posts, with Contributors needing approval to publish.

Don’t use “admin” as a username, and remove accounts for staff, freelancers and agencies who no longer work on the site. Old logins are one of the easiest ways in.

4. Backups you can actually restore

A backup is your way back from almost anything: a hack, a bad update or a page someone deleted by accident. Make sure backups run daily, cover both files and database, are stored away from the website itself, and are kept for a few weeks. Then test a restore now and again. A backup you’ve never restored is a hope, not a plan.

5. A firewall and malware scanning

A web application firewall (WAF) blocks known attack patterns before they reach your site. Malware scanning checks your files for anything that shouldn’t be there. You can get both from a security plugin such as Wordfence, from a cloud firewall service, or from your host. Ideally you have protection at more than one level.

WordPress.org’s own guide to hardening WordPress covers the more technical steps, like correct file permissions and turning off the built-in file editor. It’s worth a read, or worth asking your developer about.

6. Hosting and SSL

Your host is the foundation. Good hosting keeps server software and PHP current, isolates your site from others on the same server, and watches for suspicious activity. Cheap shared hosting can let a problem on one site spread to its neighbours. It’s also one reason we care about fast, well-managed hosting: the same setup that keeps a site quick usually keeps it safer.

Every site needs an SSL certificate, so pages load over https with the padlock in the browser. It encrypts what visitors type into your forms. Most hosts include one for free, so there’s no excuse not to have it.

What to do if your WordPress site is hacked

Signs include strange redirects, spam pages in Google, a warning in the browser, or your host suspending the account. If it happens:

  1. Don’t panic, and don’t just delete the file a scanner flagged. Hacks usually leave more than one back door.
  2. Tell your host and change every password: WordPress users, hosting, database, FTP and email.
  3. Restore a clean backup from before the hack, or have the site properly cleaned.
  4. Find and fix how they got in, usually an outdated plugin or a stolen login, or it will happen again.
  5. Check the Security issues report in Google Search Console and ask for a review once the site is clean.

If you’d rather not do this yourself, our malware removal and site recovery service cleans the whole site, closes the gap and gets you back in Google’s good books.

Security is ongoing, not a one-off

Most of this only works if it happens every week. That’s why security is a core part of our monthly website maintenance, alongside updates, backups and monitoring. If you’re weighing up whether ongoing care is worth it, we’ve written about whether website maintenance is important.

If you’d like to manage your own site safely, our WordPress courses cover user roles, updates and good habits, and we stay available to help afterwards.

Frequently asked questions

Is WordPress secure?

WordPress core is well maintained and fixed quickly when problems are found. Most hacks come through outdated plugins and themes, weak or reused passwords, and poor hosting, which is why updates, two-factor login and good hosting matter so much.

Do I need a security plugin?

Most sites benefit from one, for firewall rules, malware scanning and login protection. If your host already provides a firewall and daily malware scans, a plugin adds a second layer rather than replacing what the host does.

How often should I update WordPress plugins?

Check for updates at least weekly and apply security fixes as soon as they are released, ideally the same day. Test larger updates on a staging copy first so nothing breaks on the live site.

What should I do first if my site is hacked?

Tell your host, change every password and avoid deleting random files. Then restore a clean backup or have the site professionally cleaned, and fix the way the attacker got in so it does not happen again.

Worried about your site, or want a second opinion on how secure it is? Talk to us. We’ll check it over, tell you honestly what needs attention and give you a fixed quote before any work starts.

Keep reading

  1. Nov 2026 Website Not Showing on Google? What to Check First 6 min
  2. Oct 2026 We just set a client up with ChatGPT ads 3 min
  3. Oct 2026 What drives website cost, and how to compare quotes 6 min

Tell us what you need.

You will hear back from Kate or Jeanne within one working day, with a fixed price where we can give one.

Get a quote