Skip to main content
MotherHosting

Keep WordPress updated and secure

Update WordPress, its themes and plugins, remove what you do not use, choose strong passwords, and keep your own copy of the site before big changes.

Last updated 2 min read

Updates close security holes and fix faults. A WordPress site that is kept up to date, with few plugins and strong passwords, gives attackers little to work with.

First, keep your own copy

Before a big update, save a copy of your site on your own computer. A WordPress site has two parts:

  1. The files. In cPanel File Manager, open your WordPress folder (for the main domain, public_html), press Select All, then Compress, and choose Zip Archive. Download the zip, then delete it from the server so it does not use your disk space.

  2. The database. In cPanel, open phpMyAdmin, click your WordPress database on the left, open the Export tab and press the button at the bottom (Export or Go). A .sql file is saved to your computer.

Your website is yours to look after: keep a copy from before every major change.

Update WordPress, plugins and themes

  1. Sign in to your dashboard and open Dashboard → Updates.

  2. Update the plugins, then look at your site.

  3. Update the themes.

  4. If a new WordPress version is offered, update it too.

Updating in small steps shows you at once which update caused a problem. WordPress installs small security releases by itself. For plugins you trust, you can switch on Enable auto-updates on the Plugins page.

Remove what you do not use

  • Delete the plugins and themes you do not use. A plugin that is only switched off can still be attacked through its files.

  • Keep one default WordPress theme installed as a fallback next to your own theme.

  • Install plugins and themes only from their makers or from the official WordPress directory. Pirated copies of paid themes and plugins very often carry hidden harmful code.

Strong passwords and tidy users

  • Use a long password that you use nowhere else, for every user.

  • Avoid the username admin.

  • Give helpers the role they need, such as Editor or Author, not Administrator.

  • Delete the accounts of people who no longer work on the site.

If an update goes wrong

  • The site keeps saying it is "briefly unavailable for scheduled maintenance": in File Manager, press Settings, tick Show Hidden Files (dotfiles), and delete the file .maintenance in the WordPress folder.

  • For a white screen or another error after an update, see Fix common WordPress errors.

Need help? Open a ticket in Support, department Technical, category WordPress.

Still need help?

Open a ticket and our support team will help you. We will see which article you read.

Open a ticket

To order, contact us

Tell us the plan or domain you want. We set up your order and send you the invoice.