Get Around Your ISP’s DNS Cache with Google’s Public DNS
If you’ve ever migrated a WordPress site to new hosting, you know that one of the many ways the process can turn confusing is DNS caching by your internet service provider (ISP). It looks as follows:
How to Migrate a WordPress Site with WP-CLI and rsync
There are lots of ways to migrate a WordPress site. Lots of plugins can do it. You can do it over simple (S)FTP. But the quickest way I know of is via rsync and WP-CLI. But that does come with an important proviso: you need to have access to a shell (via a simple local terminal or SSH) to both ends of the migration. And that’s often harder to do than the plugin or SFTP route. But if you’ve got that, this way is a great deal faster.
As its GitHub documentation notes, the single-file PHP script searchreplacedb2 is “not terribly pretty, but it’s portable and it solves an important problem that comes up whenever WordPress sites get renamed.”
Easier Site Migrations: Avoiding DNS Problems with the hosts File
Over this past month, I’ve needed to migrate quite a few WordPress sites from one host to another. I can say with confidence: it’s still not my favorite process. There’s nothing that should be complex about it, but somehow there are enough moving parts that it’s never simple, and you feel on edge throughout. If you’ve ever put together a chair from Ikea, you’ll know what I’m talking about.
Dead-Simple Migration for WordPress Multisite Networks, by ServMask
We’ve written at length about our love for All-in-One WP Migration, a beautifully simple and easy-to-use tool for WordPress site migration. The plugin is under active development by ServMask, which recently became an official Friend of WPShout (you can see them in our sidebar!), and we stay in touch with them as they develop new products.
Commonsense WordPress Site Migration
WordPress site migrations are not easy. In fact, without additional tools, “migrate a site to another URL” is probably one of the most technical jobs that a WordPress site administrator might commonly perform.