I managed to enter a wrong Site Address (URL) on the General Settings page and now I can’t even visit the website. I’m doing this on OpenShift/RedHat.
How do I recover?
The best way to fix this is to install PHPmyAdmin and then navigate to the wp-options table and change the site-address row.
To install PHPmyAdmin, click on “Browse Marketplace” and search for PHPmyAdmin.
@Pat Gilmour is on the right track. The source to handle this is here.
First thing you want to do is open the
wp-config.phpfile in your SFTP (secure FTP).
Add these two lines to your
wp-config.php, where “example.com” is the correct location of your site.
Read that whole page for all the data.
phpMyAdmin to your application. (it should be under Tools and Support). The phpmyadmin username and password will be the same as the MySQL credentials. Login to phpmyadmin and go to wp_options table ….. Check the rest on WP official url change docs.
If a scalable application is created, the scaling function of that
application cannot be disabled. phpmyadmin-4 cannot be embedded in
Or Generate ssh and use filezilla or putty to access your files. Details
For filezilla – File > Site Manager >
After connect go to the following path and modify