How to Update WordPress, Themes and Plugins Automatically and Manually – WordPress is a CMS that updates frequently to increase security and add new features. In addition, WordPress plugins and themes also frequently experience updates or updates for the same reason, namely for security and additional features or because the WordPress core files have been updated, plugins and themes adapt to WordPress to run properly.
Updating the core WordPress files, WordPress plugins and themes is very easy if you do it from the WordPress dashboard because it’s just one click away and the update will be complete, but sometimes due to security issues on the WordPress site, the server is made unable to update automatically. automatic but must be done manually or for other reasons that require updating manually.
In this article, I will provide a complete guide on how to update or update WordPress (core files), WordPress plugins and themes manually or automatically via the WordPress dashboard.
Update WordPress, Plugins and Themes Automatically
WordPress, if there is a new update, will automatically notify the dashboard as follows:
You can immediately click the “Please update now” link and you will be taken to the Updates page. Or please enter the menu Dashboard »Updates, on that page you will see a number of things that you need to update, such as the latest WordPress updates, plugin updates and WordPress themes.
Before updating it is recommended that you make a backup of your WordPress site to avoid anything going wrong. If so, to update the WordPress core files, please click the “Update Now” button. And wait a few moments then WordPress will change to the latest version.
As to how long the update process takes, it depends on how big the WordPress files are to update and also the speed of your hosting server.
Next, to update the WordPress plugins and themes, if there is an update notification, it is still on the same page, namely on the page Dashborad »Updates, there is also a list of plugins and themes displayed for you to update. The method is very easy, you only need to click the tick on the plugin or theme, then click the “Update Plugin” or “Update Themes” button.
In addition to the above method for updating plugins, you can go directly to the menu Plugins »Installed Plugins, and look for a plugin that needs updating, there will usually be a notification below the plugin’s name and click the “Update now” link.
To update the theme apart from the Updates page, you can also go directly to the menu Appearance »Themes, and if there is an update there will be a notification and please click the “Update now” link.
How to Update or Upgrade Manually
To manually update both WordPress core files, themes and WordPress plugin, the things you need to prepare are:
- Know the host, username and password to log into hosting You with FTP
- Prepare FTP software, You can use Filezilla FTP
Please learn first how to use Filezilla FTP Client software ⇒ here.
Manually Update WordPress
- First, please make a full backup of your website. Because this is very important if you make a mistake or the update process is not smooth which can result in the WordPress site being unable to be accessed.
- Download the latest ZIP file from wordpress.org.
- Unzip the files to a directory on your local machine or in a separate directory on your site.
- Go to the root directory of your website and delete your ‘wp-includes’ and ‘wp-admin’ directories or folders. You can do this via FTP or via SSH.
- Upload (or overwrite) the wp-includes and wp-admin directories from your local machine from a new version of WordPress.
- Do not delete your “wp-content” directory or folder or any files in that directory. Copy the files from the wp contents directory in the new version of WordPress to the existing wp contents directory. You will overwrite an existing file with the same name. All your other files in wp-content will remain.
- Copy all files from the root directory (‘/’) of your new unzipped version of WordPress to your site’s root directory (or your WordPress installation root directory). You will overwrite existing files and new files will also be copied. Your wp-config.php file will remain safe because WordPress includes this wp-config.php file in the latest WordPress files, this file appears when finished installing.
- If you upgraded manually after the automatic update failed, delete the maintainer file from your WordPress root directory. This will remove the ‘update failed’ message from your site.
- Please enter your main WordPress admin page at / wp-admin / where you may be asked to enter your username and password again. You may also need to upgrade the database if necessary.
- Please clear your browser cache to make sure you can see all changes and see if your WordPress site is running properly without any problems.
- Your WordPress update process is now complete and you are now running the latest version of WordPress.
Manually Update WordPress Plugins
- First back up your WordPress site if you haven’t already.
- Download the ZIP file of the latest version of the plugin you want to install. To get this ZIP file, most plugins are located in the WordPress.org plugin repository. If you want to update a paid plugin, feel free to download the plugin file from your account on the site where you purchased the plugin.
- Unzip the plugin to your local machine. This will create a directory with the name of the plugin and contain some files in it.
- Please open your FTP and use FTP to delete the plugins directory in the / wp-content / plugins / directory on your site.
- Please upload the plugin file that you Unzipped earlier to enter the directory / wp-content / plugins /.
- Log in to the admin of your WordPress site. Open the menu Plugins »Installed Plugins. And make sure the plugins you see now are the latest versions.
- Please reactivate the plugin by clicking “Activated Plugin”.
Manually Update WordPress Themes
- For how to update this WordPress theme, you really have to be careful because if you have ever made changes or made custom changes to your WordPress theme, your theme will return to its previous state.
- So, try to make changes or custom themes to the child themes first. But if you haven’t made any changes or custom to the theme code and just customize it using the theme interface in the web admin provided by WordPress (without changing any of the files in the WordPress theme), you can follow the procedure below:
- First make a backup of your WordPress site.
- Download the ZIP file of the theme you are going to upgrade.
- Unzip the theme files to your local computer.
- Use FTP to remove the theme directory you wish to update from the / wp-content / themes / directory.
- Change the deleted directory by uploading a new theme file into the / wp-content / themes / directory.
- Go to the admin of your WordPress site. Open Appearance »Theme and verify that you are running the latest version of your theme and activate the theme you just updated.
Updating the WordPress core files, WordPress plugins and themes will be very easy and it is recommended through the WordPress dashboard directly because the possibility of errors is very small. But if security is the main reason and makes your WordPress unable to update automatically then the manual method can be the best solution for updating WordPress.
And don’t forget to always do a backup first before updating or making changes to WordPress. You can read the following articles → The Complete Guide to Manually Backup WordPress.
And that’s a complete guide on how to update core WordPress, WordPress themes and plugins either automatically or manually, I hope this article helps you and good luck. 🙂