bazzablue — 2013-04-26T04:42:35-04:00 — #1
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.
ralphm — 2013-04-26T05:31:23-04:00 — #2
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.
bazzablue — 2013-04-26T05:56:16-04:00 — #3
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.
ralphm — 2013-04-26T22:27:38-04:00 — #4
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"):
radhika_m — 2013-04-26T23:09:28-04:00 — #5
If BOTH sites are hosted under one hosting account, you can do this:
- Move WP folder to org.uk site.
- Database backup from co.uk site
- Create database on org.uk site.
- Restore to new database (If you have telnet this would be a breeze)
- Update /wordpress/config.php on org.uk site pointing to org.uk