It is always a topic of concern when any one wants to move website from one domain to another and one server or host to another, to cop up with this issue (How to move and backup wordpress site) follow the steps below for easy migration.

The Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility. The Duplicator supports both serialized and base64 serialized string replacement.

It’s the best free alternative we could find to BackupBuddy the extremely popular backup and migration plugin. Most of the WordPress developers we know own BackupBuddy.

Here’s how to make a copy of your site with Duplicator. The exact steps you follow may differ depending on your server/host.

Note: you don’t need to install WordPress at the destination before following these steps.

Create a copy of the website

  1. Install and activate Duplicator.
  2. In your admin menu, you’ll have a new Duplicator menu item. Click it.
  3. Click the Create Package button, then Create Package Set.
  4. If you’re moving to another server, click the Installer and Package buttons to download the files. If you’re staying on the same server, skip to the next step.
  5. Use FTP or another file manager to access your website. If you downloaded the installer and package, upload them to the directory where your new site will live. If you’re staying on the same server, notice the new wp-snapshots directory next to your wp-admin andwp-content directories. Copy the files ending installer.php and package.zip to the directory where your new site will live. Rename the file ending installer.php to simply installer.php.

Create a new database

The Duplicator plugin is supposed to be able to create databases, but I couldn’t get it to work, so I manually create them. If you need to do this, see your host for instructions.

  1. In cPanel, create a new database.
  2. Create a new database user.
  3. Give the user all privileges to the database you created.

Install the package

  1. In your browser, enter the URL of the new website, followed by /installer.php. For example, if I’m creating example.com, I’d browse example.com/installer.php.
  2. Change the fields in the Settings section if desired.
  3. Enter the database information, and click Test Settings.
  4. Check the box I have read all warnings & notices.
  5. Click Install and wait for the installation.
  6. Follow the steps on the next page to finish the installation.
  7. Delete the contents of wp-snapshots in the source site.

Troubleshooting

If Duplicator doesn’t work the first time you run it, try again. Sometimes it works the second time.

Duplicator may not be able to create packages for sites with a lot of content; it may time out. Try going into the Duplicator settings and excluding wp-content. After using Duplicator to migrate the package, manually move wp-content via SFTP.

Since I didn’t create this plugin, and haven’t used it in all its possible ways, I haven’t experienced many of the problems that others have. So, I’m not the best person to ask for support. I suggest that you ask in the Duplicator plugin’s support forumLifeInTheGrid support (they make the Duplicator plugin), or the general WordPress.org Support Forums.

www.youtube.com

www.wordpress.org