How-To Guides and Blog

☕️ Disable WordPress plugins via FTP or within PHPMyAdmin

NBH Support
No Comments

When developing or debugging a WordPress website it might be necessary to disable all your currently enabled WordPress plugins at once. Often if you need to do this, you might not be able to access the plugins section within Wp-Admin. One of most common reason I’ve seen for this is the WordPress White screen of death. In this guide we are going to show you a few different ways to achieve this.

Disabling plugins via FTP or FileManager

The easiest way to temporarily disable all plugins on a WordPress site is to simly rename the plugin folder to something else. Ths will temporarily deactivate all the plugins without saving the deactivations in the database.

To rename the folder simply login to your cPanel and under File Manager go to the folder where you’ve installed WordPress, then open the /wpcontent folder and inside it is the /plugins folder.

Once you are done troubleshooting your WordPress site, don’t forget to rename back the plugins folder to its original name.

Disabling the plugins within PhpMyAdmin

Login to the relevant PhpMyAdmin, locate the wp_options table, find the active_plugins option and edit the value to be a:0:{}

Or you can run the following query within PhpMyAdmin or a similar MySQL manager

UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';