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

Ads by Google

featured migrate test   3 Plugins For Easily Migrating A WordPress Site, Tried & Tested 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 mydomain.com/blog to myotherdomain.com) 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.

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

Ads by Google

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

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

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”.

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

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:

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

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.

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

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

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

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:

httpdocs/wp-content/plugins/wordpress-move/backup

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.

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

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?

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

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.

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

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.

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

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 newdomain.com/httpdocs (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.

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

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.

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

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 newdomain.com.

Options +FollowSymLinks
 RewriteEngine on
 RewriteRule (.*) http://newdomain.com/$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 (.*) http://newdomain.com/$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.

Ads by Google

13 Comments - Write a Comment

Reply

Brian D

Great information to have. I really need to back my WP site up and this I believe just got me straight. Thank you so very much.

Reply

Brian D

Great information to have. I really need to back my WP site up and this I believe just got me straight. Thank you so very much.

Reply

Aj

Personally I prefer xcloner. Also free and has a feature to cron backup can move or clone a site in just a few simple steps.

Reply

macwitty

Nice to see there was a free alternative (Duplicator) as $50 a bit too much if you only migrate one or two in your lifetime ;)

Reply

Richee

Great info & Thank You for your recommendation!

Reply

Debi Zylbermann

I have 2 live websites: http://www.oldsite.com and http://www.newsite.com.
On http://www.newsite.com I have a new design and new content, and this new design and content has to be migrated to http://www.oldsite.com (which is very old, is our brand name, and has loads of Google history).
The old urls of http://www.oldsite.com will become redundant, and I am planning to 301 redirect them to the relevant newly migrated urls (which need to be migrated from “old” to “new”).
http://www.newsite.com is a wordpress site, and http://www.oldsite.com is built on an old custom CMS.
HELP !!
Thanks in advance,
Debi

MakeUseOf TechGuy

Hi Debbie; did you try the plugin I recommended? It should do exactly as you describe, though you’ll need something else for the specific 301s.

alexanderf

You should try cms2cms converter, it migrates content to WordPress and implements 301 redirect to the site automatically. The last option is free now and also you may try free demo to see how it works . Here you may find more detailed info on this tool http://www.cms2cms.com/supported-cms/wordpress

Reply

Debi Zylbermann

My original question disappeared when I wrote the above.

The question is – will Duplicator work in this case?

Reply

Mark Calkins

I recently used UpdraftPlus Migrator. The backup and restore tool is free. The Migrator is $30. It worked flawlessly to move my WordPress site from a shared hosting service to a VPS service. I even moved to a new domain. Works great. I really liked that I could send the backup files to my Dropbox account and restore from the same Dropbox account.

I can’t compare it with Duplicator or WordPress Mover as I haven’t used those before.

Reply

Jonas

Fantastic breakdown!
Really appreciate it :)

/J

Reply

sara

Looks like BackupBuddy is $80 ANNUALLY for two sites now. (How much better can it be than Duplicator?)

I think not.

Reply

Lee

This is one of the most useful things I have ever discovered thanks to your instructions.

THANK YOU SO MUCH!!!

I was able to migrate a site from mamp localhost to a dev.URLNAME with such ease using wordpress move and literally did it under 30 minutes.

BRILLIANT.

Your comment