That’s the right solution but you need to be editing your wp-config.php file. You can add the lines suggested to the bottom of the file – just before the ?>. You then need to upload the amended file to your site using FTP.
Thanks so much. I’ve been hours on this. I found the wp-config.php file, but there is no ?>
Here is the full file content. Where should I make the changes?
Then just add the two lines at the very end of the file – after require_once(ABSPATH . 'wp-settings.php');.
Ok, posting your username, database name and *password* isn’t (hopefully) the smartest thing that you’ve done today. π
Probably best you change that now…
Whoah! I completely missed that! Well spotted…
Sorry. Fixed it. I’ll give this a try.
Hi, Esmi! I am not able to get the site back up. Would you be able to fix it for me if I provide the UN and PW? I’d really appreciate it.
If just spent 3 days building my site in WP and than did the same you did but on my local server still. Want let me back in. So if the files are still on my local server what do i need to do to get back into site? keeps telling me “wrong password”or wrong user. and if I press link i saved to desktop just get 404. Was jsut getting ready to FTP. Argh
@abbycookie: Did you try both of the methods outlined in http://codex.ww.wp.xz.cn/Changing_The_Site_URL? What happened when you uploaded the edited wp-config.php file? Contact me via esmi at quirm dot net if you’re still having problems.
@marketminder: see the link above.