How to deactivate all WordPress plugins by renaming the plugins folder

Updated on September 1, 2025

You can rename the WordPress plugins folder as a quick way to deactivate all plugins. This technique is typically used when a site is crashing, and you need to determine whether a plugin is causing the issue. If you rename the plugins folder and the site becomes accessible, you know the issue is probably due to a plugin. You can then restore the plugins one-by-one until you narrow down the specific plugin.

Instructions

  1. Backup your WordPress website

    Always make a backup before modifying system files. See How to build a good backup strategy for your WordPress website.

  2. Make a note of which plugins are activated right now.

    If you later revert the folder back to “plugins”, all plugins will be deactivated. You will need to manually activate each one. If you want to restore to exactly the same state, make a note of which ones are activated or deactivated.

  3. Connect to your WordPress files with a file browser or SFTP/FTP client

  4. Once connected, navigate to the wp-content folder

  5. Look for the plugins folder inside wp-content

  6. Rename the plugins folder to something else

    WordPress will automatically disable all plugins when it cannot find the plugins folder. To keep the folder nearby, rename it to something like plugins.old or plugins.deactivated.

  7. To restore, rename the folder back to plugins

    All plugins will be disabled, and you will need to reactivate each one manually.

Reference

License

Licensed under CC BY 4.0

You are free to share and adapt this content for any purpose as long as you give appropriate credit in a reasonable manner.

No affiliate links

We do not participate in affiliate marketing, and we are not paid to mention products.

Leave a Reply

Your email address will not be published. Required fields are marked *