Written by Steve Burge on February 01, 2017 from ostraining.com |
Normally, disabling a WordPress plugin is very simple and straightforward.
How easy? You can login to your admin area, click the "Plugins" tab and click "Deactivate" next to the plugin.
You can see an example below with Google Analytics.
However, sometimes a plugin can make things more complicated and cannot be easily disabled.
Some plugins can cause problems with logging into your admin area. That's exactly what happened to one of our members. They changed a setting inside a plugin and suddenly started getting these errors when trying to login.
So, what do you do if you can't login to your WordPress admin and disable a plugin?:
Disable the Plugin Files
The easiest is to disable the plugin's files.
- Login to your site's files using the file manager provided by your webhosting company or using an FTP program such as Filezilla.
- Browse to the /wp-content/plugins/ folder.
- Find the folder of the plugin you wish to disable.
- Rename that folder as in the image below:
Try to login to your WordPress site. You should get a message telling you that the plugin has been disabled.
Now you can set up about solving the initial problem with the plugin, either by deleting the plugin entirely or by researching and fixing the initial error.