• Green

    (@yanggh)


    It’s good! It seems I don’t need to run “fix.php” script for slugs issue.

    The fix.php including these codes:

    <?php
    require_once('wp-load.php');
    $res = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink'");
    $wpdb->print_error();
    foreach ($res as $row){
    $slug = explode("/",$row->meta_value);
    $slug = explode(".",$slug[3]);
    $wpdb->query("UPDATE $wpdb->posts SET post_name ='" . $slug[0] . "' WHERE ID = $row->post_id");
    $wpdb->print_error();
    }
    echo "DONE";
    ?>

    I had found out these fix.php codes after using Blogger Importer Extended plugn, custom web address to /%year%/%monthnum%/%postname%.html yet.
    Everything works fine and slugs of posts in WordPress all seems ok.

    Even though, I still backed up DB and tried to run fix.php script, then it seems nothing has changed.
    So, I restore DB back and no problem so far.

    Is the fix.php script unnecessary if I use Blogger Importer Extended to do Blogger2Wordpress work?

    Just want to make sure from the author ??

    BTW, I’ve import everything including images by this plugin this time.
    Is this plugin able to be used to import without images if I want to show images of posts in WordPress by original out-side link to images on Blogger(Picasa)?

    Thanks,
    Green

  • The topic ‘Is the fix.php script unnecessary if I use this plugin, right?’ is closed to new replies.