September 9, 2020
6min Read
Domantas G.

It’s important to keep your WordPress website updated for multiple reasons – be it for better security or keeping compatibility issues to a minimum. If you’re looking for tips on how to update WordPress, you’ve come to the right place.
Whether you’re updating the WordPress core, themes, or plugins – we’ve got you covered.
Plan on migrating your website to another web host? Save 74% on our most popular WordPress hosting plan.
Before making any changes to your WordPress site, it’s essential to be prepared for any possible missteps. This includes backing up your files and deactivating any plugins that might interfere with WordPress:
Create full a WordPress backup — errors tend to happen at the most unfortunate of times. Backups prevent permanent data loss and act as a fallback plan when you’re modifying or updating your website and something goes wrong. For more information on how to back up your WordPress files, you can find our tutorial here.
Deactivate all of your plugins — there are times when new changes in WordPress are not compatible with certain plugins that you have. This can result in an inaccessible website. By deactivating them, you can prevent the issue from happening once you update WordPress. This is especially true for caching plugins since they can potentially interfere with WordPress installation. If you’d like to know more, you can follow the steps shown here.
If this is your first time upgrading WordPress core, the whole process is a lot easier than you might think.
There a four ways how you can approach this and we’re going to list every method here.
This is by far the easiest way to update WordPress as it’s only a click away.
All you have to do is log in to your WordPress dashboard. Then, check if there is a core update notification at the top of the page.
Click the “Please update now” to initiate the process. You’ll be taken to the Updates page where you’ll have to press the Update Now button again.
If it’s only a minor update, you will be shown a “success message” along with the plugin and theme update options.
On the other hand, if it’s a major WordPress release, you will see the welcome screen with a detailed summary description of what has been upgraded.
Now you can proceed to update all of your themes and plugins to make sure they are compatible with the latest version of WordPress.
PRO TIP: You can also update your WordPress version easily from the hPanel. Once you have gained to your account, simply go to Dashboard under the WordPress section. Scroll down and you’ll see the “Install the latest WordPress version” option.

Manually updating WordPress comes in handy when you’re unable to do it via the admin dashboard for whatever reason.
For this method, you can either use an FTP client, such as FileZilla, or the File Manager from your hosting control panel. All you need is access to your WordPress root directory.
You’ll have to overwrite the old WordPress core files – wp-admin and wp-includes – with the new ones. We’re going to show you how to do just that using FileZilla:



IMPORTANT: Don’t rush to replace everything inside the WordPress root directory. You can easily break your site if you do something incorrectly, so make sure to follow the tutorial carefully.
If you’re reading this part of the tutorial, we assume you already have SSH access to your WordPress root directory in the public_html folder.
If you are not sure how to access your account via SSH, take a look at this tutorial.
Once everything is configured, here’s what you need to do proceed with updating to the latest version of WordPress:
cd public_html
PRO TIP: To list your directory contents, type in the ls command or type cd ~ to change your directory to home.
wp core check-update
+---------+-------------+---------------------------------------------------------------+ | version | update_type | package_url | +---------+-------------+---------------------------------------------------------------+ | #.#.# | minor | https://downloads.wordpress.org/release/wordpress-#.#.#.zip | | #.#.# | major | https://downloads.wordpress.org/release/wordpress-#.#.#.zip | +---------+-------------+---------------------------------------------------------------+
Success: WordPress is at the latest version.
wp core update
Now that you know how to update the core files via WP-CLI, let’s update your database, theme, and plugins. Here are the commands to run, respectively:
wp core update-db wp theme update --all wp plugin update --all
When the program is done processing, run the previous commands once again to confirm whether everything is updated correctly. Here’s what it should look like:
WordPress immediately updates its sites when minor updates are released. However, did you know you can also set major releases to be automatically updated as well?
If you lack the technical skills to give the previous methods a try, you can easily set up auto-updates using a plugin such as Easy Updates Manager. To learn how to install WordPress plugins, check out this tutorial.
You can also enable automatic WordPress updates by adding a line of code to your wp-config.php file. Here’s how to do it:
define('WP_AUTO_UPDATE_CORE', true);You will do yourself a great disservice if you leave your themes and plugins unattended after updating your core WordPress files. Not only that might cause unwanted errors, but it can also stop working properly entirely, messing with your site’s functionality.
To update your plugins and themes from your WordPress admin dashboard, navigate to Updates by hovering over the Dashboard menu.
This will lead you to a new page where you can update your themes and plugins separately or all at once.
NOTE: Updating your WordPress theme will get rid of all the customizations you’ve made to the theme. Avoid losing them by using a child theme, instead of editing the parent theme directly.
Updating your WordPress website is essential for a number of reasons. Here’s to name a few:
In this tutorial, we’ve learned how to update your WordPress site with the latest version. Learning how to update WordPress without breaking your site is a must-have skill for every website owner.
Before you sign off, here’s a quick recap on how to update your site to the latest WordPress version:
If you have any more questions, please don’t hesitate to leave a comment down below.
Leave a reply