Import entries from 1.5 to 2.0 (5 posts)

  1. kdharris
    Posted 10 years ago #

    How might one go about importing entries from a WordPress 1.5 installation into 2.0?

  2. moshu
    Posted 10 years ago #

    I'd install the same version of 1.5.x first - do the import and then upgrade.
    The db table structure has been changed in 2.0 so just importing it... I am afraid it wouldn't work.

  3. kdharris
    Posted 10 years ago #

    Before going on hiatus or whatever you might call it (suspending my hosting account), I made a backup of the entire root directory--I managed to preserve an installation of WordPress. Previous attempts to run that installation after reuploading it have failed, but I have found that it was because of a) .htaccess settings and b) outdated URLs in the SQL (boison.org as opposed to boison.org/old).

    So my old WP installation now functions. I just went through and deactivated/deleted all plugins and changed the permalink structure to reflect that of my current installation.

    Where should I go from here? I have only a basic understanding of PHP and zero with SQL. I just made a backup of the modified old SQL, so I have room to "play around."

    A couple of thoughts: would it be plausible to remove fields that aren't in the 2.0 schema from the 1.5 version?

    I'm gonna tinker for awhile, 'cause I just confused myself...

  4. kdharris
    Posted 10 years ago #

    And if this may help anyone in the future: http://titidiab.free.fr/wordpress/?p=47.

  5. moshu
    Posted 10 years ago #

    It's amazing how people like to complicate things...
    The only simple solution is what I've posted above:
    1. user has a 1.5 install
    2. user wants those posts imported somewhere else into 2.x
    3. user needs to install the same version for the target location
    4. user makes an export of DB tables
    5. user imports the sql file to the target location
    6. (conditional) if the 2 URIs were not changed in the Options before the move, user goes into phpMyAdmin and changes the 2 values following this guide:
    7. user updates WP install to the latest version

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.