wp2shell: more than a month later. Confirm 6.8.6, 6.9.5, 7.0.2. Patched is not clean.

Read the advisory

8 Essential Tips to Boost WordPress Security and Protect Your Site from Hackers

Eight practical WordPress security tips: better hosting, updates, fewer plugins, strong logins, file permissions, trusted software, and a real security plugin.

Topics Hardening & checklists

Lars Koudal

Lars Koudal

Updated Published

You do not need twenty tools. These eight habits cover most of what keeps a normal WordPress site out of trouble.

1. Choose a host that can help you recover

Database, data, technology

Look for working backups, current PHP, and support that answers when the site is down. The cheapest plan is fine until restores and logs matter.

2. Keep WordPress core updated

Security releases exist because someone found a hole. Delaying “until later” is how known issues become infections. Auto-update core when the site can tolerate it.

3. Update plugins and themes too

Most WordPress risk sits in plugins and themes. Update on a cadence. Use staging for fragile client sites.

4. Delete what you do not use

Unused plugins and themes still sit on disk. Remove them. Fewer files, fewer surprises.

5. Use strong, unique passwords (and 2FA)

Password, app, application

Password managers beat clever phrases you reuse. Add 2FA for admins. Limit failed logins with login protection.

6. Use sensible file permissions

Do not make everything world-writable. Typical starting point: directories 755, files 644, and tighter on wp-config.php when your host allows it (often 600 or 640). Exact values depend on the server setup.

7. Trust the developers you install from

Avoid random “null” downloads and unknown marketplaces. Prefer WordPress.org or vendors with a clear update history. See plugin security risks.

8. Run a security plugin that covers the basics

You want security tests, vulnerability checks, login hardening, and ideally firewall + malware scanning. Security Ninja is built for that stack. Start free, upgrade when you need Pro protection.

Quick checklist

  • Host with real backups
  • Core / plugins / themes current
  • Unused software deleted
  • Strong logins + 2FA
  • Sensible permissions
  • Trusted plugins only
  • Scanning and alerts turned on

Related: common security mistakes and the fuller hardening guide.

Found this useful? Share it.

Larger screenshot