What this problem is
You need to disable one or more plugins but cannot access the WordPress dashboard.
Why it happens
- A plugin broke wp-admin or the frontend
- Login is blocked or redirects incorrectly
Prerequisites
- FTP/File Manager access (method A)
- phpMyAdmin access (method B)
Diagnosis
If the site returns 500 or blank screens, start with the file method (fastest and reversible).
Detailed steps
Method A) Disable all plugins by renaming the plugins folder
- Rename
wp-content/pluginstoplugins.disabled. - Test the site.
- Rename back to
plugins. - Create a new folder
pluginsand move plugins back one by one to identify the culprit.
Method B) Disable plugins via database (active_plugins)
- In phpMyAdmin open
{prefix}options. - Find
active_plugins. - Set it to an empty serialized array:
a:0:{}.
Expected results
- Plugins disabled and site/admin accessible again
What to do if it fails
- Switch to a default theme to rule out theme issues
- Check must-use plugins in
wp-content/mu-plugins
Best practices
- Keep FTP and database access secured
- Use staging to test new plugins