Skip to content

Instantly share code, notes, and snippets.

@michaelgiles
Created October 23, 2016 02:30
Show Gist options
  • Save michaelgiles/8112ef3fa5d54828e008d1ef07724326 to your computer and use it in GitHub Desktop.
Save michaelgiles/8112ef3fa5d54828e008d1ef07724326 to your computer and use it in GitHub Desktop.
Wordpress - Replace URLS in Content
UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment