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 move/transfer WordPress website through FTP?

Regardless of the reason, most of people are gone through the stressful experience of moving a...

How to install Wordpress using Wordpress Toolkit in cPanel?

You can install and manage your Wordpress using the Wordpress Toolkit feature. Please refer to...

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 fix Error establishing a database connection in WordPress?

An error establishing a database connection in WordPress is a worst nightmare for all WordPress...

How to restore your WordPress website from backup?

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

  • 1 Users Found This Useful

Was this answer helpful?