Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sewmyheadon/1ccb6e7f5c6076a75620352cb538d5d5 to your computer and use it in GitHub Desktop.
Save sewmyheadon/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
@sewmyheadon
Copy link
Author

sewmyheadon 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