Wordpress Transfer Hosts

Discussion in 'General Chat' started by Ralph23, Aug 29, 2008.

  1. #1
    I decided to ask this here, as I'm sure many of you have transfered Wordpress sites from host to host.

    What I'm doing is just that. I want to switch hosts. So, here's what I did:
    - Updated my site to the latest version of wordpress.
    - Installed the same version of wordpress on my new host, then deleted the database
    - Backed up my sites database and wp-content files
    - Uploaded the wp-content files to the new host
    - Uploaded database backup to new host

    I didn't swicth the domain nameservers yet, however. I want to make sure it's working first, good thing, because apparently it's not. When I go to the new host, where all the new wordpress files are, it redirects to my old host with the domain.

    Might be confusing, maybe an example.
    http://myothersite.com/siteonthenewhost.com
    redirects to
    http://siteontheoldhost.com

    Might have made it more confusing, lol. Sorry.
    Hope you get it.

    Anyway, what's going on?
    Or is this supposed to happen? Should I just switch the nameservers?
     
    Ralph23, Aug 29, 2008 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    this will happen because of 301 redirect/mysql database pointing to old server.

    hope you changed database settings in wp-config..
    just change nameservers and it will all be OK... probably :D
     
    MeetHere, Aug 29, 2008 IP
  3. Ralph23

    Ralph23 Peon

    Messages:
    493
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey.

    Yeah, wp-config and everything is great. I installed the new wordpress site there before I uploaded my backup, so apparently it works.
     
    Ralph23, Aug 29, 2008 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    change the nameservers now.
     
    MeetHere, Aug 29, 2008 IP
  5. GWebmaster

    GWebmaster Banned

    Messages:
    1,067
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's very easy . you steps are right :)
     
    GWebmaster, Aug 29, 2008 IP
  6. Ralph23

    Ralph23 Peon

    Messages:
    493
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ah I got it. I went into the database and manually changed the siteurl and home values to point to the new location.

    The reason I didn't want to change the nameservers is because I want to bug proof the site first. Second, I don't even own the domain atm, my friend does. I'm going to be getting it from him soon.

    Thanks for the help though, guys.
     
    Ralph23, Aug 29, 2008 IP
  7. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #7
    hey, you own theuniversitykid ?
    cool blog :cool:
     
    MeetHere, Aug 29, 2008 IP
  8. Ralph23

    Ralph23 Peon

    Messages:
    493
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Lol, I love how so many people think that. Nah, I just have a link to his blog there.
     
    Ralph23, Aug 29, 2008 IP