Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justingivens/c56b6c18fa5f36e0bead096208af6e11 to your computer and use it in GitHub Desktop.
Save justingivens/c56b6c18fa5f36e0bead096208af6e11 to your computer and use it in GitHub Desktop.
WP CLI Search-Replace to launch Production
#Export a SQL to use to move into Production
wp search-replace '{{DEVELOP_URL}}' '{{PRODUCTION_URL}}' --all-tables --export=production.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment