Updates
- Keep WordPress, plugins and themes up to date. Out-of-date plugins are the number one way small sites get hacked. Turn on automatic or scheduled updates.
- Delete what you don't use. A deactivated plugin can still be exploited if its files are there. Remove old themes too, keeping one default theme as a fallback.
- Only install plugins from sources you trust, and never "nulled" (pirated) premium plugins. They very often come with malware included.
Logins
- Use a unique, long password for every admin account, stored in a password manager.
- Turn on two-factor authentication for administrators with a reputable plugin.
- Give people the lowest role they need. Someone who writes blog posts needs Author, not Administrator.
- Remove accounts for people who've left.
Your hosting
- Use HTTPS everywhere. A free SSL certificate protects logins and forms. On Ratlan it's automatic.
- Use a supported PHP version. Old PHP versions stop getting security fixes. Your control panel should let you switch per site.
- Keep sites apart. If you run several sites, they should be isolated from each other so one compromised site can't infect the rest.
Be ready for the worst
- Have off-site backups you've tested. See our guide on backing up WordPress.
- Watch for known vulnerabilities. A scanner that checks your plugins against published vulnerabilities tells you when to act. Ratlan runs one daily on every site.
If your site has been hacked
- Don't panic, and don't just delete the odd file you've spotted. Malware usually hides in more than one place.
- Change every password: WordPress admins, hosting, SFTP and database.
- Restore from a backup taken before the hack, then update everything immediately so the same hole can't be used again.
- If you don't know when it happened, ask your host for help. It's worth it.
Ratlan plans include safe scheduled updates with rollback, a daily vulnerability scan, isolated sites and nightly off-site backups. WordPress hosting from £1.49 a month.
Get your site online today
Pick a plan, pay by card and your hosting is ready straight away. If you're moving from another host, we'll bring your site over for free.