How do I disable a WordPress plugin if I can’t access the dashboard?

How do I disable a WordPress plugin if I can’t access the dashboard?

You can manually disable the plugin by renaming its folder. If WordPress has sent you an email with a recovery mode link, first try following that link and disabling the plugin identified there.

To disable it manually, connect via SFTP or open a file manager available in your hosting account. Within your WordPress installation directory, open wp-content/plugins, find the suspected plugin’s folder and add the suffix “-disabled” to its name. Do not delete the folder or change other directories.

Try logging in again. If you succeed, also check any site features that relied on the plugin. Leave it disabled until you identify the cause. After restoring the folder’s original name, you can reactivate it from the dashboard, but the problem may return.

RELATED QUESTIONS

Here are a few more questions whose answers may interest you. We answer important, practical questions for our customers.

SUBSCRIBE TO OUR NEWSLETTER

Join our newsletter. We only use it to share important information.

Newsletter subscription illustration