Support » Localhost Installs » Moving from localhost to live

  • I have a live site created in code only by someone else and want to change to a WP site. I’ll install WP locally and develop the site (wpbeginner has some good articles on how to do this). When I’m ready to move it live, do I install WP on the current host first? Do I delete all files from the current live site first?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @timka,
    I am here to help you!
    As per your query,

    When I’m ready to move it live, do I install WP on the current host first?

    You need to install WordPress to the host where you are uploading your new site. If you are uploading it to your current host then you have to install WordPress in that.

    I hope this will help you.

    Thread Starter timka

    (@timka)

    Thank you Kratinjay. Should I delete all the files that were created by the existing site before I install WordPress and upload the new site?

    Hi @timka,

    Should I delete all the files that were created by the existing site before I install WordPress and upload the new site?

    Yes, you can do so for a fresh start. I would suggest you take a backup of existing files for your reference(if you need) and then delete them from the host.

    Thank You!😃

    PC-A the existing site using localhost
    PC-B – the new site hosted somewhere else

    1. install BackupGuard (plugin) on PC-A,
    2. Create a backup of the entire site using BackupGuard
    3. Create a new. blank, nothing on it wordpress site on PC-B
    4. Install BackupGuard on PC-B
    5. Using the download link in BackupGuard on PC-A download the backup you made on PC-A (remember where you put it)
    6. Login to PC-B, goto BackupGuard, Select Import
    7. It will then ask where the backup is – select Local PC
    8. It will then ask you to browse to the backup file you downloaded in step 5. Find and select the backup you created and downloaded in Step 5.

    When the “import” is done (uploading) on PC-B, you now have the backup installed on PC-B, but it is not yet active. Select the file you just imported and then select the RESTORE icon of BackupGuard

    Done – all urls, permalinks, etc are changed and the new site on PC-B should now be an exact duplicate of PC-A. Easiest and fast backup/migrate I have used. (no, I am not an employee of BackupGuard, nor am I associated with them)

    NOTE: I did have ONE incident where the restore did not work – it ended up being a php version error. What I did to make it work is, I deactivate ALL plugins on PC-A EXCEPT BackupGuard, did a new backup, downloaded the new backup, and then imported it on PC-B. Then on PC-B, one at a time, I started activating the plugins until I fouud the one that was causing the issue.

    • This reply was modified 1 month, 1 week ago by pattycake.
    • This reply was modified 1 month, 1 week ago by pattycake.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.