2 Ways To Deactivate WordPress plugins While no Access to WP Admin

Locked down from your WordPress site?

And eventually suspected the culprit plugin.

And now want to deactivate WordPress plugins to access the Admin area?

If the answer is yes for the above questions, then this tutorial is for you.

Due to some errors or some faulty plugins or themes installed. It’s quite often a WordPress user could not access their WP-Admin area.

And that could be really frustrating, as the plugin needs to be deactivated, to get the things normal. But, sadly you don’t have access to the Admin area at all. I am sure you have faced such an issue at least once.

Fortunately, there are always some workarounds or alternates. The relief part is we can deactivate the plugins from the WordPress database or even from FTP servers as well.

Deactivate WordPress Plugins from FTP/File Manager

Here we are about to disable the plugins through FTP. The process would be the same if your want to use any third-party FTP servers like Filezilla, WS_FTP server or others as well.

And in case if you don’t want to install any third party FTP servers, we can access the FTP from Cpanel as well, File Manager.

Step 1. Login to your Cpanel

Deactivate WordPress plugins

Step 2. Find File Manager and Click on it, Generally, it will be on the top section. Can vary according to the Hosting Provider.

Step 3. Now, look for public_html on the particular domain, from which you want to deactivate the plugin and Click on it to Open.

Step 4. Navigate wp_content Plugins, you will be able to see all the installed plugins here.

Select the plugin which you would like to disable, and right-click on it.

Tip: You can rename even the plugins folder if you would like to deactivate all plugins. Something Plugins_DeactivePlugins. Consider it, when you don’t know which plugin has caused the issue.

Deactivate WordPress plugins

Step 6. Now Rename the plugin, that could be anything, even adding an underscore is also enough to disable the plugin.

If that is the plugin because of which you were not able to log-in to your Wordpress Amin area. Then you might be able to do it now.

Let’s see one more alternate, deactivating plugins from the WordPress database phpMyAdmin way as well.

Deactivate WordPress Plugins from the Database using phpMyAdmin

Probably you might feel the above FTP version simple. Even this is not a rocket science. The only thing is we have to be careful while editing the WordPress database.

So, let’s see how could you deactivate plugins from phpMyAdmin, Step-by-Step.

Step 1. Same process as above, firstly login to your Cpanel

Deactivated WordPress plugins

Step 2. Find phpMyAdmin from the Database section and Click on it.

You will find a huge list containing all the tables in the database starts with wp_

Step 3. Now, from your WordPress Database, Click on the wp-options table.

Deactivated WordPress plugins

Step 4. Find active_plugins, which is an option_name.

Step 5. Now Click on the Edit button next to it, as shown in the above image.

This will be redirected to the next screen where you would be able to see all the installed plugins names in the box. Below option value section.

Deactivated WordPress plugins

Step 6. Replace those values with a:0:{} and hit that small Go button at the bottom.

There you go, you have deactivated all the plugins from the database.

These are the fantastic ways to deactivate the plugins and themes when you are locked down from your WordPress Admin area.

Both the ways work well, but first one is much simpler. But, it’s good to know some alternates as well.

If due to the plugins you were locked down and not able to access the WordPress Admin area. Then you must be able to do it now.

Deactivate WordPress plugins

Once you are back to the sweet WordPress Dashboard back again, you might find notifications. The plugin has been deactivated, as we can see in above image.

WordPress Errors are quite common, like WordPress white screen of death is quite famous, which turns the screen into white completely. We need to deal with those. 🙂

Consider sharing it, if this helped you rectifying the issue. Do let us know if you find any issue in the comments. Thanks!


2 thoughts on “2 Ways To Deactivate WordPress plugins While no Access to WP Admin”

  1. I loved it, worked great for me. tried deactivating from from WordPress database. Now I am able to access my WordPress Dashboard. Yipee!

Leave a Comment


Subscribe To QuestionCage

Glad to see your Visit at QuestionCage!

One more step to connect ahead "Subscribe to Us" and get the updates to your inbox directly.

You have Successfully Subscribed to QuestionCage!

QuestionCage Logo Main

Better Security for your WordPress Blog

Get rid of all the Malware injections and stay away from vulnerabilities. Spend a few minutes and sleep tight. 

You have Successfully Subscribed!