It’s necessary that you always update WordPress to the latest version. When a new version of WordPress is available you receive an update message in your WordPress Admin Screens. To update WordPress, just click the link in this message.
There are two ways for updating – the easiest is the one-click update, which works for most people. If it doesn’t help, or you just prefer to be more hands-on, you can follow the manual update process.
But before you get started, it would be good to back up your website. Which means if there are any issues you can restore your website.
For WordPress 3.7+, you don’t have to do anything to apply minor and security updates. Most of the sites are now able to automatically apply these updates in the background. If your site is capable of one-click updates without entering FTP credentials, it should be able to update from 3.7 to 3.7.1, 3.7.2, etc.
Modern versions of WordPress allow you to update with the click of a button. You can launch the update just clicking the link in the new version banner (if it’s there) or by going to the Dashboard > Updates screen. When you are on the “Update WordPress” page, click the button “Update Now” and start the process off. You don’t have to do anything else. Once it’s finished, you will be up-to-date.
One-click updates usually work on most servers. If you have any problems, that’s probably related to permissions issues on the file system.
To make manual updates you should follow these steps:
1. Replace WordPress files
- Get the latest WordPress zip (or tar.gz) file.
- Unpack the zip file that you downloaded.
- Deactivate plugins.
- Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
- Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, in place of the previously deleted directories.
- Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).
- Upload all new loose files from the root directory of the new version to your existing wordpress root directory.
2. Remove .maintenance file
If you’re upgrading manually after a failed auto-upgrade, just delete the file .maintenance from your WordPress directory using FTP. This will remove the “failed update” nag message.
3. Update your installation
Go to your main WordPress admin page at /wp-admin. You might be asked to login again. If a database upgrade is necessary, WordPress will detect it and give you a link to a URL like http://example.com/wordpress/wp-admin/upgrade.php. Just follow that link and follow the instructions. This will update your database in order to be compatible with the latest code. You should do this as soon as possible after step 1.
4. Do something nice for yourself
If you have enabled caching, you should clear the cache at this point so the changes will go live immediately. Otherwise, visitors of your site (including you) will continue to see the old version (until the cache updates).
That’s it! Your WordPress installation is complete and you can go in and enable your Plugins again. If you have issues with logging in, try clearing cookies in your browser.
That’s all guys! Hope this article was helpful!