Hi there, I should have known better.
I accidentally updated the URL in the Wordpress admin prior to adding SSL to my droplet.
Now I cannot access any of the Wordpress backend.
How can I either revert the URL back to non HTTPS via SSH or another way?
Done a ton of research online, but ultimately have not been successful in accessing the WP CONFIG via SSH.
Any help is appreciated, thanks!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
Before you make any changes, I’ll recommend creating a snapshot:
Once that is done and you have a backup, you can use wp-cli. WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.
First, to install WP-CLI:
Navigate to your WordPress directory
where /var/www/example.com/ is the path to your website’s home directory. Once in there, create a DB backup running
then do a test run
If everything looks good, you can run in without the --dry-run option:
Of course, remember to change example.com with your own domain name.