SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot bazzablue's Avatar
    Join Date
    Mar 2005
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.
    Barry

    Snap Designs
    Creating good impressions online and in print

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,198
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    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.

  3. #3
    SitePoint Zealot bazzablue's Avatar
    Join Date
    Mar 2005
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    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.
    Barry

    Snap Designs
    Creating good impressions online and in print

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,198
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by bazzablue View Post
    Is that going to screw up up all the content (text, images, links, etc.) that has been added?
    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

  5. #5
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

    .


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •