Guides

How do WordPress sites get hacked, and how do I stop it happening again?

, 2 min read, by Web Rescue team

A laptop showing a website dashboard on a wooden desk

Most WordPress sites are hacked through a plugin or theme with a known security hole that hasn't been updated, or through a password used somewhere else. Patchstack recorded 11,334 new vulnerabilities in the WordPress world in 2025, 91% of them in plugins. Bots scan for them automatically, so being small doesn't protect you.

The usual ways in

  • Outdated plugins and themes, especially ones no longer maintained
  • Nulled (pirated) premium plugins, which often come with malware built in
  • Reused or weak admin passwords with no two-factor login
  • Old PHP versions and shared hosting where one infected site affects others
  • Former developers or staff whose accounts were never removed
A brass padlock on heavy chains
Most attacks are automated: bots try every site with a known weakness.

How to stop it

  1. Update WordPress, plugins and themes regularly, tested on a copy first.
  2. Delete plugins and themes you don't use.
  3. Use unique passwords and two-factor login for every admin.
  4. Add a web application firewall.
  5. Keep daily off-site backups you've tested restoring.
  6. Remove old users and limit who is an administrator.

If it's already happened, start with hacked website repair. If you'd rather it was looked after, see ongoing support.

Rather we just fixed it?

Tell us what's wrong and when to ring. Two minutes, no account, no call centre. The technical questions come after and you can skip them.

  1. LoggedYour name, number and the problem are saved the moment you send them.
  2. Called the same dayA UK engineer rings you at the time you picked.
  3. Diagnosed and quotedWe find the cause and tell you the price before any work starts.
  4. Fixed and verifiedWe test it with you, explain what we changed and stand behind the fix.
Same-day call

Your job ticket

Job no.New
How should we contact you?

WhatsApp is usually best, and you can send screenshots.

Spam check
  • Microsoft MVP and Microsoft 365 partner
  • AWS Solutions Architect
  • WordPress certified
  • Apple developer
  • Google IT Support certified
  • UniFi partner
  • Shopify