Web hosting · Practical guide

Update WordPress with a backup and a quick test plan

Check available updates, back up files and the database, then test the site after each change.

Archive placement: September 2023

A web development interface on a laptop

WordPress updates are easier to manage when you know what is changing and can restore the previous working version. Use a matched backup of files and database, test the changes in staging where possible, then check the features your customers actually use. A working homepage is only the first check.

1. Check versions from WordPress and cPanel

Start with the version and compatibility information available in the dashboard. You do not need a command line to make an update plan.

  1. In WordPress, open Dashboard → Updates and note the current core version and available updates.
  2. Review Plugins and Appearance → Themes for the active components and their release notes. Check important booking, payment and membership extensions first.
  3. In cPanel, check MultiPHP Manager or the PHP version tool supplied for the account. Confirm that the application and important plugins support the intended version.

Do not change PHP and every plugin at the same time merely to see whether the site improves. Check dependencies and rehearse a significant update in an isolated staging copy when possible.

2. Check compatibility in a staging copy

Make a note of the current WordPress and PHP versions, active theme and important plugins. Check release notes for changes to required PHP versions, payment integrations or database tables. If a critical plugin has not confirmed compatibility, resolve that before updating the live shop or booking system.

Use a separate staging copy with its own database and hostname to rehearse the update. Disable live payments, outgoing customer email and scheduled integrations there first. Try the same sequence you intend to use in production. A staging test that uses a different PHP version or omits your payment plugin is less useful than one that resembles the live site.

3. Save matching files and database before updating

A useful rollback includes the database as well as the old plugin or theme files. Take the backup close to the update window.

  1. Use cPanel → Backup Wizard → Back Up to download the Home Directory copy and the relevant database backup, or use your documented application backup tool.
  2. Keep the downloaded files together and confirm the downloads completed. Store them outside the hosting account as well.
  3. For a busy shop, agree a maintenance window and record how orders or other new changes will be preserved if rollback becomes necessary.

If your account offers an installer or WordPress management tool with backups, check what it actually includes and how a restore works. A backup button that was clicked is not proof of a completed, usable recovery set.

4. Apply updates through the dashboard in a planned order

Update from WordPress or the management tool that owns the installation. Use the vendor’s dependency order where one plugin depends on another.

  1. Start with a tested update for one component or a small related group. In WordPress, use Dashboard → Updates or the update action on the relevant Plugins page.
  2. Wait for the completion message before opening another update. Do not close the tab or start a second update during an uncertain result.
  3. Check the affected feature and record the new version before moving to the next component.

For a revenue-critical website, use a staging test and a maintenance window instead of treating the live site as a trial. Avoid editing plugin files directly: a later update can overwrite those changes.

5. Complete database prompts and check the update result

Some updates need a database change after the files have been installed. Read the update screen before returning the site to ordinary use.

  1. If WordPress or the plugin asks for a database upgrade, confirm that you are on the intended installation and complete its documented update screen.
  2. Clear the relevant WordPress cache and any connected CDN cache. Review maintenance-mode settings if you enabled them.
  3. Open the website in a private browser window and check that the new version is serving without an error or a persistent maintenance page.

A working dashboard alone does not prove that a checkout or scheduled integration still works. Do not repeatedly click Update when a process appears stuck; check the result and the application error before trying again.

6. Use cPanel to investigate a failed update

If an update breaks the dashboard, preserve the error and regain access with the smallest change that addresses the failing component.

  1. Check cPanel → Metrics → Errors and any application error log available in File Manager. Note the time and the plugin or file named in the error.
  2. If the dashboard opens, deactivate the suspected plugin there. If it cannot open, a temporary rename of that plugin’s exact folder under wp-content/plugins can stop it loading; record the old name and do not delete its data.
  3. Recheck the site. Once access is restored, arrange a supported plugin fix or rollback before renaming or reactivating components indiscriminately.

A temporary folder rename is a recovery technique, not a substitute for understanding the failure. If the update changed the database, restoring only old files may not reverse it. Ask for help before replacing production data.

7. Test the parts customers use

Check the home page, menus, contact form and any checkout or membership login. Test form delivery with an address you control. Review application errors and caching so an old cached page does not hide a broken current page.

If a rollback is needed, restore a matching set of files and database data. Consider new orders or content created since the backup before restoring. Record the update and its tests so future maintenance has a clear starting point.

8. Roll back carefully and preserve newer work

Use the matched recovery set when a full rollback is needed. Restoring an old database can remove orders and edits made since that backup.

  1. Record the failing version and collect the error before restoring anything.
  2. Check for new orders, uploads or customer changes after the backup. Preserve and reconcile them with the application maintainer if necessary.
  3. Restore through the documented cPanel/application backup route, or ask support to restore the correct files and database together. Test the same customer workflow again.

Keep a note of what was restored, its backup time and the checks that passed. Once the site is stable, plan the compatibility fix and retry in staging instead of immediately repeating the failed update.

Common questions

Should I enable every automatic update?

Choose a policy that matches the site’s risk and recovery process. Security updates are important, but a revenue-critical site also needs backups, monitoring and a way to identify a broken checkout promptly.

Does changing PHP fix an incompatible plugin?

Not necessarily. Check the plugin’s supported versions and test the PHP change separately. A PHP upgrade and several plugin updates at once make a failure harder to identify.

Further reading

← Back to all guidesDiscuss your hosting setup ↗