Plugins and themes

How to deactivate a WordPress plugin without admin access

You can deactivate a WordPress plugin without admin access by making its folder temporarily unavailable through hosting File Manager or SFTP. Start with the plugin named in the error or the recent change. This stops its code loading; it does not repair the plugin or restore its feature.

Time: 15-30 minutes once hosting access is available Level: Hosting file access required
Neil McNaught, founder of BugShield and WordPress author
Written by
Written by
Updated
Updated

Recover access when the Deactivate link is out of reach

When a plugin breaks the dashboard, its normal Deactivate link is out of reach. Your hosting account gives you a separate way to reach the site's files and interrupt that plugin's loading. This guide explains how to identify the right folder, recover the Plugins screen and keep the faulty extension inactive while its repair is arranged.

Installed Plugins screen showing Deactivate for active plugins and Activate for an inactive plugin
The Plugins screen is the checkpoint after file-based recovery. An inactive plugin shows Activate, as Hello Dolly does in this unchanged 2020 training example. Follow the folder-restoration order below before checking that state; the pictured plugins are examples, not identified faults. Credit: WordPress Training Team / Learn WordPress, CC BY-SA 4.0.

Check recovery access and the effect of disabling the plugin

First check the site's administration inbox for a WordPress recovery email. Its private link can let you sign in and deactivate the identified plugin from the dashboard. The critical-error guide explains Recovery Mode and the logged-out verification it requires.

For file-based recovery, you need the hosting account or an existing SFTP account. SFTP transfers files over an encrypted connection; use the host's supplied connection details rather than guessing them. You cannot install a dashboard File Manager plugin while the dashboard is inaccessible.

Ask the host for a current snapshot or follow the backup guide before changing files. Disabling WooCommerce, a membership plugin, security controls or a builder interrupts the features it provides. Arrange maintenance access controls through hosting where needed and keep customer transactions paused until the feature is tested.

Find the correct website and plugin folder

Open File Manager in the hosting panel and select the directory assigned to the affected domain. Confirm it contains wp-admin, wp-content and the expected site files. With SFTP, connect through your client and open that same host-confirmed directory.

Open wp-content/plugins. This procedure covers a plugin stored in its own folder; ask the host to handle an identified single-file plugin instead. Match the folder to the path in the error, such as wp-content/plugins/example-plugin/, or ask the host to identify it from the plugin's name. Record the original folder name exactly. Do not rename the whole wp-content directory.

Rename one plugin and make the deactivation persist

  1. Select the identified plugin folder and choose Rename. Add .disabled to its name, for example example-plugin.disabled. Leave the files inside intact.
  2. Try opening the normal dashboard login. If it works, sign in and visit Plugins > Installed Plugins, whose address ends in /wp-admin/plugins.php. WordPress can now record that the previously active plugin file is missing.
  3. Keep that Plugins screen open. Return to File Manager and restore the folder's exact original name, then refresh the Plugins screen. Confirm the plugin is listed as inactive and do not activate it yet.
  4. Open the public site in a private window. Check the original error and note which feature remains unavailable because the plugin is inactive.

If the dashboard still fails

If renaming that folder makes no difference, restore its recorded original name and obtain the matching PHP error from hosting. Follow the logging guide only if the host needs additional evidence. Avoid repeating unrelated folder changes until you lose track of the active configuration.

A host or developer can use a broader isolation test when the error gives no usable lead. On a live shop that requires a maintenance plan and a record of essential plugins before disabling them. Use the staging conflict guide for deliberate testing once access is restored.

Must-use plugins, hosting integrations and files such as cache drop-ins are not managed like ordinary plugin folders. A Multisite network can also share a plugin across several sites. Ask the network administrator or host before changing those components.

Repair before reactivation

Check the plugin author's support notes for the error and installed version. Test a compatible fix or a carefully planned rollback on staging. Leave the failing release inactive until the original action works with its feature restored.

After applying the repair, activate the plugin through the Plugins screen and repeat the failed action, a public-page check and the relevant form or checkout test. If the error returns, use the recorded folder route to disable it again and send the evidence to its maintainer. Remove temporary maintenance restrictions only after the required customer features pass.

Official reference

WordPress describes plugin deactivation through file access, including visiting the Plugins screen before restoring folder names.

Get help with the next step

If the folder is unclear or disabling it affects your shop or login protection, ask BugShield to recover access. Send the error and recent changes so a developer can assess a targeted recovery and confirm a price.

Questions answered

How to deactivate a WordPress plugin without admin access FAQs

Will renaming a plugin folder delete its settings?

Renaming does not run the plugin's uninstall process or deliberately delete its settings. Its feature stops loading, and dependent features can be affected. Preserve a backup before recovery work.

Why did the error return when I renamed the folder back?

WordPress can still consider the plugin active if you restored its path before visiting the Plugins screen. Rename it again, sign in, visit Installed Plugins, then restore the original folder name and confirm it is inactive.

Can I use File Manager instead of FTP?

Yes. Your hosting panel's authenticated File Manager can rename the same folder. SFTP is another route when your host provides it; no terminal commands are required.

Should I rename all plugin folders?

Start with the identified plugin. Broad deactivation interrupts unrelated features and needs controlled testing, preferably on staging. Ask for help if the error gives no usable lead.

What if I have no hosting or SFTP access?

Use a valid WordPress recovery email if available, or contact the account owner or hosting support. This file-based method requires authorised access to the site's files.

Need a hand with your WordPress site?

Tell us what happened and where you got stuck. A BugShield developer can help you work out the next step and confirm a price for the fix.

Explore help with this issue

Accessibility settings

Adjust how this site looks and moves. Your choices are saved in this browser.