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

Read the advisory

How to Secure a WordPress Site: Essential 2026 Security Tips

Practical WordPress security tips for 2026: updates, hosting, logins, plugins, scanning, backups, and a checklist you can actually keep up with.

Topics Hardening & checklists

Lars Koudal

Lars Koudal

Updated Published

WordPress runs a huge share of the web, which means it gets scanned constantly. You do not need a huge security budget. You need a short list of habits that close the usual doors.

What still works in 2026

The attack patterns have not gotten more mysterious:

  • Vulnerable plugins and themes
  • Brute-force and stolen passwords
  • Phishing that leads to admin takeover
  • Unmaintained sites left on old software

WordPress core is usually fine when updated. The risk is mostly the stack around it: plugins, users, hosting, and backups.

How to make your WordPress site safer

1. Update on purpose

Check the dashboard updates regularly. Auto-update WordPress core and trusted plugins when the site can tolerate it. For fragile client sites, use staging first. An unpatched plugin with a public CVE is still the most common boring disaster.

2. Choose hosting that helps you recover

Cheap hosting is fine until you need logs, malware help, or a clean restore. Prefer a host with:

  • Easy backups and restores
  • Current PHP support
  • Working support when the site is down
  • Basic server hardening

A dedicated server is nice. It is not required for good security.

3. Scan for vulnerabilities and malware

You do not have to hire a pentest firm for a normal brochure or WooCommerce site. Run:

  • Vulnerability checks on installed plugins/themes/core
  • Malware / suspicious file scanning
  • Core file integrity checks

Security Ninja covers those jobs in one plugin. Use outside pentesting when you have a custom app, compliance needs, or a high-value target.

4. Train the humans with access

Most “site got hacked” stories involve a reused password or a phishing click.

  • Unique passwords in a password manager
  • 2FA for admins
  • No shared admin accounts
  • Remove access the day someone leaves
  • Teach people not to log in from random emailed links

5. Be picky about themes and plugins

Install less. Prefer maintained software from known sources. Delete what you are not using. Avoid nulled “premium” packages entirely.

6. Harden logins

  • Strong unique passwords
  • 2FA
  • Limit failed logins
  • Optional login URL rename
  • Fewer administrator accounts

See login protection and 2FA.

7. Keep backups you have restored once

Automatic, off-site, retained long enough to go back before an infection started. Test a restore. Related: backup plan if you get attacked.

A checklist you can keep

Weekly or monthly, depending on how active the site is:

  • Core, plugins, and themes updated
  • Unused plugins/themes deleted
  • Admin list still correct
  • Vulnerability / malware scan clean
  • Backups succeeded
  • 2FA still on for admins

If you want one plugin to handle tests, vulnerability checks, firewall, malware scanning, and login hardening, start with Security Ninja. If the site is already compromised, hire cleanup or a review.

Found this useful? Share it.

Larger screenshot