Skip to content

Instantly share code, notes, and snippets.

@roine
Created August 6, 2013 06:47
Show Gist options
  • Select an option

  • Save roine/6162620 to your computer and use it in GitHub Desktop.

Select an option

Save roine/6162620 to your computer and use it in GitHub Desktop.
wp replace localhost by live domain
UPDATE `wp_posts` SET `guid` = REPLACE( `guid` , 'localhost', 'liveserver' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment