Joomla Tutorials and Blog Posts

Converting a WordPress Site to Joomla

January 8, 2011 | Written by Steve Burge

This tutorial will show you how to move an existing WordPress site over to Joomla. This will work for many WordPress versions up to 3 and will work for Joomla 1.5.

We also have a tutorial showing how to move in the opposite direction, migrating from Joomla to WordPress.

Here's what you need to know before we start:

  • This will import categories from WordPress however it doesn't associate the imported posts/pages the corresponding categories. This is because WordPress allows one post to be associated with multiple categories and Joomla doesn't.
  • All WordPress categories and sub-categories will simply become categories in Joomla.
  • WordPress uses the phpass algorithm to encrypt passwords but Joomla uses MD5. Hence users login password imported from WordPress will not work. One way to get around this is to install the WordPress "MD5 Password Hashes" plugin before you do the import. This plugin converts the WordPress passwords into MD5 which Joomla can understand: http://wordpress.org/extend/plugins/md5-password-hashes/
  • This will imports your database, but not any files (images etc). You'll need to move those manually.
  • Comments will be imported if you have the extension.

Install Joomla and the JConverter Extension

  • Install a fresh copy of Joomla without any of the sample data.
  • Then find and download the JConverter extension for Joomla.
  • Install JConvertor into your new Joomla site.
tutuploadsmedia_1294500984731.png

Get Your WordPress Database Details

You'll need to go into your WordPress files and access wp-config.php. Open that file and you'll need to make note of the following details from the file:

  • Database name
  • Database user
  • Database password
  • Database host
  • Database prefix
tutuploadsmedia_1294501368885.png

Enter Your WordPress Database Details

Go back to your Joomla site and go to Extensions > JConvertor > Global Configuration and enter the database infomartion you just collected:
tutuploadsmedia_1294501038084.png

Starting the Conversion

When that data is in place, click Save and then click Start Conversion!
tutuploadsmedia_1294501117432.png
You'll now see a screen like the one below. It will show the status of all the imported data:
tutuploadsmedia_1294501092654.png

Check Your Data

Now you can go to your Article Manager, Category Manager and User Manager to make sure that all the data has been imported successfully:
tutuploadsmedia_1294501700804.png


 

Comments  

 
#1 careytech 2011-01-10 22:27
Is there a technique or tool for importing the WordPress content into K2 items rather than into the default Joomla articles?
 
 
#2 kl6H_steve 2011-01-11 07:01
Once the content is inside Joomla's articles, you can then use the normal K2 importer.
 
 
#3 Swapnil Bhosale 2011-01-16 06:42
This solution is really amazing for those who want to switch their CMS. Also your K2-component related articles were helpful. Thank You
 
 
#4 iowawebco 2011-01-16 22:28
Glad to hear that, Swapnil! You are welcome! :-)
 
 
#5 Duc 2011-07-09 01:18
I've got this error when try to use JConverter.
My site is mystudying.byethost2.com, and joomla version is 1.5x

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: mystudying.byethost2.com/.../...

The following error was encountered:

Zero Sized Reply

Squid did not receive any data for this request.
 
 
#6 iowawebco 2011-07-09 11:09
Hi and welcome, Duc!

Sorry for the inconvenience, but if you're a student at OSTraining, could you copy and paste this into the support forum so one of our support techs can look into it for you? Here's the direct link to it:
www.ostraining.com/.../

Please see the support FAQ for more information:
www.ostraining.com/.../

Kind regards,
Nick
 
 
#7 tbr 2011-09-28 15:44
How can i do to convert from wordpress to joomla 1.7 ?
 
 
#8 Lyuba 2011-12-12 13:21
Hi,
I get the message:

Warning: Invalid argument supplied for foreach() in /home/mold/moldip.info/administrator/components/com_jconverter/models/migrate.php on line 206


.....
Warning: Invalid argument supplied for foreach() in /home/mold/moldip.info/administrator/components/com_jconverter/models/migrate.php on line 430
You can safely ignore "Failed! - Duplicate Key!" errors. Please verify first that the contents you imported are present in your Joomla site or not.

Adn on Joomla it is onlu the cathegoru installed. How to install the articles?
Help me, please.

Best regards,
Lyuba
 

Add comment