How to Deactivate All 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 FTP/cPanel file manager

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

Deactivate All Plugins From cPanel

  1. Login at cPanel, Under Files section, Go to File Manager.
  2. Select Web Root (public_html/www) and click Go.
  3. Expand the public_html folder, and navigate to the /wp-content/plugins folder.
  4. Right click on the /wp-content/plugins folder and rename it like plugins.old. This will deactivate all of the plugins at once.
  5. Now, reactivate plugins folder again by renaming back to plugins. This will allow you to access the WordPress Dashboard again.
  6. 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:

Deactivate All Plugins From phpMyAdmin

  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:{}


  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to Change WordPress Admin Username through MySQL Database?

This article will provide you the step by step guidance on how to change the WordPress admin...

How to Add GOOGLE Analytics on Wordpress Website?

Google Analytics is one of the popular tools to get detailed statistical information about...

How to reset WordPress admin user's password?

There are several ways to reset WordPress admin user password in WordPress. A simple method is to...

How to secure complete backup of your WordPress website?

We do maintain the backup of our shared hosting clients' accounts regularly, however it is highly...

How to change the Site URL and Home URL Settings in WordPress?

WordPress offers two configurable URLs namely WordPress address and Site address to load the...