Friday, September 3, 2010

Migrating Joomla to Wordpress

If you are looking to migrate from Joomla cms to wordpress then you can use this plugin which will make your work more easy.

Here are some solutions


There is an tool published in the Worpdress website which can be found here:
http://codex.wordpress.org/Importing_Content#Joomla
http://www.onestopjoomla.com/extensions/migrate/joomla-to-wordpress-import-wizard/

 There is an error that has to do with WordPress post_category field, which being obsolete for many versions,now has been removed. This can be easily tackled by altering the INSERT INTO query in the index.php a bit like this:


$query = “INSERT INTO “.$wptblprefix.”posts (id, post_author, post_title, post_content, post_date, post_modified, post_name) VALUES (”, ‘$ID5′, ‘{$import[1][$j]}’, ‘{$import[2][$j]}’, ‘{$import[3][$j]}’, ‘{$import[4][$j]}’, ‘$post_name’)”;





Or you can use a plugin made for it

http://wordpress.org/extend/plugins/joomla-to-wordpress-migrator/


The WordPress Installation should be empty !!! No posts, pages or categories.Joomla and WP must be on the same MySQL Server.Go to the Plugin Admin Page and fill in the MySQL Connection Parameters.

You can choose under the WP Admin section on the Plugin Option Page if you want migrate all categories at once or select specific categories.

Start the Migration with the button on the Plugin Panel.

After sucessfull migration you can press the "Change Urls" button to change the links in the content of the posts.

Sources:

http://www.thkouk.gr/2010/07/transfering-content-from-joomla-to-wordpress

1 comment:

  1. Hello!
    You should add one more source of website content migration cms2cms

    ReplyDelete