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 add Google reCaptcha Protection on Wordpress?

Google reCAPTCHA is a free service from Google which helps to protect your websites from spam and...

How To Fix An Error "The Uploaded file could not be moved to WP-Content/Uploads" folder?

Sometimes you receive following error while trying to upload new Media/Images to your WordsPress...

How to Deactivate Wordpress Plugins from phpMyAdmin and using FTP When Not Able to Access WP-Admin?

While doing troubleshooting for any of the websites, you might be suggested to deactivate all the...

How to solve Too Many Redirects Error in WordPress?

Wordpress is one of the most used CMS in the World. You may find some issues in Wordpress due to...

How to enable two factor authentication in Wordpress?

We will learn how to enable two-factor authentication in Wordpress using Google Authenticator in...

  • 1 Users Found This Useful

Was this answer helpful?