HOW TO DEACTIVATE/DISABLE WORDPRESS PLUGINS WITHOUT ACCESSING WP-ADMIN?

While troubleshooting any WordPress issues, you are asked to deactivate all plugins and activate them one by one. This sounds very easy if you have access to WordPress dashboard, but what if you do not have access of wp-admin !!! Most of the times, when you are being asked to deactivate all plugins, you have already locked yourself out from accessing the WordPress dashboard.

In this article, we are going to show you, how you can deactivate all WordPress plugins when you do not have access to the WordPress dashboard.

Deactivate All Plugins Using cPanel file manager

You can deactivate all WordPress plugins through cPanel file manager. In both cases, you just need to navigate to the/wp-content/ folder and rename it. Following are the complete steps for cPanel file manager method:

  1. Login at cPanel, Under Files section, Go to File Manager. Don't know how to login to cPanel? Please refer to how to login to cPanel.

  2. Expand the public_html folder, and navigate to the /wp-content/plugins folder.



  3. Right-click on the plugins folder and rename it like plugins.old. This will deactivate all of the plugins at once.



  4. Now, reactivate the plugins folder again by renaming it back to plugins. This will allow you to access the WordPress Dashboard again.

  5. Now you can activate one plugin at a time until your website breaks again. When it does, you’ll know the culprit plugin.

Deactivate all plugins through phpMyAdmin

You can also deactivate all plugins through phpMyAdmin. Following are the complete steps.

  1. Login at cPanel, under Databases section, locate phpMyAdmin and click on it.

  2. You will be redirected to phpMyAdmin control panel.

  3. At phpMyAdmin control panel, from the left hand side pane, select your WordPress database.

  4. Now, from the right-hand side locate the table wp_options and click on it.

  5. Under the option_name column (field) find the active_plugins row.

  6. Click on option_value field and change it to: a:0:{}

    Deactivate All Plugins From phpMyAdmin

Deactivate all plugins through FTP

  1. Connect your WordPress content using FTP. Looking to connect FTP? Please refer to how to connect FTP for more details.

  2. Go to the public_html/wp-content/plugins folder.

  3. Right-click on the plugins folder and rename it.



  4. This is it. You have deactivated plugins of your Wordpress website.

Related Articles

How to Increase maximum execution time for a WordPress Site?

You may receive the below error for your Wordpress while installing/updating themes or plugins....

How to Defer Parsing of JavaScript in WordPress?

If you have tested your WordPress website speed in the website speed testing tool GTMetrix, you...

How to find Database details of your Wordpress in cPanel?

This article is for you if you are a Wordpress beginner and don't know how to find your Wordpress...

How to Install and Configure W3Total Cache WordPress Plugin?

Installing a caching plugin is the most effective way to accelerate the page loading speed of...

  • 1 Users Found This Useful

Was this answer helpful?