Created
October 11, 2013 10:18
-
-
Save bonesoul/6932522 to your computer and use it in GitHub Desktop.
Fix url's in a sql database;
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_content=REPLACE(post_content, 'old-url', 'new-url') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment