How to Update WordPress?

We recommend updating WordPress whenever a new version with the format x.x.1-9 (e.g., 6.4.3) is released. Versions with the format x.x.0 (e.g., 6.4.0) may contain bugs that are typically fixed in subsequent x.x.1 releases.

To update WordPress, follow these steps:

  1. 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.

  2. Open the wp-config.php file on your server. This file is located in the root directory of your site.

  1. 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.

  2. 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.

  3. 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