Created
January 10, 2013 18:21
-
-
Save claudiosanches/4504475 to your computer and use it in GitHub Desktop.
Update domain
This file contains hidden or 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 post_content | |
UPDATE wp_posts SET post_content = REPLACE(post_content,'http://www.url-antiga.com.br/','http://www.url-nova.com.br/'); | |
# Update guid | |
UPDATE wp_posts SET guid = REPLACE(guid,'http://www.url-antiga.com.br/','http://www.url-nova.com.br/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment