Skip to content

Instantly share code, notes, and snippets.

@mayukojpn
Created August 13, 2014 07:41
Show Gist options
  • Save mayukojpn/8390f4fceb6e7b3dd701 to your computer and use it in GitHub Desktop.
Save mayukojpn/8390f4fceb6e7b3dd701 to your computer and use it in GitHub Desktop.
WordPressのドメイン置換
update wp_options set option_value=replace(option_value, 'blog.example.com', 'blog.example.org') where option_name in ('siteurl', 'home');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment