How to Update WordPress?
To update WordPress, follow these steps:
Back up your files and database. This is crucial because if any issues arise during the update, it will be difficult to restore your site without a backup.
Open the
wp-config.php
file on your server. This file is located in the root directory of your site.

Temporarily disable file modification restrictions. Locate the following line in the
wp-config.php
file and change the parameter from true to false. Save the changes.

Update WordPress via the admin dashboard. Go to the "Dashboard → Updates" section in your site’s admin panel and click the "Update to version x.x.x" button.

Re-enable file modification restrictions. After the update is complete, go back to the
wp-config.php
file and change the parameter from false back to true. Save the changes.

Once you’ve completed these steps, your WordPress installation will be updated to the latest version.
Last updated