Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dizzyskips/1ccb6e7f5c6076a75620352cb538d5d5 to your computer and use it in GitHub Desktop.

Select an option

Save dizzyskips/1ccb6e7f5c6076a75620352cb538d5d5 to your computer and use it in GitHub Desktop.
WP-CLI search-replace on Pantheon
terminus wp mydomain.live -- search-replace 'dev-mydomain.pantheonsite.io' 'mydomain.com' --all-tables --dry-run
@dizzyskips
Copy link
Author

dizzyskips commented Jun 1, 2018

Remove the --dry-run to actually make the replacements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment