0.00 (0 votes)
Migrate from Joomla to WordPress

Distance in popularity between first place WordPress and second place Joomla is large. Joomla is a great CMS but maybe Wordpress would be better :-) What to do if we have a Joomla website already and we don't want to loose our content? We can makes things a little bit easier and migrate our articles and categories using Wordpress plugin.

How to start?

1. Make a backup

Yes, we all already know that it's obvious but before every larger action on a website we should backup the site.

2. Get database parameters from Joomla installation

At first check necessary database parameters (except password) in Joomla administrator panel. Go to Admin Area -> System -> Global Configuration -> Server.

joomla server configuration

All necessary paremeters you can get from configuration.php file. Go to FTP client, ex. Filezilla and go to root directory of your Joomla installation. There you can find configuration.php file.

configuration php

Click right mouse button on configuration.php and choose View/Edit.

configuration php view

There you have all necessary parameters:

configuration php content

3. Install FG Joomla to WordPress plugin

Go WordPress Admin Area -> Plugins -> Add New

plugins add new

Then search for FG Joomla to WordPress and click Install Now.

install plugin

Activate plugin:

activate plugin

4. Configure FG Joomla to WordPress

Go WordPress Admin Area -> Tools -> Import.

tools import

Click Run Importer.

run importer

NOTE (parameters useful when you import content few times):
You have an option to remove Wordpress content by using button Empty Wordpress content.
You need to decide earlier if you want to remove only new imported data or all Wordpress content.
You can also choose if you want to automatically remove all the WordPress content before each import.

empty wordpress content

Enter URL of your Joomla webiste:

joomla url

Now the most important thing - enter Joomla database parameters and check if you can connect to this database using button Test the database connection.

joomla database parameters

NOTE 1: Joomla and Wordpress websites do not have to be on the same server but remember that hostname will be different than localhost. It will be hostname like yourserver.com or IP address. Accessed Joomla database should be "visible" from outside - this option is generally disabled by default. You should enable it in your hosting panel or send request to admin.
NOTE 2: Joomla and Wordpress websites should be visible by everyone. There should not be for example htaccess authorization.

When eveything is OK you will see this green text:

Joomla to WordPress import

Now is the part when you need to choose how this new content will be imported.

  1. Joomla articles can have introtext (text before used Readmore button). If you are using introtexts on Joomla webiste you need to decide if introtext should be added to excerpt, content or both.
  2. There you need to choose what to do with articles that have been archived: not import, import as drafts or import as published posts.
  3. Choose if you want to :
    • Skip or not media import
    • Use the first image from the content as featured image or not use featured images.
    • Import only the featured images. Don't import the other images.
    • Remove the first image from the content when it is used as the featured image.
    • Import external media.
    • Import media with duplicate names.
    • Force media import. Keep unchecked except if you had previously some media download issues.
    You can also change timeout for media but please do not change it until you have problems with media import.
  4. Option for import meta keywords as tags.
  5. There you can import articles as pages instead of posts.

Joomla to WordPress conversion

Click Save Settings when you are done.

4. Start import from Joomla to WordPress

Click button Start / Resume the import.

After import you will see this green text:

Joomla to WordPress migration

Troubleshooting:
  1. Fatal error: Allowed memory size of *** bytes exhausted
    It can be fixed by adding this code line in wp-config.php file that is located in Wordpress root directory:
    define('WP_MEMORY_LIMIT', '64M');
    If the error persists, please contact your hosting.
  2. If there is a problem with media import, check if you have allow_url_fopen enabled in php.ini file.
  3. Connection failed when you try to check database connection - please enter carefully your database parameters again and if you want to connect to external database please check if you have correct permissions.

Now you need to modify internal links using button Modify internal links.

modify links

Click here to see FAQ for FG Joomla to Wordpress plugin.

Do you find this tutorial helpful? Please share! Thanks.

About the author

Marcin Łyczko
WordPress and Joomla specialist. Marcin Łyczko works as a programmer and coder at PixelEmu.com - Joomla-Monster.com - Design-Joomla.eu - DJ-Extensions.com. He is a passionate about new solutions in web development especially in programming and coding tricks which he implements with ease in new projects.

Users' reviews

Total rating: (0 votes) Add review