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 make a WordPress Website Search Engine Friendly?

You can make your WordPress blog SEO-friendly by configuring the URL structure with permalinks....

How to upgrade WordPress Plugins?

Just updating WordPress core won't make your WordPress fully secure. Updating a plugin...

How To Secure WordPress ADMIN Area?

There have now been several large scale WordPress wp-login.php brute force attacks, coming from a...

How to manage pages in WordPress

How to manage pages in WordPress This tutorial assumes you've already logged in to WordPress,...

How to Migrate / Transfer your WordPress Website to AccuWeb Hosting Server?

Open your cPanel account and under Files section, locate Backup Wizard. Click on the Backup...