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 restore your WordPress website from backup?

This article describes step by step guidance on how to restore WordPress website from backup. You...

How to Move WordPress From Root Directory to Subdirectory?

Sometimes you wish to install WordPress in root (wwwroot/public_html) directory, but you do want...

How to Use WP_DEBUG?

Introduction PHP is a well known programming language used by Wordpress having its own debugging...