Have you ever face problems after upgrading WordPress to the latest version?
There could be some error in WordPress’s core files which is very rare or your plugins and themes may be causing the problems.
But in most of the 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 which gets 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 Downgrade 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 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 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 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 WordPress target version then click on Update Core. Then on 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 login to your WordPress dashboard.
In that case, you have to download the required version of WordPress from WordPress directory and upload it to your server.
Here is step by step process you should follow:
Step 1: Disable all your Plugins
Login to your Hosting Panel. With help of File Manager locate the directory where WordPress is installed. Open wp-content folder.
To deactivate the plugins rename the folder name of “plugins” to anything you want.
Step 2: Download required version of WordPress:
You can Download required the version of WordPress from here. Now unzip it.
Step 3: Connect to the server using FTP client:
Download any FTP Client software and install it. I am using Filezilla. You will get FTP account details by hosting Cpanel. With help of those details, you can Connect to your server.
Step 4: Delete Wp-admin & wp-includes
With help of FTP software locate the WordPress directory and delete 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 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 suggestion drop a comment below.