1. Upgrade preparation
Before upgrading WordPres, we must back up the database and website files, even if we are sure to back up the files, because in many cases, unexpected errors may occur, which is troublesome. For information on backup websites, see "Linux VPS website files and database backup". Of course, we can also back up data in different ways based on our habits to ensure data security.
At the same time, we can also stop all the plug-ins, because some special plug-ins may be incompatible after the upgrade. If it is regular and does not need to be stopped, we need to enable it after the upgrade is complete.
2. Automatic upgrade procedure
If a new version is available, we can see a new version after logging on to the WordPress program. Click the "upgrade now" link to see the upgrade options.
If the Chinese version is available, click the upgrade button to automatically upgrade the instance.
Here we can see that the upgrade is successful. After the upgrade, check whether the page is intact and enable all valuable plug-ins. The method for automatically upgrading the WordPress program is still relatively fast.
Third, manually upgrade the program
Lao Jiang saw that the official team also provided a manual upgrade method, which is to replace the new version of the patch file.
1. Back up all website databases and files
2. Delete the wp-admin and wp-Des folders.
3, download the latest version of the WP program, and then upload the content of the above two folders to replace, at the same time, the files under the root directory in addition to the wp-config.php does not move other replace the new version of the file.
4. After the file is replaced, open http: // Our Website/wp-admin/upgrade. php at the URL address, and click the button to automatically upgrade as prompted.