Quickly Clone and Migrate WordPress Sites with the Duplicator Plugin

Cloning a WordPress site for use in another location can be sometimes be a fairly involved process, requiring the use of an FTP client, phpMyAdmin, and multiple file edits. I’m excited about the Duplicator plugin, because it reduces this process to three easy steps:

1. Create a package
2. Download
3. Install in the new location

Primary uses for the Duplicator plugin:

  • Migrate a site from one location to another location
  • Pull a production site down onto your local machine
  • Push a local development to a production server

Watch how easy it is to export a package of a live site for development on your local machine:

The Duplicator plugin even has special options for working with larger WordPress installations. The options allow you to change the max execution time, max memory limit, exclude certain directories, and receive an email when the package creation is complete.

Another use for the plugin is to replicate a specially configured site template for mass site generation. Create a specialized site package and install it any time you need a new WordPress site with everything configured and ready to go.

The more you can automate site creation, duplication and migration, the more time you’ll save on tedious, routine processes. The Duplicator plugin is available for free from the WordPress plugin repository. Download it today to start streamlining some of your routine tasks.

Tags

Comments (67)

  1. The plugin looks awesome, sadly I’a trying to use it to migrate a site from localhost to godaddy but all I get is DATABASE CONNECTION FAILED! error

  2. I wish I knew about this plugin before. Months ago I spent long hours to migrate my blog to another host, most of it was my faults, to think it was safe just to dump the database and download WordPress directory.

    Thanks for the info.

  3. I’ve tested it twice, restoring to 2 different hosts.

    Each time my restore had “EVERY” directory set to permission “1341″.

    If I “Extracted” the file directly, via Cpanel, all the original directory permission were restored. (But, this doesn’t restore the database.) But any restore with Duplicator gives me all “1341″ folder permissions.

    Any fix for this?

    Also, in both tests, Duplicator failed to add the new mysql user “password”, but instead retained the password used by the source site. It did change the database name and database user name, but not the password. I had to manually correct the wp-config.php .

  4. I’ve been using the Site Creation Wizard, but it doesn’t replicate everything (like tagline, header image, etc).

    We are doing a network multi site option for our clients and are using templates that they choose from in order to create the initial site. However, it doesn’t copy everything over. Does anyone know of a good way to do this? Anyone ever hack/tweak the Site Creation Wizard to copy more items over, or is there a better tool? This seems nice but it is too much, as we don’t need to copy the whole package over via importing, etc, we just want to make a solid clone for the user to begin their site.

    Help would be appreciated.

  5. I have tried this plugin earlier when it is launched . Everything went smoothly and finished the re-storage with out failure .

    But the new domain is simply redirecting to the Old domain. I have opened a ticket at Plugin author’s website and still waiting for his reply for 4 days

    Does anybody got a problem like this?

    Thanks !

  6. I’m in the process of migrating my websites to a new server. The information out there on the Internet for doing this process manually is confusing and contradictory. Yesterday, I wasted my time buying software, which didn’t work after trying to use it for hours. This morning, I discovered the Duplicator Plugin. I was delighted to find that it works! Brilliant.

  7. Hi There,

    I am trying to install but i am getting this error
    DATABASE CONNECTION FAILED!
    Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

    I am using godaddy hosting now…can anybody help please

    • Hi!
      Exactly what should I be putting in the database fields. Do I have to create the db ahead of time? Im also with Godaddy and Im getting

      DATABASE CONNECTION FAILED!
      Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

      Thanks!

  8. fortunately i found this free plugin for cloning wordpress site.
    but unfortunately after i try to clone my site from one host to another host appear warning ask file “install.php” even though i’ve download 2 file package and install.php and upload both file to my new host, how to fix this problem?…
    thanks

  9. The migration process went well, but as one of the user before, I get a redirect to the old site when I try to enter the admin section. Does anyone know why or what to adapt manually?

  10. It worked for me up to a point. Site was duplicated on another domain but permissions seem to be wrong. I can’t edit files via ftp and don’t seem to be able to change permissions via ftp either. If this was fixed it would be amazing.

Participate