How Can I Deactivate All WordPress Plugins at Once?
This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.
You can deactivate all WordPress plugins at once by renaming the plugins folder via FTP or your hosting file manager. This is the standard WordPress troubleshooting technique for identifying plugin conflicts, and it works whether you’re troubleshooting WP Ghost or any other plugin. No plugins are deleted in this process, and you can reactivate them all by renaming the folder back.
How Do I Deactivate All Plugins at Once?
Connect to your site using an FTP client (like FileZilla) or your hosting’s file manager (cPanel, Plesk, hPanel). Navigate to your WordPress root directory, then into /wp-content/.
- Rename
/wp-content/pluginsto/wp-content/plugins_temp - Create a new empty folder called
/wp-content/plugins
WordPress looks for plugins in /wp-content/plugins/. When it finds an empty folder, it sees no active plugins. All plugins are effectively deactivated without being deleted. Your plugin files are safely stored in plugins_temp.
To reactivate all plugins, delete the empty /wp-content/plugins folder and rename /wp-content/plugins_temp back to /wp-content/plugins. All plugins return to their previous state.
Important: Do not visit the Plugins page in your WordPress dashboard while the folder is renamed. If WordPress detects that plugins are missing, it marks them all as deactivated in the database, and you’ll need to reactivate them one by one instead of getting them all back at once.
How Do I Test a Single Plugin for Conflicts?
If you want to isolate which plugin is causing an issue, you can test one plugin at a time:
- Rename
/wp-content/pluginsto/wp-content/plugins_temp - Create a new empty folder called
/wp-content/plugins - Copy a single plugin folder from
/wp-content/plugins_temp/plugin-nameto/wp-content/plugins/plugin-name
Now only that one plugin is active. Test your site. If the issue persists, that plugin is the cause. If the issue is gone, copy another plugin folder in and test again. Repeat until you find the conflicting plugin.
After testing, delete the empty plugins folder and rename plugins_temp back to plugins to restore everything.
When Should I Use This Technique with WP Ghost?
This is useful when you suspect a plugin conflict after activating WP Ghost’s Safe Mode or Ghost Mode. If your site layout breaks, pages return 404 errors, or specific functionality stops working, deactivating all plugins helps you determine whether WP Ghost or another plugin is causing the issue.
However, WP Ghost also provides easier recovery methods that don’t require FTP access. You can use the Safe URL parameter to temporarily bypass WP Ghost for a single request, or the Pause 5 Minutes button in the Plugins list to disable WP Ghost temporarily while you troubleshoot. For the full recovery guide, see the rollback settings tutorial.
Frequently Asked Questions
Will this delete my plugin settings?
No. Plugin settings are stored in the WordPress database, not in the plugin files. Renaming the plugins folder doesn’t touch the database. When you rename the folder back, all plugins return with their settings intact.
What happens to WP Ghost’s custom paths when I deactivate it this way?
WP Ghost’s rewrite rules in .htaccess remain in the file, but the plugin isn’t running to process them. On Apache, you may still see custom paths being redirected. When you reactivate WP Ghost, everything resumes normally. If you need to fully disable WP Ghost’s path changes, use the emergency disable method which also handles the rewrite rules.
Can I do this from the WordPress dashboard instead?
WordPress doesn’t provide a “deactivate all” button in the dashboard. You can select all plugins on the Plugins page and use the Bulk Actions dropdown to deactivate them, but this requires dashboard access. The FTP method works even when you’re locked out of the admin panel, which is why it’s the standard troubleshooting approach.
Does WP Ghost modify WordPress core files?
No. WP Ghost uses server rewrite rules and WordPress filters. No core files are modified. Deactivating WP Ghost (by any method) restores all default WordPress paths instantly.