WordPress Security Checklist
Follow these 15 steps to keep your WordPress site safe. Tick them off one by one.
Basics
- Update WordPress, your theme and all plugins.
- Delete plugins and themes you do not use.
- Use only trusted plugins and themes. Never use “nulled” (pirated) ones.
- Use a recent PHP version supported by your host.
Logins
- Use a long, unique password for every admin account.
- Turn on two-factor login for admins.
- Do not use “admin” as a username.
- Limit login attempts with a security plugin.
Protection
- Use HTTPS (SSL) on the whole site.
- Install a security plugin with a firewall and malware scan.
- Turn off the file editor. Add
define('DISALLOW_FILE_EDIT', true);to wp-config.php. - Set safe file permissions: folders 755, files 644.
Safety net
- Take automatic backups and store them off your server.
- Test a restore at least once.
- Watch Google Search Console for security warnings.
Hacked already? Hire a developer to clean and secure your site.