• Hi all,

    I am in the process of moving my WordPress insallation from shared hosting to VPS. So far I have done the following:

    – Exported SQL-database from old host
    – Downloaded all my files from old host
    – Imported database at new VPS
    – Uploaded all files att new VPS
    – Changed database information in wp-config
    – Changed the pathway in .htaccess from old host to new VPS pathway

    I haven’t yet moved the domain as I want to make sure everything works at the new server first. However, I am stuck.

    When I check my site on my VPS (at the IP-adress, like http://11.111.111.11/~admin/), I see my site logo and headlines from some plugins, but it is as if the theme and all other images aside from the logo are not there, and I get a page title of “Page not found”.

    So there is some connection between the files on the server and the database but no connection to get the theme and the media-files.

    I have tried editing the upload_path directly in wp_options in phpmyadmin, but it has not helped.

    My VPS provider suggested that maybe some other part of the database may contain connections to the old host, but I do not know how to figure that out. Is that even likely?

    Anyhow, any help or suggestions would be more than welcome!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I haven’t yet moved the domain as I want to make sure everything works at the new server first

    — You can simulate this by mapping the domain to the new IP address in your hosts file so all requests go to the new VPS

    Thread Starter Skrollen

    (@skrollen)

    — You can simulate this by mapping the domain to the new IP address in your hosts file so all requests go to the new VPS

    Thanks for the tip, not really sure what it does but I’m guessing that I can map my domain to my IP-adress and by doing so in theory the pathways of the site at the new VPS should work?

    If so, am I supposed to add the following to the hosts file (where 11.111.111.11 is my new Ip-adress):

    11.111.111.11 mydomain.com

    so in theory the pathways of the site at the new VPS should work?

    — yes, this should help you debug if anything was missed during the transfer

    If so, am I supposed to add the following to the hosts file (where 11.111.111.11 is my new Ip-adress):

    11.111.111.11 mydomain.com

    — yes, exactly. I’d also add “www” just to be safe:

    11.111.111.11 mydomain.com www.mydomain.com
    Thread Starter Skrollen

    (@skrollen)

    Update: Solved the problem, it was simply the fact that home and site_url in wp_options was my domain, and that is why the site wouldnt load before the domain was transferred. Now the domain is moved and the site is up and running. Thanks jkovis for your help!

    Now I have a new problem, getting the “white screen of death” when I try to access /wp-admin… But I guess that’s another thread 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Moving wordpress – stuck’ is closed to new replies.