If a plugin conflict or a bug prevents you from accessing the WordPress admin dashboard, you can disable all active plugins by renaming the plugin directory via your hosting control panel. This action allows you to regain access to the dashboard to identify and resolve the specific issue.
Before you begin
You will need:
Site Administrator access
Access to your hosting control panel (such as cPanel or Windows Control Panel)
The specific directory path for your WordPress installation
Disabling plugins via the file manager
Log in to your hosting control panel.
Open the File Manager (or equivalent file management tool).
Navigate to the directory where your WordPress site is installed.
Open the
wp-contentfolder.Locate the
pluginsfolder.Rename the
pluginsfolder toplugins_old.Refresh your website's login page and attempt to sign in.
Warning: Renaming the folder will immediately deactivate every plugin on your site. This may cause features or front-end elements to appear broken until the plugins are re-enabled.
Confirm the result
You can successfully log in to the WordPress dashboard.
The dashboard loads without the error that previously prevented access.
If the dashboard still does not load
If you can log in but the dashboard remains inaccessible, the issue may be caused by your theme rather than a plugin. You can test this by repeating the steps above, but renaming the themes folder to themes_old instead of the plugins folder.
Limitations
Renaming the folder to plugins_old does not delete your data or settings; it simply forces WordPress to ignore the plugin directory. Once you have identified the problematic plugin, you should rename the folder back to plugins and then deactivate the specific problematic plugin from within the dashboard.
