How to secure WordPress in 7 steps
Most WordPress hacks happen through outdated plugins and weak passwords. These 7 steps remove most of the risk.
6 min 7 steps Security
-
1
Update everything
Dashboard → Updates: update WordPress, plugins and themes. Turn on automatic updates for plugins you trust.
-
2
Delete unused plugins and themes
A deactivated plugin is still on the server and may contain a vulnerability. Keep only what you really use, plus one backup theme.
-
3
Strong passwords and unique usernames
Every user should have a long, unique password (use a password manager such as Bitwarden). Do not use the username admin.
-
4
Two-factor authentication
Install the Two-Factor or Wordfence Login Security plugin and turn on verification with a code from an app (Google Authenticator), at least for administrators.
-
5
Limit login attempts
The Limit Login Attempts Reloaded plugin or Wordfence blocks bots that try to guess passwords.
-
6
Regular off-server backups
Set up automatic backups (e.g. UpdraftPlus to Google Drive), at least once a week, or daily for an online shop.
-
7
Monitor your website
Add your website to Site Watcher in the client area. It checks daily for malware, outdated plugins and SSL, and checks availability every 5 minutes. If your site has already been hacked, website malware removal will help.
Related guides
All guides- Security · 5 min How to back up WordPress Automatic website backups to the cloud with the UpdraftPlus plugin, and how to restore your site from a backup when something goes wrong.
- Email and domain · 5 min How to add SPF and DMARC records Two DNS records that keep your emails out of spam and make it harder for scammers to pose as your company.