Hi. I’ve a 1-click WordPress install that I need to reset without destroying it. How do I go about doing this? My reason for doing this is that I, for some reason, cannot log into the WP admin panel. I know I’m entering the right password and username as I have SSH’d into the Droplet and copied and typed it in, character for character. I have have no problem starting from scratch, but I don’t want to lose to the IP/domain that are already connected.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello,
You can easily recover your WordPress password by accessing the admin area login page and click the “Lost your password?” link. You can then enter either your Username or Email Address to receive the new password.
The other option is the reset the password from the WordPress database directly. You can check the following mini tutorial on how to do this here:
https://www.digitalocean.com/community/questions/reseting-wordpress-admin-password-via-the-command-line-terminal
Regards, Alex
Hi @yuvrajsingh1,
I would suggest you use WP-CLI and change the user password from there rather than resetting the droplet. You can check it out here :
It’s a powerful WordPress tool that helps you manage your WordPress website from your command line and in cases such as this is really helpful.
As for rebuilding your droplet and if you still want to go with that option, Instead of destroying the droplets, you will instead navigate to the destroy page in the control panel but use the rebuild option. The drop-down menu will display all the disk images you have available.
Regards, KFSys