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 fix an error SSL certificate problem, verify that the CA cert is OK?

You may encounter this error while performing actions like theme/plugins installation or...

How to Enable PHP Error Log for a WordPress website?

Wordpress is widely used open-source CMS and it is coded in PHP and MySQL. Wordpress provides a...

How to Fix White Screen of Death Error in WordPress?

Everyone who is involved in WordPress development must have faced this annoying white page...

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...