Report this

What is the reason for this report?

How can I remove a plugin or change a directory's name?

Posted on October 6, 2019

Hello, I am facing the following problem. I installed wordpress through one click installation. Then I installed shield security plugin. I enabled google recaptcha through that plugin. But Keys were not properly set. I am locked out of site. I couldnot login into my wp admin base.

I found this solution. https://icontrolwp.freshdesk.com/support/solutions/articles/3000000959-i-m-locked-out-of-my-own-site-

So I can either change folder name or create additional folder in that directory. How do I do that using ssh ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi@kalin,

Thanks for your reply

It is not working.

my: command not found

Between wordpress is intaleld at

/var/www/html/wp-content/

Regards, matam

Hi @matam,

You are perfectly correct, you can SSH to your server, go to your applications folder

cd /path/to/file

and disable the plugin by renaming the folder

cd wp-content/plugins/
mv FoldersOfPlugin to FoldersOfPlugin-old

See if you can access your website now.

Regards, Kalin

So if I Rename it back to plugins then will they be activated?? (i guess not) . How can we activate it back again with same ssh commands without wp-cli

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.