Home / WordPress / Disable WordPress Plugins Without Admin Access

Disable WordPress Plugins Without Admin Access

Disable plugins when you cannot access wp-admin by renaming folders or changing active_plugins in the database.

Views: 24 Unique: 19 Updated: 2026-03-18

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

  1. Rename wp-content/plugins to plugins.disabled.
  2. Test the site.
  3. Rename back to plugins.
  4. Create a new folder plugins and move plugins back one by one to identify the culprit.

Method B) Disable plugins via database (active_plugins)

  1. In phpMyAdmin open {prefix}options.
  2. Find active_plugins.
  3. 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
Back to category