Mubasher

Mubasher / CLIENT ACCESS

Your client area is next.

Contact Mubasher

No login details are collected on this trial.

What are you looking for?

Search services, hosting guides and company news.

← Blog & News

Technology ·

Keeping WordPress secure: a simple monthly routine

Most WordPress attacks use known flaws in old plugins. A short routine for updates, users and backups prevents most of them.

Cover illustration: Keeping WordPress secure: a simple monthly routine

Most WordPress sites are not attacked by someone who chose them. They are found by automated tools that look for known weaknesses, mainly outdated plugins and themes. A small routine closes most of that door.

Every week

  • Check for updates to WordPress, plugins and themes, and install them. Security fixes are often published as small updates.
  • Look at the site after updating. Open the home page, a form and the checkout if you have one.

Every month

  • Review users. Remove accounts that are no longer needed and give each person the lowest role that lets them work.
  • Remove unused plugins and themes. Deactivated is not the same as removed. Old code can still be reached.
  • Test a restore. A backup you have never restored is only a hope.

Settings worth changing once

  • Use a unique, long password for every administrator and turn on two-factor login.
  • Do not use the user name admin.
  • Limit login attempts or add a challenge to the login page.
  • Disable file editing from the dashboard by setting DISALLOW_FILE_EDIT to true in wp-config.php.
  • Use HTTPS on the whole site.

Choose plugins carefully

Pick plugins that are updated regularly, have many active installs and are published by a known author. Never install "nulled" copies of paid themes or plugins. They commonly contain hidden backdoors.

Backups

Keep daily backups of files and database, store at least one copy away from the server, and keep several versions so that an infection discovered late can still be rolled back.

A routine takes about thirty minutes a month and saves days of recovery work later.

Common questions

How often should I update?

Check for updates weekly and apply security updates quickly. Update one plugin at a time and look at the site after each one, so you know which update caused a problem.

Is an automatic update safe?

Automatic updates for security releases are a good default for most small sites. For a store or a site with custom code, test updates on a copy first and keep a recent backup.

Do I need a security plugin?

A well chosen one can add login limits and file change alerts, but it does not replace updates, strong passwords and backups. Install only what you will actually configure and read.

What to do when an update breaks the site

Do not panic and do not update everything again. Restore the last backup or roll back the one plugin you updated, then check the plugin's notes for known problems with your WordPress or PHP version. Update again later, on a test copy first. Writing down which update caused trouble saves time at the next monthly check.

A realistic example

A company does its monthly routine on the first Monday of each month. One month the check shows a plugin that has not been updated for two years. They replace it with an actively maintained one before anything goes wrong. Twenty minutes a month costs far less than a cleanup after an attack, and it makes problems visible while they are still small.

Mistakes to avoid

  • Updating everything at once without testing.
  • Leaving former employees as administrators.
  • Skipping the backup check.

Quick checklist

  • Update core, plugins and themes.
  • Remove plugins and themes you do not use.
  • Check the list of administrator users.
  • Confirm that the last backup completed and can be restored.
  • Review failed login attempts if your tools show them.