Sunday, August 31, 2014
   
Text Size
Login

Migrate Joomla Users to WordPress

This is for Joomla 1.5.x sites!
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

Migrating the articles:
  1. Change database name my_joomla_db to your joomla database and my_wordpress_db to your Wordpress database
  2. Change http://demo.joellipman.com/wordpress/ to the full URL of your WordPress site.
  3. If post_type is to be post then append with ?p= otherwise use ?page_id=.
Articles:

  1.  ------ MIGRATING JOOMLA v1.5.# CONTENT TO WORDPRESS v3.2.# ------ 
  2.  ----------------------------------------------------------------- 
  3.   
  4.  INSERT INTO my_wordpress_db.wp_posts 
  5.  SELECT 
  6.       id 'ID'
  7.       1 'post_author'
  8.       created 'post_date'
  9.       created 'post_date_gmt'
  10.       CONCAT(introtext, ' '`fulltext`'post_content'
  11.       title 'post_title'
  12.       '' post_excerpt, 
  13.       CASE state WHEN '1' THEN 'publish' ELSE 'draft' END 'post_status'
  14.       'open' comment_status, 
  15.       'open' ping_status, 
  16.       '' post_password, 
  17.       alias 'post_name'
  18.       '' to_ping, 
  19.       '' pinged, 
  20.       modified 'post_modified'
  21.       modified 'post_modified_gmt'
  22.       '' post_content_filtered, 
  23.       '0' post_parent, 
  24.       CONCAT('http://demo.joellipman.com/wordpress/''?p=', id) AS guid, 
  25.       '0' menu_order, 
  26.       'post' AS 'post_type'
  27.       '' post_mime_type, 
  28.       0 comment_count 
  29.  FROM 
  30.       my_joomla_db.jos_content 
  31.  ORDER BY 
  32.       id 

Latest Posts

  • Joes Word Cloud (JWC)

    • Sat 23-Aug-14
      Salut Joe, Thank you again for helping me. I had installed V2.2 for Joomla 2.5. Finally, as you ...
      Nathalie  
    • Wed 20-Aug-14
      Salut Nathalie! I could only access the under construction page of your website, so I'm not 100% sure.
      Webmaster  
    • Tue 19-Aug-14
      Hi Joe, Thank you for your prompt reply. Below, an "image" of the cloud on my website : "pour ante ...
      Nathalie  
    • Mon 18-Aug-14
      Hi Nathalie, Thanks for the message. The module does not see Virtuemart text but that sounds like ...
      Webmaster  
    • Mon 18-Aug-14
      Hi Joel, Fist of all, thank you for the module. What such a work ! I have a problem with Virtuemart module.
      Nathalie