Created
September 10, 2015 06:38
-
-
Save pcsontos/122fceb3d6e6e43da98d to your computer and use it in GitHub Desktop.
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-cli.phar search-replace 'http://example.dev' 'http://example.com' --skip-columns=guid | |
Or, if you only want to change the option, you can do: | |
wp-cli.phar option update home 'http://example.com' | |
wp-cli.phar option update siteurl 'http://example.com' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment