How to Deactivate All WordPress Plugins Without Admin Access
When your WordPress site suddenly breaks and you can’t access the admin dashboard, the issue is often caused by a faulty plugin. This can lead to errors like a white screen, 500 internal server error, or a site that won’t load at all.
Fortunately, you can still fix the problem even without logging into your WordPress dashboard. Below are two safe and proven methods to deactivate all plugins and restore access to your site.
Method 1: Rename the Plugins Folder (Safest Option)
This is the easiest and most recommended method because it does not delete any plugin data or settings.
Steps:
- Connect to your website using an FTP client (like FileZilla) or your hosting File Manager (cPanel or Plesk).
- Open the wp-content folder.
- Find the folder named plugins.
- Rename it to something like plugins-disabled or plugins-old.
- Try accessing your website or login page again.
What happens next?
WordPress automatically deactivates all plugins because it cannot find the plugins folder. However, all plugin settings remain safely stored in your database.
How to restore plugins:
- Rename the folder back to plugins
- Log into your WordPress dashboard
- Go to Plugins → Installed Plugins
- Reactivate plugins one by one to identify the issue
Method 2: Disable Plugins via phpMyAdmin (Advanced Users)
If you are comfortable working with databases, you can manually deactivate plugins using phpMyAdmin.
Steps:
- Open phpMyAdmin from your hosting control panel.
- Select your WordPress database.
- Open the wp_options table (your prefix may vary).
- Find the row with the option name active_plugins.
- Edit the value and replace it with:
a:0:{}- Save your changes.
Important warning:
The active_plugins field uses serialized data. Editing it incorrectly can break your site. If you are unsure, use Method 1 instead.
What to Do After Deactivating Plugins
Once your site is accessible again, follow these steps:
1. Test your website
Check if your homepage and admin panel load properly.
2. Reactivate plugins one by one
Enable each plugin individually and test your site after each activation. This helps you identify the plugin causing the issue.
3. Clear your cache
If you use caching plugins or server caching, clear all cached data before testing.
4. Check error logs
Your hosting provider’s error logs can help you find the exact cause of the problem.
Fixing WordPress Maintenance Mode Issues
If your site is stuck showing:
“Briefly unavailable for scheduled maintenance. Check back in a minute.”
Follow these steps:
- Access your site files via FTP or File Manager.
- Look for a file named .maintenance in the root directory.
- Delete this file.
- Refresh your site.
Your website should return to normal immediately.
Final Thoughts
Most WordPress site crashes are caused by plugin conflicts or failed updates. Deactivating all plugins is the fastest way to regain control of your website.
The safest method is renaming the plugins folder, while phpMyAdmin should only be used if you are confident working with databases.
Always make a full backup before making changes so you can restore your site if needed.
Join the conversation