Created
August 27, 2019 20:47
-
-
Save brianpurkiss/713a5fac2da206bff7a4fc81cb24e90d to your computer and use it in GitHub Desktop.
Find and replace a domain (or text) through wp-cli for WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp search-replace "OLDDOMAIN" "NEWDOMAIN" --precise --skip-columns=guid,user_email --all-tables --skip-plugins --skip-themes --report-changed-only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment