Loading...
WordPress

Migrate WordPress from a local server to a live site

I spent some time working out the quickest and easiest way to get my local WordPress installations to my live site. I tried using the much raved about premium plugin BackUpBuddy, but no joy. I just couldn’t get it to work.

I tried a few other more manual methods, but eventually found the free plugin Duplicator and haven’t looked back. I can now get a site from my local server to a live site in under 1o mins. Here’s how:

  1. Install Duplicator plugin.
  2. Click on Manage, which will take you to the Duplicator dashboard.
  3. Click the create button, then click create package set.
  4. Download the installer and the package.
  5. Upload both items to your site directory.
  6. Type the path of the installer.php in your browser, e.g. demo.yoursitename/installer.php
  7. If you’ve done everything right so far, you should see the following screen:duplicator
  8. User is your database username.┬áIf you haven’t created a new MySQL database and user do that now. If you don’t know how to do this, see the bonus tutorial below!
  9. Password is your database password.
  10. Database name is your database name!
  11. Click test connection to check your parameters are correct.
  12. Tick to confirm you’ve read all warnings & notices.
  13. Click run deployment.
  14. Click update tables.
  15. Click test entire site. Your site should open in a new window. From local to live in 15 short steps – not too shabby!
  16. But we’re not quite yet. Click resave permalinks. Click save changes on the permalinks settings page. This reflushes.
  17. Click delete installer files.

Bonus: how to create a new database and user with cPanel

  1. Under Databases click MySQL databases.
  2. Type in a name for your database and click create new database.
  3. Scroll down the page a bit and type in a name and password for your new user.
  4. Scroll down right down to the bottom.
  5. Add your new user to your new database using the drop down menus.
  6. Check all privileges and click make changes.
3 comments
  1. Mark Von Der Linn

    I’m following this (moving site from one GoDaddy hosting acct to another) and am thinking you may have missed some steps? When you set up WP on the new host, don’t you have to install your theme and any plugins before you run installer?

    Mark

  2. Charlie

    Hi Mark, thanks for the comment. In answer to your question, no you don’t need to install your theme or any plugins before running the installer. Run the installer, and your theme and plugins will be installed automatically. I tried to detail every single step in the process and don’t believe I missed any.

    Hope this helps.
    Charlie

  3. ceah

    After spending the best part of the day trying to take my site live, I stumbled across this post and followed the instructions and it worked! You just saved me from throwing my laptop out the window, lol!

    I tried following instructions from other sites on how to do this manually, and I was obviously missing something. But the Duplicator plugin along with your instructions worked perfectly!

    Thanks so much!

Leave a Reply

Your email address will not be published. Required fields are marked *