Skip to content

Instantly share code, notes, and snippets.

@rwboyer
Created June 22, 2016 21:50
Show Gist options
  • Select an option

  • Save rwboyer/a8969ebb029aedbad0d944cbb5bae35a to your computer and use it in GitHub Desktop.

Select an option

Save rwboyer/a8969ebb029aedbad0d944cbb5bae35a to your computer and use it in GitHub Desktop.
UPDATE wp_posts SET guid = REPLACE (guid, 'http://localhost:8888', 'http://wa.flywheelsites.com');
UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://localhost:8888', 'http://wa.flywheelsites.com');
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, 'http://localhost:8888','http://wa.flywheelsites.com');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment