Saratica
Member
Posted 3 years ago #
I changed a url on my settings page - must have changed the wrong one because now I can't get back into the admin!
Is there a way to get in via the hosting site? Any way to view the settings page from there and change the url back to the right one?
I'm at a loss! Thank you - Sally
Saratica
Member
Posted 3 years ago #
Thank you! Where do I find the wp-config file? I've looked in all the folders in my cpanel and can't find it...
Saratica
Member
Posted 3 years ago #
I found it - it was in the public_html file. But nothing about the settings and I don't see the "new" url to change it back to the old one... I'm reading the other solutions again.
Saratica
Member
Posted 3 years ago #
Sorry - I feel so dense...
In the wp-config.php file, the instruction is to find
define('WP_SITEURL', 'http://example.com/wordpress');
and change the url. but in my config file, there is nothing that reads WP_SITEURL or HOME. Do I create it and put it in there?
Saratica
Member
Posted 3 years ago #
OK, it's fixed. I did the http://www.tamba2.org.uk/wordpress/site-url/ fix... can't believe it actually worked the way it was supposed to.
Thank you so much. You are a genius.
Glad it worked; right, if those WP_SITEURL and WP_HOME constants aren't there, you just add them. But the phpMyAdmin method is equally effective.