Migrate Joomla Users to WordPress
Last Updated on Monday, 10 October 2011
Note that this article is for Joomla 1.5.x sites to be converted to Wordpress 3.2.x sites. I started with a Joomla 1.5 as the move from Joomla 1.6 or greater is a lot easier since it uses nested categories like Wordpress.
There are lots of commercial migrators out there and they all seem to have this problem. I'm really keen not to ask all my users to have to change their passwords but that is what the commercial applications are doing.
Importing Joomla articles to WordPress posts
Last Updated on Monday, 03 October 2011
- Change database name my_joomla_db to your joomla database and my_wordpress_db to your Wordpress database
- Change http://demo.joellipman.com/wordpress/ to the full URL of your WordPress site.
- If post_type is to be post then append with ?p= otherwise use ?page_id=.
- ------ MIGRATING JOOMLA v1.5.# CONTENT TO WORDPRESS v3.2.# ------
- -----------------------------------------------------------------
- INSERT INTO my_wordpress_db.wp_posts
- SELECT
- id 'ID',
- 1 'post_author',
- created 'post_date',
- created 'post_date_gmt',
- CONCAT(introtext, ' ', `fulltext`) 'post_content',
- title 'post_title',
- '' post_excerpt,
- CASE state WHEN '1' THEN 'publish' ELSE 'draft' END 'post_status',
- 'open' comment_status,
- 'open' ping_status,
- '' post_password,
- alias 'post_name',
- '' to_ping,
- '' pinged,
- modified 'post_modified',
- modified 'post_modified_gmt',
- '' post_content_filtered,
- '0' post_parent,
- CONCAT('http://demo.joellipman.com/wordpress/', '?p=', id) AS guid,
- '0' menu_order,
- 'post' AS 'post_type',
- '' post_mime_type,
- 0 comment_count
- FROM
- my_joomla_db.jos_content
- ORDER BY
- id

