WordPress blog program automatic and manual upgrade tutorial

Source: Internet
Author: User
Tags wordpress blog wordpress version
If we often see various version upgrades when using WordPress to build blogs and personal websites, or sometimes one or two version updates a month. WordPress is the most popular open-source CMS program used by most users in the current CMS. It is precisely because of constant upgrades, updates, and improvements to meet the security and functional needs of users, so many users can use it.

 

There are many WordPress users, and many people keep an eye on whether vulnerabilities are controllable. WordPress is constantly being patched and upgraded, which leads to various upgrade reminders. We recommend that you take upgrade measures after seeing the upgrade reminder and immediately fix bugs and various functional bugs. Of course, we also encountered various problems when upgrading the WordPress program, and even caused the website to fail to open normally.

 

Therefore, it is important to select a correct and stable WordPress upgrade method. Here, Chiang Kai will sort out two frequently used methods for upgrading the WordPres website program, which are automatic and manual.

 

1. Preparations for WordPress upgrade

 

 

We need to make several preparations before upgrading the WordPress program, so that we can save data restoration in case of an upgrade failure or website problems.

 

1. The website backs up data locally or synchronizes it to other Web environments. In this case, we can restore the data (website backup method) if the upgrade fails ).

 

2. Pause all plug-ins and enable them one by one after the upgrade is complete. Some of the special plug-ins installed on some websites may cause system upgrade errors and incompatibility.

 

2. Automatic WordPress upgrade process

 

The automatic upgrade method is common and simple and fast. After logging on to the WordPress website background, we will see a new version reminder. Then you can perform the upgrade according to the Wizard.

 

1. Check the new version.

 

 

As shown in the preceding figure, click "Upgrade Now.

 

2. Upgrade Now

 

 

We can also see on the upgrade interface, the official also reminded us to back up the database and files (official backup documentation: https://codex.wordpress.org/WordPress_Backups ). Normally, you can click the upgrade button to update all the latest version files, and sometimes prompt for database upgrade.

 

3. Start the plug-in

 

After the upgrade file is correct, our website can be opened normally. Then we can enable the plug-ins one by one. If the plug-in is enabled and the website becomes inaccessible or incorrect, it may be caused by incompatibility between the current plug-in and the new version. We need to replace or temporarily disable this plug-in.

 

Third, the WordPress manual upgrade process

 

In addition to the above automatic upgrades, we can also perform manual upgrades. It is a little complicated, but it is also commonly used.

 

1. Download the latest WordPress version.

 

The code is as follows: Copy code

New version download: https://cn.wordpress.org/

 

We need to download the latest version of the program to the local device, because we need to replace the files on the current website.

 

2. Delete the wp-uplodes and wp-admin directory files.

 

 

3. Replace all files except the wp-content directory

 

We will overwrite all the latest versions downloaded from the official website to the current site, except for the wp-content directory file.

 

4. Online update files

 

The code is as follows: Copy code

Http: // Current website address/wp-admin/upgrade. php

 

 

After the file is replaced, we will execute the above URL and prompt us to upgrade the database online.

 

5. Final work

 

After manual upgrade, we also need to start the plug-in and check for compatibility issues.

 

IV. Summary of the upgraded WordPress version

 

1. We cannot ignore important updates or common patch updates. After the new version is released, it must be upgraded immediately to ensure the security of the website and the stability of the program.

 

2. Back up the database and website files before upgrading WordPress to ensure that data can be restored in case of any problems on the website.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.