☕️ Disable WordPress plugins via FTP or within PHPMyAdmin

☕️ Disable WordPress plugins via FTP or within PHPMyAdmin

Summary:

Disable all your currently enabled WordPress plugins at once via FTP or within PHPMyAdmin

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.


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.

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

1
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
Join the discussion