When I installed Wordpress the site domain was not yet pointing at the hosting space so in General Settings I set the Wordpress URL and Site Address URL to the preview URL provided by the host which is in the format preview.myhost.net.mydomai
n.com (where mydomain.com is the domain for the site). That all worked fine.
Now that the domain IS pointing at the Wordpress site, browsing to www.mydomain.com displays the site fine but the browser address bar shows that a redirect is occurring to preview.myhost.net.mydomai
How do I stop Wordpress performing this redirect? If I change the WordPress Address (URL) in Settings > General from http://preview.myhost.net.mydomain.com to http://www.mydomain.com then I can no longer login to admin and I have to change the value back in the database.
I've read http://codex.wordpress.org/Moving_WordPress
but I'm not sure what parts are relevant since I'm not actually needing to move the location of any files.