I need urgent help, How To Move Wordpress Site To New Host Without Losing Any Files ?

6 replies
So i have this huge problem, I sold this site, transfer the domain to the person's godaddy account, then we had to switch the hosting their VPS, i've never done this before, so I copied all the files from the previous server to their server, switch the nameservers and point the 'A' host to the server, etc.

When I go to the site now, I had to set up the new site name, etc, all the old posts are gone!

help please.
#files #host #losing #move #site #urgent #wordpress
  • Profile picture of the author IronMike
    You need to bring the database to the new host too. Use phpMyAdmin to export from the old host and import it on the new one.

    Or if you don't know how to do that use one of the many WP plugins available. You will need to point the nameservers back to the original host then install the plugin, get a copy of the DB, change nameservers to the new server, add the plugin there too and import the DB. The CODEX has all the info you need to get a backup and restore it on your new site.
    {{ DiscussionBoard.errors[6811759].message }}
  • Profile picture of the author harshmaur
    Adding back the Ftp files will only restore the themes and plugins you had with your wordpress on the previous host.

    In order to bring back the content you will need to import the database to the new host.
    To do that first you will have to go to phpmyadmin section of the previous host cpanel.

    once inside find the database that your wordpress installation was using, click that database, then on the top bar there are some tabs, one of them would be to export the database, click that and export the database.

    Now go to the new host => phpmyadmin => find database

    Now there will be another option to import the database, just import the database that you exported previously.

    Good Luck.
    {{ DiscussionBoard.errors[6812433].message }}
  • Profile picture of the author topnichewebsites
    I can help you out and the site up 100%. Touch base with me on Skpe

    topnichewebsites
    Signature
    http://pixelcovers.com/ <- eBook add eCovers

    https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
    {{ DiscussionBoard.errors[6813564].message }}
  • Profile picture of the author dsimie
    1. Export the DB from old host.
    2. Download the files.

    For prepare new host:
    3. Create new db in new host.
    4. Rename the exported db name to new db name you created.
    5. Then open the renamed sql file in wordpad.
    6. Find yourdomain.com and replace all to newdomainname.com

    Installing into new host:
    7. Goto phpmyadmin and import the sql file.
    8. Upload all files through ftp.
    9. Change the db name, db username, db password in configuration.php
    10. Then goto wp-admin page and update permalink.

    Thats all.
    {{ DiscussionBoard.errors[6818311].message }}
  • Profile picture of the author rajeevrla
    yea, you'll have to copy the old database file (SQL file), then import it to new hosting server. You'll get back all the contents.
    Signature

    Have a great day!

    {{ DiscussionBoard.errors[6832385].message }}
  • Profile picture of the author Altin
    this video should help you youtube.com/watch?v=aS2drk0lFe8
    {{ DiscussionBoard.errors[6833281].message }}

Trending Topics