How to Deactivate all WordPress Plugins (When No Access to WP-Admin)

Want to deactivate all WordPress plugins? But no access to WP-admin dashboard?Ā You can simply deactivate all plugins using hosting control panel or FTP?
Some WordPress errors are really worst that lock you out from your WP-admin dashboard. In this case, you need to be little technical because youāre going to manipulate back-end elements.
Need not to worry much about, itās easy to disable all WordPress plugins from back-end if you follow our step by step guide.
You can do this either via FTP connection or cPanel. Here I will explain three methods.
- Deactivate WordPress plugins using FTP
- Deactivate WordPress plugins using cPanel File Manager
- Deactivate WordPress Plugins using phpMyadmin
Ā You can use any method, first two are the easiest.
Note: If you have any doubt, let me clarify.Ā Youāre deactivating plugins, not uninstalling. Deactivating plugins wonāt affect your website or plugin setting. Once you activate them, all settings will be restored.
Deactivate All WordPress Plugins Using FTP
Ā» Login to your websiteās FTP client.
Ā» Once connected, navigate to the wp-content folderĀ
Ā» Click wp-content to see āpluginsā folder. Here all your WordPress plugins installation information are present .
Ā» Right-click and rename āpluginsā to āplugins.deactivateā to deactivate all installed plugins.
Ā» Check if youāre able to access your WordPress admin dashboard. If yes? there is an issue with one of the installed plugins.
Ā» Now rename the āplugins.deactivateā folder back to āpluginsā. Doing this wonāt activate all your plugins.
Ā» Now, using the WordPress admin dashboard, activate plugins one by one until your website breaks again. At this point you know which plugin exactly causing the issue.
Deactivate All WordPress Plugins Using File Manager in cPanel
Ā» Login toĀ your hosting and navigate to cPanel
Ā» Click on the file manager [If you have multiple domains in your hosting, then select the domain where you want to deactivate all the plugins]
Ā» Open wp-content folder to find plugins folder
Ā» Rename the plugins folder to plugins.deactivate to deactivate all the plugins at once [If you want to deactivate a particular plugin, then open plugins folder, select the plugin and right click and deactivate]
Ā» After you get access to your wp-admin dashboard, rename the plugins folder back to the original āpluginsā and hit save.
Ā» Now, open wp-admin dashboard, and activate the plugins one by one.
Deactivate All WordPress Plugins Using phpMyAdmin
Ā» Login toĀ cPanelĀ or Login to your host andĀ openĀ cPanelĀ from there.Ā
Ā» Navigate to PHP My AdminĀ underĀ āDatabasesā folder.
Ā» Under PHP My Admin,Ā search for active_plugins.Ā
Ā» Once you find it, click on edit. Replace the code in option_value field with a:0:{} and hit āGoā to save the changes.Ā
Ā» Now, you have successfully deactivated all the plugins using PHP my admin.Ā
Ā» Check if you have access to WP admin dashboard now, if yes? Then there isĀ an issue with one of your WordPress plugins.Ā
Ā» Activate plugins one by one until your website breaks again to know which particular plugin is causing the error.Ā
Uninstall the plugin and report it to the plugin author, Hope this helped you deactivate all plugins in WordPress.
Some Other Helpful Articles
[Easy Fix] WordPress Stuck in Maintenance Mode
An Automated WordPress Update Has Failed to Complete [Solved]
[5-Min Fix] 500 Internal Server Error in WordPress