Skip to content

Instantly share code, notes, and snippets.

@michaelgiles
Created October 23, 2016 03:51
Show Gist options
  • Select an option

  • Save michaelgiles/74aa122f2e03c6b5b70331fd2e378496 to your computer and use it in GitHub Desktop.

Select an option

Save michaelgiles/74aa122f2e03c6b5b70331fd2e378496 to your computer and use it in GitHub Desktop.
Wordpress - Change URL for content new from old
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