Nobody is personally targeting your plumbing firm’s website. What really happens is far more ordinary: a vulnerability is published, automated scanners sweep the internet for sites still running the affected version, and yours responds. That is why the unglamorous WordPress security measures below stop almost everything.
How WordPress websites really get hacked
| Way in | Roughly how common | Prevented by |
|---|---|---|
| Out-of-date plugin or theme | By far the most common | Prompt updates |
| Weak or reused passwords | Common | Strong passwords and two-factor authentication |
| Nulled or pirated themes | Common | Never using them |
| Out-of-date WordPress core | Less common | Automatic minor updates |
| Compromised hosting | Uncommon | A reputable host |
The pattern is always the same: known problems, already fixed by the developer, left unpatched. Security here depends far more on maintenance discipline than on clever defences.
The WordPress security essentials
Keep everything up to date
- Turn on automatic updates for minor WordPress releases
- Update plugins weekly – testing on a staging site first if the website is business-critical
- Delete plugins and themes you do not use; deactivated is not the same as removed
- Replace any plugin its developer has abandoned for more than a year
Secure your log-ins
- No account called “admin”
- Long, unique passwords stored in a password manager
- Two-factor authentication on every administrator account
- Limit log-in attempts to stop brute-force scripts
- Give each person the lowest role that lets them do their job
Harden the installation
- Disable file editing from the dashboard
- Block PHP from running in the uploads folder
- Enforce HTTPS across the whole site
- Keep XML-RPC switched off unless something you use genuinely needs it
- Use a security plugin with a firewall and malware scanning
Back-ups done properly
- Automatic daily back-ups of both files and database
- Stored off-site, not on the same server as the website
- At least 30 days of history, so you can go back beyond a slow-burning infection
- Restore one to a staging site now and then – an untested back-up is a hope, not a plan
Signs your site may already be compromised
- Unexpected redirects, especially only on mobiles or only from search results
- Administrator accounts you did not create
- Sudden slowdowns or unexplained server load
- Security warnings in Google Search Console
- Spammy pages appearing when you search site: followed by your domain
- Files changed at times when nobody was working on the site
If your site is hacked
- Take the website offline or put it into maintenance mode to protect visitors
- Change every password – WordPress, hosting, FTP and database
- Restore from a back-up taken before the attack
- Update everything before bringing the site back online
- Scan thoroughly to make sure nothing was left behind
- Request a review in Search Console if Google flagged the site
Cleaning up a hacked website costs far more than the maintenance that would have prevented it – before you even count the enquiries lost while it was offline.
Further reading: Website Maintenance: What to Do Weekly, Monthly and Yearly, How to Speed Up a WordPress Site (Without Breaking It), and our support & maintenance service. For official guidance, see WordPress.org’s security hardening guide.
WordPress security FAQs
Is WordPress secure?
WordPress core is well maintained and audited. Most compromises come from outdated third-party plugins and weak passwords rather than from WordPress itself.
Do I need a security plugin?
It helps, particularly for firewall rules, login limiting and malware scanning. It is not a substitute for keeping things updated — a security plugin on an outdated site is a lock on an open door.
How often should I update plugins?
Weekly for most sites, and immediately for any update flagged as a security release. Test on staging first if the site is critical to your business.
Work with JavedX Technologies
Want your WordPress website properly secured?
We harden WordPress websites, monitor them daily and restore them quickly if anything goes wrong.