If you have a wordpress hosting it’s highly recommended to update WordPress via the automatic method.
In some cases, however, that may not be possible. If you find yourself in a situation where automatic or one-click WordPress update isn’t possible, you can certainly opt for the manual method. It’s only that you have to be more careful so that you don’t encounter errors. Most importantly, you should back up one copy of your current installation first.
Given below are the steps you’ll need to follow for a manual WordPress update. Make sure you follow them appropriately.
1. First, you need to download the latest version of WordPress to your computer. You can download it either from your WordPress dashboard or directly from WordPress.org. The version that you download will be available in the archive form, which should be unpacked.
2. Updating WordPress while all the plugins you’ve installed are active may lead to different kinds of issues. Therefore, it’s crucial that you deactivate all the active plugins from your dashboard before you get started with the manual updating process. You can do it in one single click by selecting all the plugins you want deactivated and then selecting Deactivate from the drop-down menu at the top.
3. Now, it’s time to replace the old version of WordPress with the new one. What you need to do is delete these two folders: wp-includes and wp-admin. Then, you should upload the new ones.
4. Next it’s time to update the wp-content folder. Simply upload the new version into the previous one. As you choose to overwrite these files, the previous official themes and plugins will be updated. No changes will happen to other themes and plugins. Also, the media files will remain the same. So, there’s nothing to worry about.
5. Move on the root directory now. Replace all the old folders in this directory with new ones. You’ll see that all the files have been overwritten except one file: wp-config.php. This is so because the new version that you have downloaded doesn’t contain wp-config.php. You can find this specific file in the archive folder that you download but it will be named wp-config-sample.php. What you need to do now is to check out both the files and see if there are any new lines in wp-config-sample.php. In case you find a new line added, you need to copy that line and paste into your old wp-config.php.
6. When you try an automatic update and it doesn’t work, a .maintenance files may get added to your WordPress installation. If you want to resolve the issue, you should delete this file.
7. Finally, you should visit the administration panel of your site to check out whether the database needs an update. If it does, you’ll be given a link clicking which will update the database.
8. The update is done. Don’t forget to reactivate all those plugins that you deactivated before starting the update.
We hope you have found this tutorial useful on how to manually update WordPress to the latest version.
Thanks for reading and leave your questions below to keep the conversation going.