Skip to content

Instantly share code, notes, and snippets.

@rotten77
Created September 11, 2013 17:55
Show Gist options
  • Save rotten77/6527286 to your computer and use it in GitHub Desktop.
Save rotten77/6527286 to your computer and use it in GitHub Desktop.
SQL query for change domain on Wordpress blog
UPDATE TABLE wp_options SET option_value = "new domain" WHERE option_name = "siteurl"
UPDATE TABLE wp_options SET option_value = "new domain" WHERE option_name = "home"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment