Key points
- An extension causing a fatal error blocks the site and the administration area; renaming its folder in wp-content/plugins disables it without losing your settings.
- First check the WordPress recovery email; if it never arrives, the Mail module log shows why.
- The Maintenance module keeps the two previous versions of each extension and theme and can restore one of them, provided it was turned on before the update.
- nexya Pro rolls back automatically when an update breaks the site; the WordPress core is not affected.
Why the whole site goes down because of a single plugin
Before looking into how to deactivate a WordPress plugin without admin access, it is useful to understand what is happening. On the WordPress.org forums, the same question comes up every week: “the site crashes after updating a plugin”. The message varies (“Fatal error”, “There has been a critical error on this website”), but the cause is almost always the same.
WordPress loads all active plugins on every page, including in the administration area. If the new version contains a fatal error, such as a called function that does not exist or code that does not run with your PHP version, loading stops. The public site and the dashboard go down together, and the “Deactivate” button in the plugin list is no longer accessible.
The solution is therefore to prevent WordPress from loading this plugin, without going through the admin area. This is simple and safe for your content: deactivating a plugin does not delete its settings or your pages.

First, check your inbox
Since version 5.2, WordPress detects most fatal errors and sends an email to the site administrator’s address. This message indicates which plugin or theme caused the error and contains a link to recovery mode. This link opens the administration while pausing the faulty plugin long enough to deactivate it normally.
If this email arrived, it is the shortest path. If it never arrived, it does not necessarily mean WordPress did not send it: on many hostings, site emails are sent poorly or end up in spam. The nexya Mail module sends messages via SMTP, via an API, or via a Gmail or Microsoft 365 account connected via OAuth, and keeps a log of each message. When a send fails, the log displays the reason given by the server. This should be fixed before the next breakdown, not during it.
Regaining administration access and restoring the extension in four steps
-
1
Open the site files
Connect via FTP or SFTP, or open your web host's file manager, then go to wp-content/plugins.
-
2
Rename the folder of the problematic extension
Add "-off" to the name of the folder indicated in the error message, then reload the site and the login page. If you are not sure which one is causing the issue, rename the entire plugins folder and reactivate the extensions one by one.
-
3
Close the site if the extension is essential
Once reconnected, the Maintenance module's holding page shows visitors a message while you perform repairs, while you see the normal site.
-
4
Restore the previous version and reactivate
Restore the original folder name, then, in the Maintenance module enabled from the hub prior to the update, restore one of the two kept previous versions and reactivate the extension.
Deactivating a WordPress plugin without admin access, via FTP or file manager
Without a recovery email, you have to go through the files. You need FTP or SFTP access (FileZilla, Cyberduck, or the client of your choice) or the file manager in your host’s customer area. Credentials can usually be found in this customer area.
Plugins are located in the wp-content/plugins folder. Each plugin has its own folder there, whose name resembles that of the plugin. Rename the updated plugin’s folder, for example by adding “-off” at the end. Upon the next load, WordPress will no longer find the plugin file, deactivates it, and indicates this in the plugin list.
Then reload the site and the login page. If everything opens, you have found the cause. You can then restore the original folder name: the plugin remains deactivated as long as you do not reactivate it.
- Do not delete the folder: renaming it is enough, and it is reversible.
- If several plugins were updated at the same time, start with the one named in the error message.
- The path indicated in the error message (…/wp-content/plugins/folder-name/…) points directly to the folder to rename.
Deactivating a plugin does not delete its settings or your content. Renaming its folder is enough.
When you do not know which plugin is at fault
Sometimes the screen only displays a generic message without a name. Two ways to proceed. The first: enable the WordPress debug log by adding WP_DEBUG and WP_DEBUG_LOG as true in the wp-config.php file. The error is then written to wp-content/debug.log, along with the file in question. Remember to remove these lines once the issue is resolved.
The second: rename the plugins folder itself, for example to plugins-off. All plugins are then deactivated at once. If the administration returns, restore the original name, then reactivate the plugins one by one from the list, reloading the site between each one. The last one reactivated before the crash is the right one.
If the error comes from the theme, the method is the same in wp-content/themes: by renaming the active theme’s folder, WordPress falls back to a default theme if one is installed. And if your host gives access to WP-CLI, the command wp plugin deactivate followed by the folder name does the same job without touching the files.
Restoring the previous version instead of staying without the plugin
The site is back, but the deactivated plugin was probably doing something useful: a form, a shop, fields. Waiting for a fix from the publisher can take days. The safest bet is to revert to the version that was working the day before.
This is one of the tasks of the nexya Maintenance module. Before each update, it keeps the two previous versions of each plugin and theme, and can put one of them back in place. You get the plugin back as it was before the update, you reactivate it, and you update later when a fixed version is released.
One condition: the module must be turned on before the update that breaks things, since that is when it copies the old version. Like every nexya module, it is turned on from the hub, and as long as it is turned off, none of its hooks run on the site.
If the extension in question is essential to the site, an online store for example, the Maintenance module’s holding page allows you to close the site to visitors while you restore the older version. You, being logged in, will see the normal site.
What is free, what nexya Pro does, and the limitations
Copying previous versions and restoring them is free, on as many sites as you want. However, you trigger them yourself, which requires having regained access to the administration area.
nexya Pro, sold on nexya.dev, adds automatic rollback: when an update breaks the site, it automatically restores the previous version. In this case, there is no longer any need to go through the files. The free version does not contain this code.
Two limitations to keep in mind. The module does not roll back the WordPress core: if the failure follows an update of WordPress itself, the renamed folder method remains valid for isolating the incompatible plugin, but not for reverting to the old version of WordPress. Furthermore, multisite networks are not supported: on a network, the plugin remains inactive and displays a notice.
- Free: the two previous versions of each extension and theme, manually restored.
- nexya Pro: automatic rollback when an update breaks the site.
- No rollback for the WordPress core, no multisite.
FAQ
Does renaming an extension folder erase its settings?
No. The settings are stored in the database, not in the folder. By restoring the original name and reactivating the extension, your settings will be recovered.
I didn't receive the recovery mode email, why?
Either WordPress could not detect the error, or the email was sent but did not arrive. The nexya Mail module keeps a log of every message and displays the reason given by the server when a delivery fails.
Can the Maintenance module restore a version I didn't have before installing it?
No. It keeps previous versions at the time of updates. Therefore, it must be turned on before the update that causes the issue.
Is automatic rollback free?
No. Manual restoration of the two previous versions is free; automatic rollback when an update breaks the site is part of nexya Pro.
The modules in this post
Try nexya Pro free for 7 days
Every module, forms, newsletters and the page cache, on your site. No commitment.