Have you ever faced problems after upgrading WordPress to the latest version?
There could be some error in WordPress core files which is very rare or your plugins and themes may be causing the problems.
But in most of cases, themes and plugins are not compatible with the latest version of WordPress.
How to check what is causing the problem?
1. First of all, deactivate all your Plugins.
2. If your site is running fine then the Plugin is causing the issue.
3. Activate Plugin one by one and find the faulty one.
4. You can deactivate it or replace it with an alternative that gets a regular update.
But if your theme and core files are faulty then you have to Downgrade WordPress to the previous version.
Personally, I don’t recommend to downgrade WordPress version just because of some Plugins and Theme.
An older version of WordPress can be vulnerable to security holes and issues.
How to Downgrade WordPress To a Previous Version?
There are generally two methods to downgrade to the previous version of WordPress:
- Using Plugins
- Manually using FTP Client Software
Necessary Steps You Should Follow Before Downgrading WordPress:
- First of all, you should make a complete backup of your Website. For this, you can use WordPress plugins like Updraft Plus, etc.
- Disable all your Plugins.
- Another thing is to disable the automatic update of WordPress, Themes, and Plugins.
To disable automatic update you can add this line of code in the wp-config.php file:
define( ‘WP_AUTO_UPDATE_CORE’, false );
Firstly I will show you, how to restore the previous version of WordPress with the help of plugins.
Steps to Downgrade WordPress Using Plugins
There are many WordPress plugins like Wp Downgrade & Wp Roll Back which can be used to revert the previous version of WordPress.
Here I am using Wp Downgrade Plugin.
- Install and activate the plugin.
- After that hover over setting and click on WP Downgrade.
- In front of “WordPress Target Version” enter the WordPress version to which you want to upgrade/downgrade. If you are don’t know the exact version detail you can get it by clicking on Wp Release.
- Enter WordPress target version and click on save changes.
- Once you have set the WordPress target version then click on Update Core. Then on the next tab click on Reinstall Now.
Now your WordPress version will be downgraded after some time.
Steps to Downgrade WordPress Manually
The manual method of downgrading WordPress is used when you can’t log in to your WordPress dashboard.
In that case, you have to download the required version of WordPress from the WordPress directory and upload it to your server.
Here is a step by step process you should follow:
Step 1: Disable all your Plugins
Login to your Hosting Panel. With the help of File Manager locate the directory where WordPress is installed. Open the wp-content folder.
To deactivate the plugins rename the folder name of “plugins” to anything you want.
Step 2: Download the required version of WordPress:
You can Download required the version of WordPress from here. Now unzip it.
Step 3: Connect to the server using an FTP client:
Download any FTP Client software and install it. I am using Filezilla. You will get FTP account details by hosting C-panel. With help of those details, you can connect to your server.
Step 4: Delete Wp-admin & wp-includes
With the help of FTP software locate the WordPress directory and delete the wp-admin & wp-includes folder. Don’t delete wp-content because it contains your theme, plugins, and uploaded files.
Step 5: Upload files of older WordPress version
On FTP client software locate the WordPress folder that you have downloaded and then upload files/folder to the directory from where you have deleted wp-admin & wp-includes.
But don’t upload the wp-content folder. Once your upload is finished your downgrade/upgrade of WordPress is complete.
Now you can log in to your WordPress dashboard. For the first time, you will see Update WordPress Database message on your screen.
I don’t recommend to stick to the older version of WordPress because it can weaken your site’s security.
But in case if you get stuck in a problem and there is no other option left. You need to downgrade WordPress to a previous version then this guide will help you.
If you face any problem and have some queries and suggestions drop a comment below.