WordPress plugins can break websites and even cause you to get locked out of the admin area of wordpress. So how do you fix the problem when you can’t login to deactivate the plugin? Here’s the solution.
Fire up your favorite ftp client. Open the remote directory plugins folder and find the plugin you want to deactivate. Rename the folder something like my-plugin-deactivate.php.
If you happen to deactivate the plugin causing the problem, you should now be able to log back into the admin area of wordpress. If however, you have doubt as to which plugin is causing the problem, you can always rename the entire plugin directory and it will deactivate all of them at once.
When you need to troubleshoot an issue with your wordpress site, the first place to check is your plugins. If you didn’t make any recent changes to any files then a plugin is usually too blame. Renaming files is a quick fix to deactivate them.
This is the best possible solution if you get locked out of the admin area of wordpress. If you don’t use an ftp client, then login to your web host server control panel and use the file manager to rename the files.
If this didn’t solve your problem, contact me or connect with me on twitter and I’ll beat you over the head with some more solutions that should help you fix your wordpress site.