Domain hosting on wrong extension

I am in the process of redesigning a site in Wordpress for a client. The client owns two domains - same but two extensions (.co.uk and .org.uk). The hosting package is on the .co.uk extension but they have decided they want the .org.uk to be the main address with .co.uk forwarding it. In Wordpress I am able to specify a site address that is different but this causes the site to show in a frameset. This is not ideal as the page address doesn’t show in the bar at the top.

Is there a way to address this that’s not going to muck up the database and existing content?

Thanks for your help.

Sounds like the best thing to do it so set up a hosting account at the .org.uk domain and move the whole lot. That’s easy enough to do.

Is that going to screw up up all the content (text, images, links, etc.) that has been added? Basically the site is almost finished and is due to go live next week.

I’m not too clear on WP works in this regard, but if it is generating absolute URLs on things like images, I would expect that it would update all this when you move the site to a different domain. There is probably a config file where you specify the site URL. It’s common to move a WP installation like this (e.g. when people build the site on a development domain before going live) so it shouldn’t be hard. I believe there are some plugins that can help with moving a WordPress site to a new domain, too.

Here are some links I found with a quick google search (“move wordpress to new domain”):

http://codex.wordpress.org/Moving_WordPress
http://codex.wordpress.org/Changing_The_Site_URL

If BOTH sites are hosted under one hosting account, you can do this:

  1. Move WP folder to org.uk site.
  2. Database backup from co.uk site
  3. Create database on org.uk site.
  4. Restore to new database (If you have telnet this would be a breeze)
  5. Update /wordpress/config.php on org.uk site pointing to org.uk

.