Skip to main content

3 Plugins For Easily Migrating A WordPress Site, Tried & Tested

3 Plugins For Easily Migrating A WordPress Site, Tried & Tested

May 03, 2013 at 11:30PM

For me, domain names are impulse purchases, and after developing a new site for a while, the original domain I picked sometimes just doesn’t have the same appeal anymore. Migrating content between sites then becomes an issue. Previously, I recommended the use of SSH to migrate a locally developed WordPress site, with a simple search and replace on the database. While this works in most cases and has never failed me yet, it’s a little riskier if you’re moving directories (such as to or if you have plugins which use serialized data (where all of a plugins settings are stored in one encoded database entry rather than a single row for each setting).

So today, I’m going to try out 3 plugins which can semi-automate this entire process for you. I’ll be migrating data from an old domain of mine, to a new site, both running on a virtual private server.

Duplicator (Free)

Duplicator promises a three-step migration process. After installing the plugin, you’ll find a quick link to the manage page from the plugins list.

It’s probably best to start to checking your servers compatibility with the plugin. Here’s what I ended up with.

Though, I’m fairly certain the Open Base dir restriction isn’t relevant due to the version of PHP I run on this server, so perhaps they need to update. Nevertheless, I will go ahead and create my first package. Packages are the contents of your database and files, all wrapped up in one. Click the create button in the top right, or if your package set is currently blank there should be a link in the center of the screen for you. My test site is fairly small, with only 30 posts and little else – this gave me a pre-zip size of 50mb.

After clicking create, it’ll go to work. You can view the log if you’re curious, but mine was completed within seconds. You’re then presented with two buttons for file downloads, and instructed to grab both the “installer” and the “package”.

There are some advanced options too under the settings panel; you can email when the package is complete, if it’s taking too long. You can exclude directories or certain file extensions; and pre-populate the installer fields (though this is not required). I kept all the defaults.

Upload both to your new site, via FTP. Duplicator aims to replicate the entire setup for you, from databases to core WordPress files, which is clever – I was expecting to have to set up a basic functional WordPress, but apparently not.

On with the testing then, I uploaded the package and installer.php file. Now the fun begins. Launch the installer.php – on the new domain now – from your browser, and you see something like this:

The only details you’ll need to add are the DB access details; while Duplicator can create the individual tables, you’ll still need a mysql user and database set up for it to use. Check the database connection, accept the disclaimer, and proceed with the install.

You’ll even be given the option of re-activating plugins, which is pretty nifty.

Finally, there’s a list of steps you need to click manually. These involve re-writing the permalinks file, deleting the installer, and finally testing the site.

I’m happy to report that everything was 100% working and fine; the site was exactly as it had been before, but with a new domain and title. Fantastic!

Total time to migrate: less than 10 minutes (though this will vary upon the size of the site in question).

WordPress Move (Free)

Once installed, WordPress Move adds a Migration Assistant link under the Tools sub-menu. It present 3 options:

  • Change domain (no files will be moved)
  • Restore

Before using migrate, you will need to configure the plugin from the settings sub-menu  so I proceeded to do that. this involves adding FTP access details for the new site. The only complicated bit here is the relative path; in my case this was:


You also need to have WordPress and the wpmove plugin installed at the other end. This was quite a disappointment considering Duplicator could operate without that, and it added a good 30 minutes onto the process. Sigh.

With a fresh WordPress installed, and the WordPress Move plugin also added, I headed back to begin the transfer process from the old site. Type the ftp password, the new domain name, and hit start migration.

…Error. I try changing the port number, remember that I usually connect using secure FTP (typically port 22) rather than the unsecure regular FTP protocol. Even though both should work.

Again, connection error. At this point, I’m calling it quits on this particular plugin. Maybe your luck would be better, but honestly why would you even try with this when the Duplicator plugin works so well?

Backup Buddy (Premium, from $50)

(Hint: a quick Google search will reveal a 33% discount coupon, but I don’t think it would be fair to republish that here)

The process of backing up and restoring a site is much the same as migrating, so it’s no surprise that a premium and well respected backup plugin such as this has added “magic migrate” functionality to its already extensive feature list. The only setup needed here is to first create a restoration password from the settings pages.

Before migration can occur, an initial backup must be taken. Choose the “complete backup” type, and begin. Then head over to the restore/migrate area, and select automated restore/migration. Hover over the latest backup and an option to “migrate this backup” should appear.

You’ll need to setup a new target for the backup to be sent to. I added the FTP details for the new site and confirmed they were working, but unfortunately it ran into errors along the way when it was trying to access (this was the subdirectory for public HTML files that I had to set, but it shouldn’t be in the URL); I eventually figured out how to get this working by creating a new FTP user which defaulted to the HTTPDOCS directory.

At this point, the process is basically identical to Duplicator; you can choose the manual mode which will actually give you a similar “importbuddy.php” and backup file to download then upload to the new site over FTP, or if you managed to make the FTP work it can all be done from within the old WordPress install. During the process, you enter database information, and everything else is done for you. As a final step, the install files are deleted and some common problems and their solutions are presented.

Essentially then, the migration portion of Backup Buddy is almost identical to Duplicator, just with FTP upload step removed, if you can correctly configure the access details. Of course, Backup Buddy’s real power lies in the backups, but it’s difficult to recommend it purely as a migration tool, especially considering the premium price tag.

Total time to migrate: about 30 minutes, though this was particular to my FTP accounts setup.

Don’t forget to 301 the old domain

It’s almost certain that you’ll want to redirect all traffic and search engine “love” to the new domain – use a 301 redirect for this. Simply replace the current .htaccess file with the following, replacing

  Options +FollowSymLinks   RewriteEngine on   RewriteRule (.*)$1 [R=301,L]  

If you’re using webmaster tools to inform of the site re-location, you’ll need to add an exception for the Google confirmation file. Replace the googleXXXX.html in the following code with your particular verification URL.

  Options +FollowSymLinks   RewriteEngine on   RewriteCond %{REQUEST_URI} !^/googleXXXX.html/?$   RewriteRule (.*)$1 [R=301,L]  

That’s it, site migrated, traffic redirected and no search engine love lost.

Verdict: Duplicator wins

I had expected the premium tool to be the superior product in all aspects, but in this case I actually want to give the prize to Duplicator – and it’s 100% free. It lacks the fully automated aspect of BackupBuddy – assuming you get the settings right, that is – but anyone running self-hosted WordPress should be able to download and upload a few files to FTP, so I’m not sure that’s to such a great detriment to Duplicator. The fact that it presents clear advice and instructions at every step is also really appreciated; I was never in doubt as to do what to do next with Duplicator. Stay well away from WordPress Move at all costs though – it’s just far too fiddly.

Do you know of any better solutions? Let me know in the comments, and in the meantime be sure to check out our Best WordPress Plugins page, to which Duplicator will surely be added soon.

The post 3 Plugins For Easily Migrating A WordPress Site, Tried & Tested appeared first on MakeUseOf.

from MakeUseOf


Popular posts from this blog

Ten Apps you Must Download when you Buy A New Android Smartphone

Ten Apps you Must Download when you Buy A New Android Smartphone

May 14, 2013 at 11:21PM You have spent loads of time researching which is the best Android smartphone that fits your budget, spoken to people in the know about gadgets and have saved accordingly. After contemplating a fair bit if this is the right time to pick a device and there is no other device you would rather have, you take a plunge into the astonishing world of Android and pick that shiny new Android device. Right now it is sitting proudly in your hands as you admire every curve, every pixel, visible or not of your new Android smartphone.It is the time to load your Android smartphone, to make it truly yours, a device that would be with you through your thick and thin. Time to install those applications which will complete your world, if not complete, at least make your world a lot more organized and a lot more fun. So which apps do you start off with?Like the famous Nokia commercial goes, you have our back. Here …

How to Password Protect & Encrypt Files [Mac/Windows]

How to Password Protect & Encrypt Files [Mac/Windows]

May 16, 2013 at 06:33PM Nowadays, the computer has a very important place in everybody’s life, as a personal gadget used for a lot of different things. Everything is digital and it is stored on a computer’s hard-disk or on a cloud system, offering you easier access to your favorite data.Computers have become the place where you hold pictures, documents, favorite music and everything else in the same place. While storing may include regular data, random and even useless information, people may also keep important stuff, such as wedding photos, work documents, projects and others.Have you ever thought about protecting critical data with a password? Taking into consideration that all information could be vulnerable to hackers or to unauthorized persons, this is a rather obvious procedure. Another reason to encrypt data can appear in case somebody else also uses that computer and you don’t want them to have access to private pict…

Who Needs To Pirate Software With A Free Software List Like This!

Who Needs To Pirate Software With A Free Software List Like This!

May 03, 2013 at 05:30AM I found this interesting list at this random forum on Internet and I found it worth sharing. It is indeed a huge list of free available software that you can use instead of buying or pirating the expensive ones. The list goes as following:3D Graphics:3Delight Free –
Anim8or –
Aqsis –
Blender –
Houdini (Free Edition) –
Now3D –
OpenFX –
POV-Ray –
Terragen –
Toxic –
Wings 3D – –
AntiVir –
Avast – http://www.…