Upgrading and downgrading the WordPress to a specific version is essential to get core version matches your theme and plugins to work on perfectly. However, WordPress doesn’t offer an official option to do it, so we need to do some tricks to accomplish this.
Upgrade/Downgrade Manually
You can download your desired WordPress version zip file in here.
If you already have WordPress source code file and FTP account or File Manager, this manual way would be more faster than using plugin.
Please follow these steps to upgrade or downgrade WordPress core manually :
- Delete old files
Go to your website root directory, select and delete all files and directories butwp-content
folder andwp-config.php
file.
- Copy/Upload new files
After deleted old files, you should have wp-content folder and wp-config.php file left.
Then from WordPress core package, upload/copy all folders and files except wp-content folder and wp-config.php file to your website root directory
Then you will got your desired WordPress core version without loosing any data or reinstall WordPress configuration.
Upgrade/Downgrade using Plugin
There are few plugins that would help WordPress Admin to downgrade or upgrade their site safely and easily. One of them is WP Downgrade plugin.
- Install and active plugin
You can go to Site Admin Dashboard > Plugins > Add New > search for WP Downgrade > Install > Active or download zip file in here.
- Config the desired version to downgrade/upgrade
After installed and activated successfully, please go to Settings > WP Downgrade, then enter your desired version in WordPress Target Version > Save Changes.
- Go to Update Core page
Once you saved the target version and it’s valid version, then you will see this section in bottom of WP Downgrade setting page, please follow the instruction and go to Update Core page.
- Start upgrading/downgrading
In Update Core page, you should see a Re-Install Now button to re-install WordPress core. Click on that button to start upgrading/downgrading.
The progress would take a while to complete.