How many chickens can you spot in this pic?
Discover more
If you're unable to access your WordPress admin dashboard and need to deactivate all plugins, here are two safe, reliable methods based on WordPress.org documentation and community best practices:
✅ Method 1: Rename the Plugins Folder (Recommended for Most Users)
This method preserves all plugin settings and is safer than editing the database.
Steps:
- Connect via FTP (e.g., FileZilla) or use your host’s File Manager (in cPanel/Plesk).
- Navigate to
/wp-content/in your WordPress root directory. - Rename the
pluginsfolder toplugins.hold(orplugins.deactivated). - Visit your site or try logging into
yoursite.com/wp-admin.
→ WordPress will automatically deactivate all plugins since it can’t find them. - Once logged in, rename the folder back to
plugins. - Go to Plugins > Installed Plugins and reactivate plugins one by one to identify any causing issues.
💡 Why this works: WordPress checks for active plugins on every load. If the folder is missing, it deactivates them silently—but keeps settings intact in the database.
✅ Method 2: Clear Plugin Data in phpMyAdmin (For Advanced Users)
Use this only if you’re comfortable with databases.
Steps:
- Open phpMyAdmin (via your hosting control panel).
- Select your WordPress database.
- Find the
wp_optionstable (prefix may vary, e.g.,wp123_options). - Look for the row where
option_name=active_plugins. - Edit that row and set
option_valueto:
After Deactivating Plugins
- Test your site: If it loads, reactivate plugins one-by-one to find the culprit.
- Clear caches: Delete any caching plugin files or server-side cache.
- Check error logs: Your host’s error log may reveal PHP conflicts.
🛠️ Bonus: Stuck in Maintenance Mode?
If you see "Briefly unavailable for scheduled maintenance" after a failed update:
- Delete the
.maintenancefile in your WordPress root folder (via FTP/File Manager).
These methods resolve White Screen of Death, 500 errors, and database connection issues caused by faulty plugins. Always backup your site before making changes!


0 commentaires:
Enregistrer un commentaire