Skip to content

Instantly share code, notes, and snippets.

@epierpont
Created December 9, 2020 20:59
Show Gist options
  • Save epierpont/426a673fa5b2cf2139fc5a2b19e3d30a to your computer and use it in GitHub Desktop.
Save epierpont/426a673fa5b2cf2139fc5a2b19e3d30a to your computer and use it in GitHub Desktop.
WP-CLI Single Search/Replace
// change domain of single site
date ; wp search-replace --url=oldsite.com oldsite.com newsite.com --debug ; date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment