Updating a WordPress Site: Practical Strategies You Need to Know

A series of images of a boy behind a laptop with smoke coming out of it

This post explains updating a WordPress site. It will also give some practical strategies to help you update your site efficiently and safely.

Themes, plugins, and WordPress updates: they’re necessary to keep your site secure.

But unless you use your WordPress theme straight out of the box with no customization, enhancements, or modifications, you are at risk of breaking your site whenever you update any of them.

The longer your site has outdated plugins or themes, you are at greater risk of getting hacked.

Updating a WordPress Site

Remember that the official site for all things WordPress can be found in the WordPress Codex. WordPress Codex is an online manual with official information and documentation for WordPress.

While you can find lots of great articles and tutorials about WordPress all over the web, your best source of accurate information is in the Codex.

It is here you will also find best practice recommendations for the use of WordPress.

The Codex is also where you can find extended instructions for updating WordPress.

If your site is behind more than two major releases, it is recommended to upgrade incrementally. Skipping one release is okay, but you should never skip two releases when upgrading as that could potentially break your site.

You can find older versions of WordPress in the release archive at WordPress.org.

Keep in mind that NONE of the old releases are safe to use. Only the latest release is actively maintained. So follow the detailed instructions for upgrading WordPress, but make sure you do these steps on a test or development version of your site.

And upgrade completely to the latest version of WordPress.

So now that you have an understanding of best practices for updating a WordPress site, let’s look at how you can accomplish updating a WordPress site using practical and safe strategies.

Create a Backup Before You Start

First things first! Make sure that you have a working backup of your live site before you do anything.

By working backup, I mean make sure you have created a backup of your site and tested that backup to make sure it’s good.

If you have a good backup, then proceed.

Updating WordPress

If you are only one version behind the current WordPress release, it’s safe to update.

But it’s always a good idea to wait at least one week after an update to WordPress is released before updating WordPress on your website.

Early release bugs are typically shaken out within a week, at which time it’s safe to update.

If you are two or more versions behind the current WordPress release, you should follow the Codex instructions for incremental upgrades.

However, if you set up a test environment, you can test upgrading to the current release even if it spans multiple releases.

If it works without breaking anything, you can safely update your live site.

You’ll most likely find that after a WordPress release comes out, themes and plugins might need to be updated as well.

Put Your Site into Maintenance Mode

If your site gets a lot of traffic, you’ll want to put your website into maintenance mode.

Updating a Plugin

First, consider installing the  WP-Rolllback plugin on your site.

It’s a safety net that will allow you to roll back a plugin or theme to a prior version in the event of a plugin update fail.

It’s a good idea to test WP-Rollback on a staging or test server first to make sure there is no loss of data and that the rollback works as expected.

If your site is current with the latest WordPress release and you have a plugin that needs updating, you should be able to safely just update the plugin. But first make sure to check the plugin for WP version compatibility.

If your plugin has not been tested with the current version of WordPress, it might be worthwhile to hold off on updating that plugin.

Otherwise, update the plugin. If the plugin update fails, clear the cache and open up your site in a new browser window to make sure the site is not broken. If your site is broken, log into your website via FTP or cPanel and rename the folder of the broken plugin. Then try to launch your site again. It should be okay at this point.

You can then try to install a fresh copy of the plugin.

If that still fails, you have 2 choices:

  1. If the plugin is critical to the functionality of your website, contact the plugin author. Restore the backup.
  2. If the plugin is not critical to the functionality of your website, delete it altogether.

At this point it might be a good idea to find another plugin that has been tested with your current version of WordPress.

Updating a Theme

I encourage you to closely monitor the support forums for feedback from early adopters of a theme update. That is, some users are trigger-happy and update a theme the minute they see the notice in the WordPress dashboard. You’ll only make that mistake ONCE.

Do NOT – I repeat – do NOT be the first to jump on the update bandwagon when you see a theme update notification.

Instead, take a watch and wait stance. Lurk around the support forums and learn from others’ experiences. See what issues they have run into and what impact they might have on your site.

I would advise against updating a theme on a live site. Regardless of whether it’s a premium or free theme, you should test it on a development version of your site.

Even if you’ve used a child theme to customize your site, there is a good chance that your site might need some tweaking once the theme has been updated. This is because some of the theme core files (such as functions.php or header.php) might have changed significantly and you’ll need to recreate those child theme files.

In my experience, WordPress themes with visual editors seem to have the greatest risk of problems during updates.

The remainder of this post shows several ways you can create a development server or test site.

Create a Test Installation of Your Live WordPress Site

There are several ways to set up a test or development installation of your WordPress site.

It might seem overwhelming to take the time to do this, but it’s well worth the time and effort to create a development site in which to test plugin, theme, and WordPress updates.

First, you need to decide whether you want to create a local copy of the site. That is, do you want to download the entire website to your desktop PC? If so, you need to set up a server and the type of server depends on which operating system you are using: Windows or Mac?

Setting Up a Local Version of Your WordPress Site

Since I’m a Windows user, I’ve used XAMPP, Instant WordPress, or UpdraftPlus to create a local version of a live WordPress site.

I used to have the premium version of Backup Buddy, but had trouble getting backups to complete on most servers. I since switched to UpdraftPlus (affiliate) and have been very happy with the plugin’s reliability. It just works!

Take a look at these options and decide which is the best solution for you:

1. Install WAMP on your Windows Computer

2. Use WordPress Locally on Your Mac with MAMP

3. How to Create a Local WordPress Website in Windows with XAMPP

4. Install Local Version of WordPress Using Instant WordPress

5. Use UpdraftPlus Migrator to Move a WordPress Site to Localhost

6. Use UpdraftClone to clone your site to the cloud. This is hands down the easiest way to copy and test updates!

Otherwise, you might want to set up an online test site.

Setting Up an Online Development Version of Your WordPress Site

Many times customers want to monitor progress or you’ll need them to test their site once it’s upgraded. Putting a copy of the site on their server makes good sense in cases like this.

I use UpdraftPlus Migrator to migrate larger sites.

Done Testing – Now What?

So you’ve done your work and your test site is upgraded and stable.

How does that translate to the live site?

You have several options depending on the amount of work you had to do.

  1. Put the live site in maintenance mode and repeat the steps you did when testing.
  2. Make a copy of the test site and move it over to the live site using a tool such as UpdraftPlus Migrator. If you do this, make sure that there have been no updates on the live site or they will be lost when you restore the site.

In Summary

When updating a WordPress site, following these practical strategies will help ensure a smooth upgrade.

Using a systematic procedure helps you to identify potential issues and also gives you a restore point should you experience a failure at any point.

Remember to do the following:

  1. When in doubt, check the WordPress Codex for the official recommendations.
  2. Backup the website and make sure the backup is good.
  3. Create a test version of the website either locally or on a development server.
  4. Wait a week before upgrading WordPress on a live site. And only span one release. Otherwise, go the incremental route.
  5. Make sure all plugins are compatible with the current WordPress release.
  6. Check out theme support forums to learn of potential problems with theme updates.
  7. Wait until the major theme issues have been worked out before upgrading.
  8. Test WordPress release updates, and plugin and theme updates on a test site.

I hope these strategies are helpful to you. Please share any strategies you might use in the comments below!

Image credit: Fotolia

Print Friendly, PDF & Email

About The Author

Leave a Reply

Inline Feedbacks
View all comments
Nancy Babcock
6 years ago

“Experience is the mother of wisdom.” Michelle, this is a ton of really useful tips and advice. Thank you!

Michelle Phillips
Michelle Phillips
6 years ago
Reply to  Nancy Babcock

So very true, Nancy! Quite an interesting upgrade, to be honest! And as you said, a great learning experience. Thanks so much for taking the time to leave a comment; I really appreciate it!

Scroll to Top