Hi,
I bought new domain and when I changed WordPress address (URL) in General Settings (Dashboard) - I did a mistake in URL. Now I am not able to login to change it again because of wrong URL.
In which file I can change this URL manually?
Thanks.
Hi,
I bought new domain and when I changed WordPress address (URL) in General Settings (Dashboard) - I did a mistake in URL. Now I am not able to login to change it again because of wrong URL.
In which file I can change this URL manually?
Thanks.
The URL is stored in the database, not in a static file. Use these instructions to recover: Changing The Site URL « WordPress Codex.
like it was suggested, that's good to read. Specifically I think this will be the easiest way for you to fix this:
Edit wp-config.php
It should be possible to fix the site URL using a new feature -
Add these two lines to your wp-config.php, where "example.com" is the NEW location of your site.
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');That should be it. If it worked, stop reading this page now.
Great THANKS!
This topic has been closed to new replies.