Knowledge Base

How Can We Help?

How to Manually Downgrade WordPress to The Previous Version?

You are here:

Everyone knows, WordPress is an internet open supply web site creation software written in PHP. The best and strongest running a blog and web site Content material Administration System(CMS) in existence at present. On this tutorial, we’ll learn to downgrade the WordPress to the earlier model. We are able to see WordPress replace notification in WordPress dashboard when a brand new model is obtainable we will replace the WordPress from there. Additionally, you’ll be able to activate auto replace or improve and it is going to be upgraded to a brand new model when a brand new model is obtainable. Assume that your favourite WordPress plugin shouldn’t be working after updating to the most recent model. There could also be a compatibility with the plugin and new model. This can be a main drawback. In all probability we may quickly disable the plugin to resolve this subject. Assume that plugin is your most favourite plugin and also you don’t prefer to disable this plugin. You don’t fear about this example. We’ve an alternate resolution for this drawback. Probably the most really helpful options is to downgrade WordPress to the earlier model.

Please do following steps to downgrade WordPress to the earlier model.

1) Make a present backup of the positioning.

Earlier than continuing downgrade, it is best to take a present backup of that WordPress website.

There may be a variety of plugins to take a present backup of the WordPress website. Additionally, take backup of present databases.

If you’re utilizing cPanel in your host, you’ll be able to merely take full cPanel backup through the use of cPanel.

 

2) Deactivate all WordPress plugin.

Login to WordPress dashboard >> Plugins then choose “Deactivate”.

Downgrade Wp

Then choose the checkbox “Plugins” and click on “Apply”.

Downgrade Wp

Or you’ll be able to disable plugin by way of command line you probably have shell entry to your doc root.

Login to the server by way of SSH and navigate to your doc root of the WordPress website and run following command to disable the plugin.

cd wp-content/

mv plugins plugins_back

 

3) Take away present WordPress file.

Take away all WordPress recordsdata from doc root besides “wp-content” folder and wp-config.php

If in case you have SSH entry, run following command to take away present wp recordsdata.

Login to server and go to doc root of WordPress.

mv wp-content ../

mv wp-config.php ../

rm -rvf wp-*

 

4) Add earlier model WordPress file.

You may obtain the earlier model of WordPress file from right here.

https://wordpress.org/obtain/release-archive/

If in case you have SSH entry, carry out following steps to obtain and add wp recordsdata to doc root.

Go to https://wordpress.org/obtain/release-archive/

and replica obtain hyperlink from there.

Login to the server and go to the doc root.

Then run following instructions.

To obtain WordPress file.

wget https://wordpress.org/wordpress-4.8.3.tar.gz

Extract downloaded file.

tar -xzvf wordpress-4.8.3.tar.gz.

Transfer wp recordsdata to doc root.

mv wordpress/wp-*  .

Take away wp-content file.

rm -rvf wp-content

Transfer earlier wp-content folder and wp-config.php to doc root.

mv ../wp-content  .

mv ../wp-cofig.php .

Change permission to your proprietor.

chown -R your-username:your-username  ./*

 

That is the workflow to downgrade WordPress to the earlier model.

1) Take away or rename wp folders and recordsdata besides wp-content and wp-config.php

2) Add all WordPress file of earlier model besides wp-content and wp-config.php recordsdata.

Leave a Comment