How to Rollback WordPress Plugin to Previous Version(2 methods)

Sometimes a plugin update can break the WordPress site, or can break a certain functionality. Especially, when you have the plugin auto-update enabled (see how to enable auto-updates). In that situation, you may need to restore the site to a previous version of the backup to make it work. But restoring the whole website just to rollback a plugin version is too much.

Instead, you can just rollback the version of the specific plugin which has been broken. In this article, I have explained two different methods to rollback a plugin to its previous version.

1. Rollback WordPress Plugin Version Manually

This is a manual method. In this method, you need to download the older version of the plugin from the WordPress plugin repository and install it on the WordPress plugin installation page.

This method is not very geeky, so you can follow this method without any risk. Otherwise, follow the below mentioned 2nd method for rollback plugin version with WP Rollback plugin.

Before following this method it is recommended to create a full backup of the website. Normally, all popular hosting providers have an auto-backup option which creates a backup of the website automatically.

This site is hosted with Hostinger and they have a daily auto-backup option. Or, follow this guide to create a full backup of the site including the database.

Next, follow this step-by-step guide to manually rollback a plugin update.

STEP 1:

Open the plugin’s page on the WordPress plugins repository. You can find the plugin on the following link https://wordpress.org/plugins/.

STEP 2:

On the plugin’s page select Advanced View at the right sidebar.

Advanced View Of Plugin Page
Advanced View of WordPress Plugin Section

STEP 3:

On the Advanced View, section scroll down to the bottom of the page. You will find all the available versions of that plugin under the Development Version dropdown.

Select the version you want to rollback to and download it.

Download Old Version Of Wordpress Plugin
Download Older Version of WordPress Plugin

STEP 4:

In this step, you need to install the downloaded version of the plugin using the manual plugin installation method.

But, before that, make sure that the auto-update for that plugin is disabled. Otherwise, again it can get updated automatically to the newer version, and you may face the same issues.

To disable auto-update open the Installed Plugins page and click on the Disable auto-update link.

Disable Auto-Update For A Plugin In Wordpress
Disable auto-update of plugin

After disabling the auto-update, open the Add New page under Plugins. Then, click on the Upload Plugin button.

Manually Install Plugin On Wordpress
Manually Upload Plugin on WordPress

Click on the Choose File button and select the downloaded plugin zip file, and click on the Install Now button.

Upload Plugin To Wordpress
Install Plugins from ZIP

On the next screen you can see the installed version and the version you are going to install. You will be asked if you want to replace the current version with the uploaded. Click on the Replace current with uploaded to proceed the plugin version rollback.

Replace Current Wordpress Plugin With Uploaded Version
Replace the Installed Version of the Plugin with the Uploaded version

On the next screen, you will get a message that the plugin downgraded successfully.

Wordpress Plugin Rollback Message
WordPress Plugin Version Rollback/Downgrade

2. Rollback WordPress Plugin Version using WP Rollback

Using the WP Rollback plugin you can rollback plugin versions in a few clicks.

It is recommended to make a full backup including the database of the site before the rollback of the plugin version.

STEP 1:

Install and activate the WP Rollback plugin to your WordPress website.

Wp Rollback Plugin Installation
WP Rollback Plugin to Rollback Plugin Version

STEP 2:

After installing the plugin you can see the Rollback option under the plugins on the WordPress Plugins page.

To rollback a plugin version click on the Rollback link.

Rollback Wordpress Plugin Version Using Wp Rollback
Rollback Plugin Version using WP Rollback

STEP 3:

Select the version you want to rollback to and click on the Rollback button.

Downgrade Wordpress Plugin Using Wp Rollback
Rollback Plugin Version

STEP 4:

It will ask for your confirmation to perform the rollback. Click on the Rollback button to proceed with it.

Plugin Rollback Confirmation By Wp Rollback
Rollback Confirmation Message from WP Rollback

Finally, you will get a confirmation message that the plugin updated successfully. Don’t be confused with the message, because it says ‘plugin updated successfully’. Actually, it updated the plugin version with the older version you selected at the time of rollback.

Rollback Successful Message By Wp Rollback
Rollback Successful Message by WP Rollback

The first method might seem a bit tricky at first sight, and the second one, as any other plugin installation, might cause some unpredictable problems with the website.

So, if you have any issues with your website – leave the headache for professionals! Feel free to contact me through the contact page and get the prompt and qualified aid for your website.

Nur Islam

Leave a Reply