Posts Tagged "Word Press"
Migrate from Joomla to wordpress

I used Joomla to manage my blog for quite a few months after that I realized that it is much more convenient for me to use wordpress. Obviously after installing wordpress on the server I had to move my posts from Joomla to wordpress. Copy pasting posts was one option
After doing some research on the web I managed to find this script. It automatically moves all your Joomla entries to your wordpress database. The only hard part is to configure it to connect to your wordpress/Joomla databases. First thing you would need to do is to extract the zip file, open the file called config.php you would see:
//********************************************************// // IMPORT SETTINGS //********************************************************// # CONFIG SECTION # Export Database Information - Your Joomla/Mambo database that you want to export from. $dbh = 'changeme-database'; $dbuser = 'changeme-user'; $dbpass = 'changeme-pass'; $dbhost = 'localhost'; // localhost is default $dbprefix = 'mos_'; # Import Database Information - Your WordPress database that you want to import into. $dbi = 'changeme-wordpress-database'; $dbiuser = 'changeme-user'; $dbipass = 'changeme-pass'; $dbihost = 'localhost'; // localhost is default # END CONFIG SECTION
This file contains all the configurations you need. If you are copying this script to your server and will run it on the server you should keep:
- $dbhost = ‘localhost’;
- $dbihost = ‘localhost’;
- The prefix is usually $dbprefix = ‘jos_’;
You can find Joomla’s database configuration information in the admin panel under control panel. If you can’t find it then you could always use phpmyadmin, pre-installed by most of web hosting companies.
The user name and password you provide in both sections are most likely to be similar. Please note that this user account needs to have the privilege to access the databases, its probably different from the account you use to access Joomla/wordpress. If you are using phpmyadmin then you could use the same account.
After you fill the configuration file you would need to run the script. To do that you would just need to copy the script to your server. Access the folder with your browser and follow the instructions.
Please note: make sure you check your wordpress for the imported posts everytime you run this script. If you run it more than once it will keep on importing the same posts to your wordpress database, then you would have to remove the duplicates.
To download the script click here.