Can anyone help?
I’ve been building a wordpress site in a sub directory of an umbrella ‘development domain’ if you will, and am ready to go live with the site.
It’s a single install of wordpress.
The wordpress file location is to remain exactly as it is, and we’re just repointing the DNS of the live domain to the subdirectory of the development domain.
I hope this makes sense so far.
In my general > settings section of the admin, I’ve set the url to be
http://s391121685.websitehome.co.uk/sb
As that is the url my development domain has allocated to it. We didn’t update the DNS settings of the REAL domain prior to now as there is an existing website already up.
Bearing in mind that no wordpress files are going to be moved, can i just change the wordpress address and site address under settings to www.newlivesiteurl.com?
Any advice would be appreciated.
Thanks
UPDATE **
Ok so I’ve edited my config file with the details suggested below, but now when i try to log into my wordpress admin, I’m stuck in a continuous loop. It juts keeps redirecting me back to the login screen!
Any help would be greatly appreciated….
This question has been asked many many times before.
Here’s the Codex: http://codex.wordpress.org/Changing_The_Site_URL
The easiest thing to do is add a couple of lines to your wp-config.php
Be aware you’ll need to update all links to media in any posts you’ve created (or pages etc.) you can do this manually or run a find replace on your SQL dump before putting the SQL onto your live site database.
Rather bizarrely, removing the setting in the config file and changing the site’s url via the admin system seems to have done the trick. Odd.