Last active
December 27, 2015 04:48
-
-
Save shanaver/7269133 to your computer and use it in GitHub Desktop.
Wordpress domain change entire database for local testing
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
update wp_posts set guid = replace(guid, "livesite.org", "testsite.local"); | |
update wp_options set option_value = replace(option_value, "livesite.org", "testsite.local"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment