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 enable WordPress Maintenance mode?

You can set a wordpress maintenance page when updating your website. Such updates could be...

How to fix WordPress admin redirection to a different domain?

It is annoying when you try to access your WordPress admin page and it redirects to a different...

How to Disable the wp-cron.php in WordPress?

Wordpress uses wp-cron.php to schedule the task for the wordpress websites, such as scheduling a...

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

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

  • 1 Users Found This Useful

Was this answer helpful?