Created
March 30, 2015 10:15
-
-
Save mayukojpn/e5264acec838e5f63f37 to your computer and use it in GitHub Desktop.
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_posts` SET `post_name`=REPLACE (`post_name`,"_","-") WHERE `post_type` = 'post'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment