• I am building a site locally and then want to move it to a live server to totally replace a WordPress site that is currently installed. It was easier to build a new one than to try to fix the mess that is there already. Moving from place to place is a new thing for me!

    1) Is there a way to move localhost site over without initially getting rid of the one that is there now? Can I just move the current files into a new directory on the server to save them?
    2) Or should I just back up what is there now and then use Duplicator to move the site from localhost to live server. Will Duplicator write over what is there now or do I need to have a clean slate?
    3) Would it be better to create a new database on the live server for the site that I am moving or can I use the one that is already associated with the current live site?

    Any suggestions would be great! Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m wanting to do exactly the same thing. Would appreciate if anybody can answer this please.

    1. Yes you can move the current files of server in a folder.
    Yes you can move the localhost site to the server without loosing anything, for this install BackUpWordPress Plugin to take a backup of your localhost site:
    https://www.ads-software.com/plugins/backupwordpress/

    After installing it,
    a. Take a manual backup of the files and database both. Unzip this and move all the files to the server.
    b. Create an database and import the databse from the unzip folder.
    c. In the root you will see a wp-config.php file, Update database information in it.
    d. In database, open wp_options table, update home and site_url information.

    Thread Starter thaicanuck

    (@thaicanuck)

    Thanks a lot. I will do a trial run on one of my own live sites that I no longer use before replacing my client’s live site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving from localhost to live server with a current WordPress installation’ is closed to new replies.