Skip to content

Instantly share code, notes, and snippets.

@adamcbrewer
Created March 6, 2012 21:49

Revisions

  1. adamcbrewer renamed this gist Mar 14, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. adamcbrewer revised this gist Mar 10, 2012. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions wp-transfer-process
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,2 @@
    #######################################
    SQL FOR UPDATING PERMALINKS
    #######################################

    update wp_options set option_value = replace(option_value,'string_to_find','string_to_replace');
    update wp_posts set guid = replace(guid,'string_to_find','string_to_replace');
  3. adamcbrewer renamed this gist Mar 6, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. adamcbrewer revised this gist Mar 6, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion WP Transfer Process
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    #######################################
    SQL FOR UPDATING PERMALINKS
    SQL FOR UPDATING PERMALINKS
    #######################################

    update wp_options set option_value = replace(option_value,'string_to_find','string_to_replace');
  5. adamcbrewer created this gist Mar 6, 2012.
    6 changes: 6 additions & 0 deletions WP Transfer Process
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #######################################
    SQL FOR UPDATING PERMALINKS
    #######################################

    update wp_options set option_value = replace(option_value,'string_to_find','string_to_replace');
    update wp_posts set guid = replace(guid,'string_to_find','string_to_replace');