Black FridayWebsites from R499 R1,450, domain and first year of hosting included. Ends 30 November 2026.See the specials →
South African web hosting, domains, web design and SEO since 2009BlogHelp CentreClient area

How to Keep Your WordPress Site Secure

Last updated 12 November 2026

Most hacked WordPress sites are broken into through an outdated plugin or theme, or a weak or reused password. So the fixes that matter most are simple: keep everything updated, lock down your logins, remove what you do not use and keep backups you can restore.

Our servers already help. Every account runs on CloudLinux with CageFS, which keeps each account separate from the others, and Imunify360 scans for malware and blocks many attacks before they reach WordPress. The steps below cover the part only you can do: WordPress itself.

The 10-minute security checklist

Step Where How often
Update WordPress, plugins and themes Dashboard > Updates Weekly
Delete unused plugins and themes Plugins and Appearance > Themes Monthly
Check admin users Users > All Users Monthly
Run a security check cPanel WP Toolkit After any change
Scan for malware cPanel Imunify360 If anything looks wrong
Back up WP Toolkit or a plugin Before every update

1. Keep everything updated

  1. Go to Dashboard > Updates in WordPress.
  2. Update WordPress first, then plugins, then themes.
  3. Turn on automatic updates for plugins you trust: Plugins > Installed Plugins, then click Enable auto-updates next to each one.

WordPress installs minor security releases automatically by default. Full steps are in how to update WordPress, plugins and themes.

2. Lock down your logins

  1. No “admin” username. If you have one, create a new administrator under Users > Add New User, log in as that user, then delete the old “admin” user and choose Attribute all content to your new user so you keep your posts.
  2. Long, unique passwords. Use a password manager. See how to set a strong password.
  3. Two-factor authentication. Install the free Two-Factor plugin, then go to Users > Profile, scroll to Two-Factor Options, enable an authenticator app and save. Or use the two-factor feature in a security plugin.
  4. Give people the lowest role they need. A content writer needs Editor or Author, not Administrator.
  5. Protect cPanel and your client area too. Someone with your cPanel login can replace your whole site. See how to enable two-factor authentication in cPanel and how to enable two-factor authentication for the client area.

3. Remove what you do not use

  • Go to Plugins > Installed Plugins, click Deactivate and then Delete on anything you no longer use.
  • Under Appearance > Themes, delete themes you are not using. Keep one default WordPress theme (such as Twenty Twenty-Five) as a fallback.
  • Never install “nulled” (pirated) premium plugins or themes. They often contain hidden malware.

4. Run WP Toolkit’s security check

  1. Take a backup first (see section 6 below).
  2. In cPanel, open WP Toolkit (newer cPanel versions may call it WordPress Management).
  3. On your site’s card, click Check security (under the site’s status).
  4. Review the list. Tick the recommended items, such as disabling the file editor in the dashboard, blocking access to sensitive files and changing the default database table prefix.
  5. Click Secure.
  6. Check your site still works. If something breaks, go back to the same screen and revert that item, or restore the backup you took.

To disable the dashboard file editor by hand, add this line to wp-config.php above the line that says “That’s all, stop editing!”:

define( 'DISALLOW_FILE_EDIT', true );

5. Use HTTPS everywhere

AutoSSL issues and renews a free SSL certificate for your domain. In Settings > General, make sure both the WordPress Address (URL) and Site Address (URL) start with https://. See how to force HTTPS on your website.

6. Keep backups you can restore

A backup is your way back if everything else fails. Keep at least one copy off the server and test a restore now and then. See how to back up your WordPress site.

What our servers do

Protection What it does
Imunify360 Malware scanning, a web application firewall and proactive defence that blocks many known attacks. You can scan your files from the Imunify360 icon in cPanel.
CloudLinux with CageFS Keeps each hosting account isolated, so a problem on another account cannot spread to yours.
AutoSSL Free SSL certificates, renewed automatically.
Current PHP versions Choose a supported PHP version under Select PHP Version in cPanel. Old versions no longer get security fixes.

Learn more in what is Imunify360 and how does it protect my site.

Signs your site may be hacked

  • Visitors are redirected to spam, gambling or pharmacy sites.
  • Google shows a “This site may be hacked” warning, or Search Console reports a security issue.
  • New admin users you did not create appear under Users.
  • Unknown files appear in public_html, or your host warns you about malware.

If you see any of these, change your WordPress, cPanel and email passwords, scan with Imunify360 (see how to scan for malware on your hosting account) and open a ticket so we can help you clean up.

Frequently Asked Questions

Do I need a security plugin like Wordfence?

It is optional. Imunify360 already scans for malware and filters attacks at server level. A security plugin can add login protection, alerts and two-factor login. If you add one, use only one, as two security plugins can conflict.

Should I change my login URL from /wp-admin?

It reduces bot noise but is not real protection, and it can lock you out if you forget the new address. Strong passwords and two-factor authentication matter far more.

Is WordPress itself safe?

Yes, when it is kept up to date. Most problems come from outdated plugins and themes, weak passwords and pirated software.

Can you look after security for me?

Yes. Our website maintenance plan covers WordPress and plugin updates, backups and virus and malware scans.

Need help?

If you think your site has been hacked, open a support ticket straight away, or message us on WhatsApp from our contact page. Our support is available 24/7.