Created
February 25, 2013 15:02
-
-
Save americkson/5030387 to your computer and use it in GitHub Desktop.
Wordpress Database Move
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_options SET option_value = Replace(option_value, 'current-staging-domain', 'primary-domain-name'); | |
UPDATE wp_posts SET post_content = Replace(post_content, 'current-staging-domain', 'primary-domain-name'); | |
UPDATE wp_posts SET guid = Replace(guid, 'current-staging-domain', 'primary-domain-name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment