• I have noticed that when I try to import my WordPress blog via the exported XML file, only a partial number of posts are being imported.

    Is this a bug?

    Clarence

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sort of. It’s a time-out and/or a memory problem.
    Search the forum for that.
    Check the export file if eveything is there.You can open it with Notepad++ or something but not Word!
    If it is complete, you can also divide it into smaller parts but be sure to leave in all parts logical start and end lines (as in the original).

    Thread Starter Clarence Johnson

    (@picpu)

    Ken,

    Thank you for the reply. I search the forum.

    Thread Starter Clarence Johnson

    (@picpu)

    I’m still having a challenge with this. Can anyone point in the direction as to how to breakdown the exported file (i.e. XML) into smaller parts.

    Thanking you in advance and Happy New Year!

    Clarence

    Ok, open the exported file in Notepad++ or something (but not in Word) and try to check if its complete.
    Look at the presnt size of your xml file. If it is 4 mB then you want to break it down in two pieces.
    Then start the breaking up as follows:
    Do a “Save as” and name the file partone.txt.
    Then scroll down to the first <item> in the file.
    Select some lines in the file and scroll down to about halfway in the scroll bar and find any </item> This indicates the end of a post or page.
    Then shift click to select that half and cut it out.
    Remember the name of the next item = post title.
    Now save again.

    Reopen the original big file. Now you are going to cut out the bottom half, starting at the item which name you remembered and then selecting to the bottom, but stop right after the last </item> leaving in </channel>
    and </rss>
    Save as this one as parttwo.txt

    Now do an import of the two files one by one. The order does not matter.

    Thread Starter Clarence Johnson

    (@picpu)

    Problem Solved!!!

    My wp-postmeta table was bloated beyond belief – it was populated with a lot of custom field data that I no longer required. I deleted the data and a former 21.5MB database was reduced to 500MB!

    I exported the XML file and the import ran smoothly.

    @henkholland – thank you for helping me. Greatly appreciated!!

    Clarence

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WP 2.9 Importing’ is closed to new replies.