How to Disable Plugins Without Access to Your Admin Area

by / Wednesday, 17 December 2014 / Published in Web Hosting, WordPress

Often times during troubleshooting, many sites will recommend deactivate all plugins and activate them one by one. What’s worst is sometimes you get locked out of your WordPress admin panel, so you can’t even disable the plugins in an easy way. If you have ever faced the white screen of death, then you know exactly what we are talking about. In this article, we will show you how to deactivate all WordPress plugins when not able to access wp-admin area.

There are two methods to disabling your plugins. One requires you to use FTP, and the other requires you to use phpMyAdmin.

Disable Plugins via FTP

  • Login to your site’s files using the file manager provided by your webhosting company or using an FTP program such as Filezilla.
  • Browse to the /wp-content/plugins/ folder.
  • Find the folder of the plugin you wish to disable.
  • Rename all the plugin folder

Once you do this, all of your plugins will be disabled. Now you can activate one plugin at a time and refresh you web page, until your site breaks again. At which point, you will know exactly which plugin caused the issue.

Disable via the Database

The second option is more complicated and that is to disable the plugin via the database. First, you’ll need to access the database for your WordPress site. If you don’t know how to get to phpMyAdmin, then we recommend using the FTP method above.

In your WordPress database, go in the wp_options table. Locate the option name “active_plugins”. Now edit the value of that option and change it to this: a:0:{}

We hope that this article helps you disable all plugins in a fairly easy way.


Source: OSTraining

Leave a Reply

You must be logged in to post a comment.