Knowledgebase article

10 ways to keep your WordPress site safe

WordPress powers a huge part of the web, which is exactly why attackers love to target it. The good news: a few simple habits keep almost all of them away. Here are Romeo's ten vows for a safe WordPress.

  1. Keep everything updated. WordPress core, plugins and themes. Turn on Auto Upgrade in WordPress Manager by Softaculous.

  2. Delete what you don't use. Deactivated plugins and old themes can still be hacked. Remove them completely.

  3. Install plugins only from trusted sources. Use WordPress.org or the official developer. "Free" copies of paid (nulled) plugins almost always contain malware.

  4. Use strong passwords and a unique admin username. Never admin. Each user should have their own login.

  5. Turn on two-factor authentication for WordPress logins with a plugin such as Two Factor or Wordfence Login Security, and for your HostRomeo client area under Security Settings.

  6. Limit login attempts. Softaculous offers Limit Login Attempts during installation, or use a plugin, so bots can't guess passwords forever.

  7. Use HTTPS everywhere. Install SSL and turn on Force HTTPS Redirect (see How to secure your website with SSL).

  8. Give the least access needed. Writers don't need to be administrators. Check Users regularly and remove people who no longer need access.

  9. Stop editing files from the dashboard. Add this line to wp-config.php:

    define( 'DISALLOW_FILE_EDIT', true );

    Then nobody can change your theme or plugin code from the WordPress dashboard, even if they get in.

  10. Take regular backups. Use WordPress Manager by Softaculous or cPanel's Backup, and keep a copy off the server.

Romeo's servers also run Imunify360, which watches for malware and blocks attacks around the clock. You do your part, Romeo does his, and your website stays safe together.

Was this answer helpful?

Related articles

Still stuck? Romeo's got you.
Our support team replies around the clock, real humans who know your server.