WordPress Disable Plugin

Want to learn how to disable one or more plugins in WordPress? You’ve come to the right place!

Sit back and relax as we dive into how you can disable WordPress plugins.

Disabling One Plugin:

To disable a plugin in WordPress, navigate to your admin panel at:

http://www.[yoursite].com/wp-admin

If you’re unable to access your admin panel, click here

Log in with your admin account, and then click on the ‘Plugins’ link on the left side menu. This leads you to a page that lists all your installed plugins, both active and inactive.

disable plugin

Circled above in strawberry is the link to activate a plugin which is current inactive. In blueberry, the link to deactivate a plugin which is currently active. Use these links to disable the plugin you need disabled.

A notice will appear at the top indicating that the plugin has been disabled successfully.

Disabling All Plugins:

If you’d like to disable all the plugins in WordPress, navigate to your admin panel at:

http://www.[yoursite].com/wp-admin

If you’re unable to access your admin panel, click here

Use your admin credentials to log in and click the ‘Plugins’ link on the left side menu. The ‘Plugins’ link goes to a listing of all your installed plugins.

disable plugin wordpress

Circled above is the checkbox which will select or deselect all the other checkboxes. One click will select every plugin and allow you to apply a bulk action.

After selecting all plugins, apply the bulk action ‘Deactivate’ from the bulk action dropdown and click ‘Apply’.

wordpress disable plugin

Disabling All Plugins Without Admin Panel Access:

It’s all fun and games when you have access to your admin panel – turning plugins on and off is as easy as flipping a switch. What happens if you don’t have access to your admin panel, however?

WordPress users might find themselves with a broken admin panel for a number of reasons, such as the common 500 internal server error. If this is the case, you can disable one or all plugins directly from your MySQL database without using the WordPress admin.

To do this, open your site database via your web panel, your favorite database editor, or the terminal. Identify the database your WordPress install uses, and then the options table – often prepended with ‘wp_’ as wp_options. Update the following SQL to match your table name, and run it:

SELECT `option_value` FROM `wp_options` WHERE `options_name` = 'active_plugins';

This will spit out a string that tells WordPress which plugins are currently active. Save this, as you’ll need it later.

Next, you’ll want to clear out the ‘active_plugins’ value in the database:

UPDATE `wp_options` SET `option_value` = '' WHERE `options_name` = 'active_plugins';

Clearing that out will result in disabling all plugins. Congratulations!

If one was causing you to lose access to the site or admin panel, your access should now be restored. Remember if you’d like to set the plugins back exactly as they were you can use the value you saved earlier with this query:

UPDATE `wp_options` SET `option_value` = 'YOUR-STRING-SAVED-FROM-EARLIER-GOES-HERE' WHERE `options_name` = 'active_plugins';

Swapping in the string saved from earlier. This will enable any plugins that were previously enabled, while leaving any disabled that were previously disabled.

Join the Conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *