Created
September 16, 2016 20:29
-
-
Save douglascabral/c9a76cc3e6bb3692d196fc33332717ce to your computer and use it in GitHub Desktop.
Change the URL WordPress
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 wp_commentmeta SET meta_value = REPLACE(meta_value, 'http://site.com.br', 'http://localhost/'); | |
UPDATE wp_options SET option_value = REPLACE(option_value, 'http://site.com.br', 'http://localhost/'); | |
UPDATE wp_posts SET guid = REPLACE(guid, 'http://site.com.br', 'http://localhost/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment