Skip to content

Instantly share code, notes, and snippets.

@elebescond
Created July 11, 2012 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elebescond/3090789 to your computer and use it in GitHub Desktop.
Save elebescond/3090789 to your computer and use it in GitHub Desktop.
replace url in wordpress post content
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://oldlink.com', 'http://newlink.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment