This tool lets you import contents from an XML file. The format is compatible with WordPress exports.
Make sure to use b2evolution version 6.9.1 or later.
In order to import a WordPress blog into b2evolution, you must first:
- Export your wordpress database to an XML file by using WordPress’ export tool. Let’s assume you call the file ?86d47be69c6a6e7941f91a6df372ca?.
- Your database does not include the media elements such as images, videos, PDFs, etc. that you uploaded to your wordpress blog. These are stored separately in one or more folders of your WordPress hosting space. You need to gather all such media files from the appropriate wordpress directory(ies) and save them in a folder, let’s call this folder ?186d47be69c6a6e7941f91a6df372ca1?.
- This folder should include all the images (PNG, GIF, JPG̷) or videos (MPG, M4V̷) or documents (DOC, PDF̷) that you have uploaded and attached to your WordPress posts.
- Note: these are the files you have uploaded to your blog, not the resources you have linked to. If you one of your posts references an image on another site, you do not need to worry about that image.
- Optionally, you may make a ZIP file of ?86d47be69c6a6e7941f91a6df372ca? + ?186d47be69c6a6e7941f91a6df372ca1?. This ZIP file could be called ?486d47be69c6a6e7941f91a6df372ca4?.
- Note: You don’t have to make this ZIP file but it might make the upload process easier when you transfer your export to b2evolution.
1. Upload your files
You must upload your files into b2evolution’s ?586d47be69c6a6e7941f91a6df372ca5? folder.
You may do this using your usual FTP client, by using b2evolution’s file manager, or even by clicking "Upload/Manage import files" on the screen shown above.
If you made a ZIP file, upload it into ?586d47be69c6a6e7941f91a6df372ca5?.
If you didn’t make a ZIP files, make sure you upload both your ?86d47be69c6a6e7941f91a6df372ca? and your ?186d47be69c6a6e7941f91a6df372ca1? folder into ?586d47be69c6a6e7941f91a6df372ca5?.
Note: accepted names for the "files" sub-folder are:
- Assuming the xml file is named ?186d47be69c6a6e7941f91a6df372ca1?: ?1186d47be69c6a6e7941f91a6df372ca11?, ?1286d47be69c6a6e7941f91a6df372ca12?, ?1386d47be69c6a6e7941f91a6df372ca13?
- Generic names: ?1486d47be69c6a6e7941f91a6df372ca14?, ?1586d47be69c6a6e7941f91a6df372ca15?, ?1686d47be69c6a6e7941f91a6df372ca16?, ?1786d47be69c6a6e7941f91a6df372ca17?, ?1886d47be69c6a6e7941f91a6df372ca18?
2. Run the import tool
You should see a screen similar to the one depicted above. If you just uploaded your files and don’t see them, make sure you refresh the page.
You can see 3 different types of XML files listed:
- "Basic export (no attachments folder found)" : This means that b2evolution did not find any subfolder containing attachments.
- "Complete export (attachments folder: xxx)" : This means that b2evolution did find a subfolder containing attachments, as explained above.
- "Compressed Archive" : This means b2evolution found a ZIP archive that may or may not contain an appropriate XML file and attachments sub-folder. If you select such a ZIP file, b2evolution will attempt to decompress it into a subfolder and use its contents.
- Select the file you want to import.
- Select a Collection for import. New posts will be created in this collection. If you need a new collection, create it prior to launching the import tool.
- Select the Import mode
- Replace : all the contents of the selected collection will be replaced by the contents of the imported file. This means that ALL the original content will be deleted (posts, comments, categories and tags). Be very careful with this option – it could cause severe data loss.
- Append : all the contents of the imported XML file will be append to the existing contents of the destination collection. This allows to merge blogs. But this could also create many duplicates if you try the import process several times in a row.
- Click "Continue!"
3. Look at the results
The import process will run. If it encounters errors, especially missing image files, it will display those errors on screen. In such a case, it typically means you did not properly gather all your media files and/or did not upload them in a suitable location prior to running the import tool.
Created by • Last edit by on Nov 04, 2018