How to Disable WordPress Plugins Without Admin Access

When locked out of wp-admin, disable problem plugins through cPanel File Manager or the database in phpMyAdmin.

· Updated · 2,684 views

When a plugin breaks your site and you cannot reach the dashboard, you can still disable it through cPanel. WordPress treats a renamed plugin folder as inactive, which is the fastest recovery.

Disable All Plugins at Once

  1. In cPanel, open File Manager and go to wp-content.
  2. Rename the plugins folder to something like plugins_off.
  3. Reload your site. With no plugins folder, WordPress deactivates them all.
  4. If the site works, rename the folder back to plugins. The plugins stay deactivated until you re-enable them one at a time.

Disable a Single Plugin

If you know the culprit:

  1. Open the wp-content/plugins folder.
  2. Rename only that plugin's folder, for example seo-plugin to seo-plugin_off.
  3. Reload the site to confirm it recovered.

Disable Plugins via the Database

If file renaming is not enough, clear the active plugin list in phpMyAdmin:

  1. Open phpMyAdmin and select your database.
  2. Find the wp_options table and locate the row where option_name is active_plugins.
  3. Edit the option_value field and replace its contents with:
a:0:{}
  1. Save. This empties the active plugin list without deleting any files.

Once you regain access to the dashboard, re-activate plugins one at a time to find the exact one causing the problem.

Was this article helpful?

Your feedback helps us improve our documentation.

Still Need Help?

Our support team is available 24/7 to assist you.