To secure a WordPress site, put long passwords and 2FA on admin accounts, keep everything updated, run SSL across the whole site, take daily backups that live off the server and cap login attempts. Your host handles the rest, and below are the steps in the order we take them.
Why do hackers target small WordPress sites?
Because the attacks are automated. Bots scan the internet around the clock and try the same known holes on thousands of sites, without caring whose site it is. They look for weak passwords, outdated plugins or themes, and login pages left wide open. WordPress runs a large share of the web, so scanning for it in bulk pays off for them.
A hacked site causes real damage: spam pages and redirects to shady sites, phishing emails sent from your server, stolen customer data and, very often, a drop in Google that cuts your traffic. Cleaning up costs more time and money than prevention, so treat security as routine maintenance rather than something you react to after an incident.
How do you protect the WordPress admin account?
With a long, unique password and two-factor authentication (2FA). A reused or guessable password is the most common way in, and the admin account is the first thing an attacker tries.
- Use passwords of at least 16 characters from a password manager, and a different one for WordPress, your hosting panel, email and FTP.
- Get rid of the "admin" username: create a new administrator with a different name, then delete the old one and attribute its content to the new account.
- Turn on 2FA with an authenticator app. Even if someone gets your password, they can't log in without the code on your phone.
- Keep administrators to a minimum. Someone who writes posts needs the Editor or Author role, not Administrator.
Why do WordPress updates matter so much?
Because many hacked sites were running an old plugin version with a vulnerability that had already been published and fixed. Attackers rarely find anything new; they go after known holes that already have a patch.
- Update core, themes and plugins when new versions come out, and apply security releases the same day.
- Delete plugins and themes you don't use. Deactivated code is still on the server and can still be exploited.
- Install only from the official WordPress directory or from developers you know. "Nulled" plugins, pirated copies of paid ones, very often come with a backdoor.
- Before a major update on a shop, take a backup or try it on a staging copy first, so you can roll back if something breaks.
Do you need SSL on the whole site or just at checkout?
The whole site. SSL encrypts traffic between the visitor and the server, so login passwords and form data can't be read in transit. Browsers flag any page without HTTPS as "Not secure", and Google uses HTTPS as a ranking signal.
Check that every page opens on https:// and that http:// addresses redirect automatically. With decent hosting the certificate is issued and renewed for you; our SSL certificates page explains how. When you upload files, use SFTP instead of plain FTP, which sends your password unencrypted.
How often should you back up a WordPress site?
Daily, automatically, with copies stored off the server. No security measure protects you completely, and the backup is what keeps a hack from wiping out years of work.
- Back up files and the database every day, automatically. The manual "when I remember" backup is never there when you need it.
- Keep copies somewhere else. A backup stored only on the same server disappears with it, so a separate storage box is a good home for them.
- Keep several versions covering the last 7-30 days, because an infection is sometimes noticed only days later.
- Test a restore at least once. A backup you can't restore from isn't a backup.
How do you stop brute-force attacks on wp-login.php?
Limit login attempts and temporarily block IPs that keep getting the password wrong. Bots hit wp-login.php all day trying thousands of combinations, and a few settings cut the risk a lot:
- an attempt limit with temporary IP blocking;
- 2FA, which stops the bot even if it guesses the password;
- a changed login URL, or an extra server-level password on /wp-admin;
- XML-RPC turned off if you don't use Jetpack or the WordPress mobile app, since bots try passwords through it too;
- file editing disabled with
define('DISALLOW_FILE_EDIT', true);in wp-config.php, so an intruder can't inject code from the dashboard.
Filtering needs care so you don't lock out real customers. We'd rather have the firewall on the server than rely only on a security plugin that runs on every request and slows the site down.
How much of WordPress security is down to your host?
A lot. You can do everything right inside WordPress and still be exposed if the server is badly configured or overloaded. Good hosting takes care of things you never see:
- a server-level firewall that stops some attacks before they reach WordPress;
- isolated accounts, so a compromised site next door can't reach your files;
- current PHP versions, because releases past end of life no longer get security fixes;
- automatic backups, monitoring and support that responds quickly to an incident;
- enough capacity (NVMe, LiteSpeed) that a wave of bot traffic doesn't knock the site over.
On properly set up WordPress hosting, most of these are defaults rather than jobs on your list. BTU's WordPress plans include daily backups, malware scanning, staging and free SSL. So picking a host is a security decision as well as a price decision.
WordPress security checklist in 7 steps
- Long, unique passwords plus 2FA on admin accounts
- No "admin" user, and the lowest role that works for each account
- Core, themes and plugins updated; anything unused deleted
- SSL across the whole site, with an automatic HTTPS redirect
- Automatic daily backups, stored off the server and tested
- Login attempts limited, XML-RPC off if unused, file editing disabled
- Hosting with a firewall, isolated accounts and current PHP
Frequently asked questions
Do I need a security plugin for WordPress?
Not necessarily. A plugin helps with 2FA, login limits and scans, but it doesn't replace updates, backups and a server firewall. If your host already scans for malware and filters traffic, a small 2FA plugin may be all you need.
What should I do if my WordPress site has been hacked?
Change every password straight away (WordPress, hosting, FTP, database) and restore a clean backup from before the infection. Then update everything and find the plugin or account the attacker came in through, or it will happen again. If you don't have a good backup, talk to your host's support before you delete anything.
Is hiding the login page enough?
No. It gets rid of bots that blindly hit wp-login.php, but it won't stop someone targeting your site specifically. Use it together with 2FA and login limits, not instead of them.
Where should you start?
If you only have time for one thing today, turn on 2FA for the admin account and check that you have a daily backup you can actually restore. The rest of the list is easier on WordPress hosting that handles backups, SSL and malware scanning without being asked, and moving your site from your old host is free.


