📰
Tips on Cloning WordPress
Test first to see what you're going to do: always run the commands with
--dry-run
first.Make sure to update old to new domain. The following command is a bit slower than argument-less alternative, but will use PHP and should give you better results.
bashwp-cli search-replace olddomain.com newdomain.com --precise --skip-columns=guidUpdate all paths to your new WordPress root for all plugins that do store such constant.