Need help completing Wordpress move to new server

Discussion in 'WordPress' started by andyls, Feb 24, 2008.

  1. #1
    I have to move a WP blog from one hosting company to another. I've just tried it for the second time, and it still isn't working. I believe I'm close, but I'm obviously missing something.

    This blog was originally on HostGator as an addon domain; it's now going to be the main (and only) domain on a new host. I'm not changing the URL, just the host.

    • I downloaded the entire contents of the relevant directory from HostGator, and uploaded that to the root of public_html on the new host.
    • I then did a back up of the MySQL database through Hostgator's cPanel, and loaded it into the new host via their cPanel (Backups > Restore a MySQL Database).
    • Created new user for the (now renamed) database; added that user to database. Edited wp_config to reflect the new DB, user, password.
    Here's the page I get when I go to the temporary location of the site:

    http://71.6.217.37/~recogniz/

    I'd greatly appreciate any help with this.

    Thanks, Andy
     
    andyls, Feb 24, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Did you actually install the WordPress on the new host?
     
    mizaks, Feb 24, 2008 IP
  3. andyls

    andyls Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nope ... I copied the entire directory from the previous host.

    I'm guessing from your question that what I did isn't sufficient?
     
    andyls, Feb 24, 2008 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    You must go through the installation process.
     
    mizaks, Feb 24, 2008 IP
  5. andyls

    andyls Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Now that I've got the old files in the directory, is there anything I should watch for? Allow them to overwrite, or not overwrite, or whatever.

    Or should I dump all that and start over?

    Thanks for the help, Andy L-S
     
    andyls, Feb 24, 2008 IP
  6. roseau

    roseau Peon

    Messages:
    266
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can still install it with the files all there. Just type this into your browser to reinstall.

    If the install file is not there, just go grap it from the wordpress site.

    Also, you might need to tweak your config file as sometimes it is a little different depending on the host.
     
    roseau, Feb 24, 2008 IP
  7. andyls

    andyls Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for all your help.

    As it turns out, the site insisted that it was already installed, so I couldn't follow your instructions exactly ... but you put me on the right path.

    Instead of installing, I upgraded my Wordpress installation, and used the upgrade.php file to get me to the same outcome that you suggested.

    Thanks again.
     
    andyls, Feb 25, 2008 IP
  8. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I've done this before. All I had to do was move the files, upload the backed up database, and change 3 entires within mySQL that pointed to the old site...and it worked.
     
    Pixelrage, Feb 25, 2008 IP