Skip to content

Instantly share code, notes, and snippets.

@cdcarson
Created August 1, 2013 14:09
Show Gist options
  • Save cdcarson/6131701 to your computer and use it in GitHub Desktop.
Save cdcarson/6131701 to your computer and use it in GitHub Desktop.
changing the url of a networked blog
UPDATE wp_2_posts SET post_content = REPLACE( post_content, 'events.therealtimereport.com/lab', 'events.therealtimereport.com/realtime-marketing-lab' ) WHERE post_content LIKE '%events.therealtimereport.com/lab%'
UPDATE wp_2_posts SET guid = REPLACE( guid, 'events.therealtimereport.com/lab', 'events.therealtimereport.com/realtime-marketing-lab' ) WHERE guid LIKE '%events.therealtimereport.com/lab%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment