How to Safely Downgrade WordPress: Full Tutorial (Manual & Plugin Methods)

Why do I need to downgrade WordPress?

WordPress releases updates on a regular basis in order to provide better security, optimize performance, and introduce new features. In some cases, theUpgrades may cause compatibility issuesthat affects the proper functioning of the site. For example:

  • Plugin or theme compatibility issues: Some plugins or themes have not been adapted to the latest WordPress version, resulting in abnormal functionality or page crashes.
  • PHP versioncollision (of interests): WordPress relies on PHP to run, and some updates may require a higher version of PHP that is not available in your server environment.
  • New functionality impacts workflow: WordPress updates may change the interface, features, or editor, affecting user habits and flow.
  • test purpose: Developers may need to test plugins or themes on older versions of WordPress.

When these problems occur, downgrading WordPress may be a temporary solution. In this article, we'll go over the details ofHow to Safely Downgrade WordPress to Avoid Potential Data Loss and Security RisksThe

图片[1]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

Preparation before downgrading WordPress

Before downgrading, it is important to be fully prepared to ensure the security and data integrity of your website.

1. Creating a Full Backup

Downgrading WordPress will make changes to your site's core files and database, so you'll need to create a full backup.

How to Backup WordPress Website?

  • Using plug-insAs UpdraftPlus,All-in-One WP Migration etc.
  • Manual Backup::
    1. Backup Database: in cPanel maybe phpMyAdmin centerExporting a MySQL DatabaseThe
    2. backup file: Use FTP to download wp-content folder as well as the wp-config.php Documentation.
图片[2]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

2. Setting up a Staging Site

Before performing a downgrade, it is recommended that theTesting in a staging environmentto avoid directly affecting the official website.

3. Disable all plugins and switch default theme

Some plugins and themes may not be compatible with the downgraded WordPress version, so you should deactivate the plugin first and switch to the WordPress default theme (e.g. Twenty Twenty-Five).

Steps:

  1. Go to the WordPress backend and navigate to Plugins > Installed PluginsThe
  2. Select all plug-ins, batch deactivateThe
图片[3]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)
  1. go into Appearance > ThemesSwitch to Twenty Twenty-Fore or other default themes.
图片[4]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

4. Checking the PHP version

Downgrading to an older version of WordPress may require a specific version of PHP. It is recommended that the WordPress dashboard Tools > Site Health > Information to see the current PHP version and make sure it is compatible with the target WordPress version.

图片[5]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)
PHP version 8.2.20

How to downgrade WordPress core version?

There are two main methods of WordPress degradation:

  1. manually operatedDegradation (for cases where the backend is not accessible)
  2. utilizationplug-in (software component)Degradation (for cases where the backend is still accessible)

Method 1: Manually Downgrade WordPress via FTP

If WordPress is inaccessible or you wish to have full control over the downgrade process, you can use FTP toManual RollbackThe

Step 1: Download an older version of WordPress

  1. interviews WordPress Version ArchiveThe
  2. Find the WordPress version you need and download it .zip Documentation.
  3. Unzip the file locally.
图片[6]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

Step 2: Connect to the server via FTP

  1. File managers using FileZilla or cPanelConnecting to the web serverThe
  2. go into public_html directory (or the WordPress installation directory).
public_html

Step 3: Delete the wp-admin and wp-includes folders

take note of: Please do not delete wp-content folder, otherwise the site's themes, plugins and uploaded files will be lost.

  • exist public_html directory, delete the wp-admin respond in singing wp-includes Catalog.
  • reservations wp-content catalogs and wp-config.php Documentation.
图片[8]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

Step 4: Uploading Old WordPress Files

  1. Extract the locally unzipped WordPress Older versions of documentsupload public_html Catalog.
  2. assure uncovered wp-content catalogs and wp-config.php fileThe
  3. Allow FTP clientsOverwrite other WordPress core filesThe

Step 5: Update WordPress Database

  1. interviews yourdomain.com/wp-admin/upgrade.phpThe
  2. If prompted, click Updating the WordPress DatabaseThe
图片[9]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

Method 2: Use Core Rollback Plugin Downgrade WordPress

If you have access to the WordPress dashboard, using a plugin is the easiest way.

Step 1: Install Core Rollback Plugin

  1. go into Plugins > Add New PluginThe
  2. look for sth. Core Rollback, install to activate it.
图片[10]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

Step 2: Downgrade WordPress Version

  1. go into Tools > Rollback CoreThe
图片[11]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)
  1. Select the WordPress version to be downgraded in the drop-down menu (e.g. 6.2.6).
  2. strike (on the keyboard) rolling back, and then confirm the operation.
图片[12]-如何安全降级 WordPress:完整指南(手动方法 & 插件教程)

plug-in willAutomatically downloads and installs selected WordPress versionsThe entire process requires no manual operation.

What you need to do after a demotion

1. Step-by-step reactivation of plugins and themes

2. Disable WordPress Automatic Updates

After downgrading, it is recommended thatTemporarily disable automatic updatesto prevent WordPress from upgrading itself again.

3. Testing website functionality

Ensure that the websitecore functionalityNormal operation, including:

  • Is the page loading correctly?
  • Is the form submission working?
  • Is the function available?
  • Are the block editor and customization tools working?

4. Enhanced security measures

Recommended due to possible security vulnerabilities in older versions of WordPress:

  • start using Wordfence maybe Sucuri Perform additional security.

summarize

Learn through the article available throughManual methodor plug-ins (e.g. Core Rollback) Security downgrades, but downgrades WordPress Not a permanent solution. Before downgrading, make backups to ensure compatibility, take necessary safety measures after downgrading, such as turning off automatic updates when you're done, testing site functionality, andEnhanced securityThe


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
客服微信
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
本文作者:红牛独立站
THE END
If you like it, support it.
kudos15 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments