When working with a development site for testing, a common question is how to migrate. What is a quick way to copy a site to a development copy and vice versa?
For me, I often use WP-CLI for this purpose. WP-CLI is the Command Line Interface for WordPress. It allows you to manage your WP site completely from the command line. It is very powerful and very fast. No waiting for page loads in admin panels when using WP-CLI.
When I started using WP-CLI, you had to install it yourself, which could be somewhat intimidating for someone who doesn’t normally work with command line tools. But today, many hosts include this as already installed and ready for your use. You only need to know how to connect via SSH (Secure SHell). Personally, I use PuTTY, but you can use whatever tool suits you.
Here are the steps that I use to make a development copy of my live site:
Continue Reading →