Disabling a Wordpress plugin when you can't login
Status: Resolved
Publication date: 2019-01-25
Last edited by: Garyf
Last updated: 2023 - 11 - 11
The problem
So, recently, I upgraded my Recaptcha to Version 3 from 2 on one of my WordPress sites. But stupidly I didn’t update the keys in the Recaptcha fields before logging off the site. But, I needed to check Recaptcha before I logged in.
So, I needed to disable the plugin without logging in.
The resolution
Please note: cheekyfactor.com or the owners of this site cannot be held responsible if things go wrong. You perform these tasks at your own risk.
Device: Server
Operating system: Ubuntu
Software: Wordpress, Recaptcha
Guidance for Server, Ubuntu, Wordpress, Recaptcha
To disable the plugin I logged into my cPanel, going into the file manager then navigating:
public_html/wp-content/plugins
Find the extension you want to remove, in this case just an example, I am going to deactivate loginpress:
Simply rename the directory to something like this:
You have disabled the plugin without logging in.