WordPress 2.3 to b2evolution 2.0 (alpha) converter README
Copyright © V.Harishankar <v DOT harishankar AT gmail.com> 2007 (released under the GNU GPL v2 and above)
Intro
This script converts posts, comments, categories and users from a WordPress 2.3 installation and imports it into a fresh, new installation of b2evolution 2.0 alpha. Note that this importer works only with 2.3 and above as the database schema for WordPress has changed in the new version. The importer will NOT work for older versions of WordPress. In order to convert WP to b2evolution, please upgrade your WordPress installation to 2.3 before running this script.
This script does not touch your WordPress installation at all. But make sure your b2evolution installation is new and empty as the script will erase all the existing posts, categories, comments and users (except admin) from your b2evolution database!!
Usage
- Download and install b2evolution 2.0 on your server. Download Link
- If you chose to install b2evolution without any sample data, create at least one blog.
- Upload
wp_2_b2evolution.php
to your server. It can be in any location within public_html.
- Point your web browser to the script
wp_2_b2evolution.php
. E.g. http://yourserver.com/wp_2_b2evolution.php
- Fill up the database fields and click on "import". You will see a list of messages on your screen. If all goes well, you should get a message like this at the end: Everything imported correctly. Try out your new b2evolution blog! If you get any error messages, check the database parameters and try again and make sure that both WordPress and b2evolution are installed correctly.
- Check whether your posts, comments, categories and users have been imported properly. Note that all users except admin are imported, but their permissions are set to the "Basic Users" level in b2evolution, regardless of the permission set in WordPress.
- Provide feedback to me :-)
Notes
- The importer converts the following from WP to b2evolution: categories, posts (with categorization), comments and users (except admin).
- It does not convert attachments or uploads! You will have to manually re-upload your attachments in b2evolution.
- All posts/comments/categories are imported into the blog ID #1 in b2evolution. Make sure you have at least one blog installed in b2evolution before you run the importer.
- Subcategories in WP are ignored and imported as root categories (with no parent category). Although b2evolution has subcategories feature, there is a problem mapping the category IDs correctly on importing as WordPress has changed its categorization scheme to a "taxonomy" system and the subcategories still map to the old category ID. This might lead to "orphaned" subcategories in b2evolution. The point is you have to manually remap the subcategories to their parent categories in b2evolution.
- Since this importer only works with the database, you still have to manually convert your WordPress themes/templates etc. to b2evolution if you so wish or you can download a pre-existing b2evolution theme if you don't like the default themes.
License
wp_2_b2evolution.php
Copyright © V.Harishankar 2007
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.