[Dry goods] WordPress system level update, program upgrade

Website technology changes with each passing day, updating and upgrading is one of the maintenance work, a long time not upgraded program, just like a long time not maintained building, will accelerate the aging, function gradually lost until it can not be used. After using WordPress for a period of time, you may encounter some faults of the website, which is most likely caused by your failure to update in time. In order to facilitate your smooth use, we have arranged the update methods of WordPress in detail for your reference.

If you are not familiar with WordPress, you can check out our detailed introduction to WordPress: Comprehensive Introduction to WordPress

If you want to install WordPress, we provide a WordPress installation tutorial

If you’re looking for WordPress plugins, check out our: Must have! Master WordPress plugin!

If you encounter a failure while using WordPress, check out our WordPress Troubleshooting guide

How to configure email in WordPress

Below are the detailed steps and methods of WordPress upgrade, including system upgrade, plug-in upgrade and theme upgrade.

There are two types of WordPress updates: system-level updates (operating system and operating environment) and WordPress program updates

System-level update

To complete system-level updates, run an update command:

#For Centos&Redhat
yum update -y

#For Ubuntu&Debian
apt update && apt upgrade -y
Copy the code

This deployment package is preconfigured with a scheduled task for automatic updates. If you want to remove automatic updates, delete the corresponding Cron

WordPress Program Update

instructions

You can upgrade the WordPress kernel, plug-in, and theme. All three can be upgraded online through the WordPress background. Here is the update reminder:

Since these three are different developers, upgrades may cause incompatibility. Specific manifestations include:

  • The website cannot be opened. Error 500 is displayed
  • The structure of the site becomes chaotic
  • Some theme functions are unavailable

The above incompatibilities are normal and the best solution is to adapt the theme and plugin versions to the WordPress kernel version.

The kernel upgrade

The key to upgrade

The upgrade of the WordPress kernel is very simple. When you enter the background, the system will prompt you to upgrade, and you can click the upgrade. (Special note: Before upgrading the WordPress application, you must make a full backup to ensure that you can recover if the backup goes wrong.)

Manual upgrade

Sometimes, the online one-click upgrade is not available due to network reasons, and a manual upgrade is required

  1. Download and unpack the latest version of WordPress from New Window
  2. Log in to the cloud server and go to the root directory of WordPress
  3. Delete from this directorywp-adminwp-includesfolder
  4. Upload the local decompressed WordPress code, and select overwrite upload when the file with the same name is reminded
  5. Revisit WordPress, and the database upgrade steps shown in the following figure may occur
  6. Click “Upgrade WordPress Database”

The plugin upgrade

Plug-ins are generally upgraded online and one by one

Subject to upgrade

You are advised to upgrade a topic in the following ways:

  1. Use WinSCP to log in to the service and delete (or rename) the original theme.
  2. You can install the theme in the following ways: [WordPress Background] > [Appearance] > [Theme] > [Add] > [Upload theme]

This article is originally published by Websoft9.