Rajeev asked 3 years ago
1 Answers
Nisha answered 3 years ago

WordPress is the most popular CMS in the world, which makes it a prime target for hackers. Because of this greater exposure, WordPress websites regularly receive about three-quarters of all hacking attempts. That’s why you need to keeping WordPress updated. A failure to do so could endanger both your site’s speed and its overall security.
WordPress has a dedicated team to monitoring the platform and updating the software as soon as vulnerabilities are detected. So you also need to go with those updates timely. Now you will ask about the procedures to update the WP website. Here I am going to share what you’ll need to do:

  1. Arrange Backups: It is important to have regular backups of your site saved. You can do this by using a backup and restore plugin. This will ensure that you have something to roll back to in case something goes wrong during automated updates. You can save a zipped copy of the backup file remotely in case you have to later restore it.
  2. Automate with a Plugin: You can use a plugin to handle the updation work for you. Easy Updates Manager is a free plugin that you can use for your WordPress website. After using this you no need to watch for the notification at the top of the dashboard that says you have updates waiting pending.
  3. Retrieve the Files: WordPress always stores the latest core version. Upon receiving a notification that an update is available, visit that web page and download the files. Extract the package locally on your computer.
  4.  Update the Root: Log into your root directory using SFTP or SSH in your control panel. Delete the wp-admin and wp-includes files. You’ll then need to upload the new versions from your extracted core files.
  5. Update wp-content: There’s no need to delete wp-content. Instead, what you need to do is make a copy of all the files within your new wp-content directory. Then place them into the old wp-content directory.
  6. Update Everything Else: Your new core root files need to be copied over to your directory as well. It’s okay if they overwrite what was in there before (they’re supposed to).
  7. Review wp-config: In your new core files, you’ll have something called wp-config-sample.php. Review this to decide if any of the new settings are worth saving to your wp-config.
  8. Update the Database: Once your files are updated, log back into the WordPress admin. If WordPress needs to upgrade your database, it will send you to /wp-admin/upgrade.php. Proceed to the link and then complete the steps necessary to update your database.
  9. Reactivate Your Plugins: Return to the Plugins list. Re-check all the deactivated plugins, then select the Activate bulk action. In order to see any updates made and complete the WordPress core upgrade process, clear your browser’s cache.