Created
March 7, 2024 03:39
-
-
Save mrkdevelopment/d1f2b8fd9da3f5dbc2dd8269f93ff175 to your computer and use it in GitHub Desktop.
WP CLI Command for search and replace when sending a WP site live.
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 'old.domain.com' 'new.domain.com' --precise --all-tables --skip-columns=guid,user_email --report-changed-only --dry-run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment