Skip to main content
Updates fix security holes, so an out-of-date WordPress site is easier to hack. This guide shows you how to update WordPress, your theme and your plugins with little risk, and what to do if an update breaks something.

Before you update

1

Take a backup

In cPanel, open Backuply and click Backup Now. Wait until it finishes. See Take and restore backups. For big changes, test on a staging site first.
2

Pick a quiet time

Update when few visitors are on your site, and when you have time to check it afterwards.
3

Check your PHP version

New versions of WordPress and plugins may need a newer PHP version. See Change your PHP version.

Update in the right order

In the WordPress dashboard, go to Dashboard → Updates. Update in this order:
On a busy or important site, update plugins one at a time, and open your site after each one. If something breaks, you know exactly which update caused it.

After updating

  • Open your site in a private (incognito) window and click through the main pages, the contact form and, for shops, the checkout.
  • Clear the cache. If you use LiteSpeed Cache, click Purge All from the LiteSpeed Cache menu at the top of the WordPress dashboard, so visitors see the updated pages.

If an update breaks your site

1

Find the cause

If you can still log in, deactivate the plugin you updated last. If you can’t log in, see Fix a white screen or 500 error.
2

Restore the backup if needed

Restore the backup you took with Backuply. Your site goes back to how it was before the update.
3

Check for a fix

Look on the plugin’s page for a newer version or a known problem, and try the update again later.

Keep up with updates

  • Turn on automatic updates for small, trusted plugins from the Plugins page. Leave big plugins, such as your shop or page builder, on manual updates.
  • Delete plugins and themes you don’t use. Even deactivated ones can be hacked if they’re out of date.
  • Only install plugins from trusted places, such as the WordPress plugin directory or the developer’s own site. “Free” copies of paid plugins often contain malware.
Think your site has already been hacked? See Fix a hacked website. Still stuck? Open a ticket with your domain name and what you updated.