Skip to content

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

    wp-cli search-replace --precise --skip-columns=guid
  • Update all paths to your new WordPress root for all plugins that do store such constant.