Joomla to WordPress Migration: Step-by-Step Guide
In this article
Migrating from Joomla to WordPress moves your content, images, and SEO value to a more flexible and widely supported platform. This guide walks you through the entire process, from backing up your Joomla site to launching your new WordPress site with minimal downtime. Before you start, you’ll need access to your Joomla admin panel, your hosting account (or a new one), and a domain name. No coding skills are required.
What You'll Need
- Access to your Joomla administrator (usually
yourdomain.com/administrator) - FTP or file manager access to your hosting account
- A database management tool like phpMyAdmin (usually available in cPanel)
- A text editor (like Notepad or Sublime Text) for editing configuration files
- A fresh WordPress installation (either on the same server or a new one)
- Patience – the process can take a few hours depending on site size
Step-by-Step
- Back up your Joomla site completely. Use a Joomla extension like Akeeba Backup to create a full backup (files + database). If you don’t have that, manually download all files via FTP and export your database via phpMyAdmin. Store the backup in a safe place outside your server.
- Install WordPress. If you’re moving to a new host, install WordPress via your host’s one-click installer (Softaculous, Fantastico) or manually. If you’re staying on the same host, you can install WordPress in a subdirectory (e.g.,
/wordpress) or a separate database. You’ll need a MySQL database – create one if you haven’t already. - Install the FG Joomla to WordPress plugin. In your WordPress admin, go to Plugins → Add New, search for “FG Joomla to WordPress”, install and activate it. This plugin will do the heavy lifting of importing content.
- Configure the plugin. Go to Tools → Import → Joomla (FG). You’ll need your Joomla database credentials: database name, username, password, host (usually
localhost), and the table prefix (usuallyjos_). You can find these in your Joomlaconfiguration.phpfile. - Test the connection. Click “Test the connection” in the plugin settings. If it fails, double-check your database credentials and that the database is accessible from your WordPress server. If you’re on a different host, you may need to allow remote MySQL access (not recommended for security – better to migrate the database first).
- Run the import. After a successful connection, click “Start the import”. The plugin will import categories, articles, menus, and images. It may take a while – don’t close the browser tab. If it times out, increase the PHP memory limit and execution time in your
wp-config.phpfile (adddefine('WP_MEMORY_LIMIT', '256M');andset_time_limit(0);). - Import images and media. The plugin usually imports images automatically, but if some are missing, you can use the “Import media” button in the plugin settings. This will fetch images from your Joomla site and add them to the WordPress media library.
- Set up menus and widgets. After content import, create a navigation menu in WordPress (Appearance → Menus) and assign it to a location. The plugin can import Joomla menus as WordPress menus, but you may need to adjust them manually. Add widgets (like recent posts, categories) via Appearance → Widgets.
- Check and fix internal links. The plugin has an option to update internal links from Joomla URLs to WordPress URLs. Run it after import. Also, use a search-replace tool (like “Better Search Replace” plugin) to replace any remaining old URLs with new ones.
- Set up redirects for old URLs. Joomla URLs (e.g.,
index.php?option=com_content&view=article&id=1) don’t match WordPress permalinks. Install a redirection plugin (like “Redirection”) and map old URLs to new ones. The FG plugin can generate a redirection list – use it. - Transfer users (optional). If you have user accounts, the FG plugin can import them. However, passwords are hashed differently, so users will need to reset their passwords. You can enable a “password reset” email for all imported users.
- Clean up and finalize. Once everything is imported, deactivate and delete the FG plugin. Remove any leftover Joomla files if you’re on the same server. Test all pages, posts, menus, and forms. Update your permalinks structure (Settings → Permalinks) to something SEO-friendly like “Post name”.
- Update DNS and go live. If you moved to a new host, update your domain’s DNS records to point to the new server. Wait for propagation (up to 24-48 hours). Once live, do a final check and then delete your Joomla installation or keep it as a backup.
Common Mistakes
- Skipping the backup. If anything goes wrong, you’ll lose everything. Always have a full backup.
- Not checking database credentials. Typos in the database name or password are the most common reason for import failure.
- Ignoring URL redirects. Without redirects, you’ll lose SEO rankings and get 404 errors.
- Forgetting to update internal links. Old links to articles, images, and downloads will break if not updated.
- Importing into a live site. Don’t run the import on a production WordPress site that already has content – it can duplicate or overwrite.
- Not cleaning up Joomla extensions. Joomla modules and components don’t have direct WordPress equivalents – you’ll need to find WordPress plugins for similar functionality (e.g., contact forms, sliders).
Tips
- Do the migration on a staging site first (a subdomain like
staging.yourdomain.com) to test everything before going live. - Use a child theme or a popular, well-coded theme to avoid conflicts.
- Export your Joomla site as a CSV or XML if you prefer manual migration – but the plugin is faster.
- After migration, install an SEO plugin (like Yoast) to set up meta descriptions and sitemaps.
- Take note of your Joomla menu structure – replicate it in WordPress to keep user experience consistent.
- If your Joomla site has custom PHP modules, you’ll need to recreate them as WordPress plugins or shortcodes.
Troubleshooting
Import fails with a connection error. Check that your database host is correct (often localhost), and that the database user has privileges to access the database. If you’re on a different host, you may need to temporarily allow remote access, but it’s safer to move the database to the same host first.
Images not importing. The plugin may fail if your Joomla site uses non-standard image paths. Try manually downloading the images folder and uploading it to your WordPress media library via FTP.
Content is imported but looks messy. Joomla articles may contain custom HTML that doesn’t render well in WordPress. You can use a plugin like “WP Content Filter” to clean up, or manually edit the posts.
Menus don’t appear. After importing, go to Appearance → Menus, create a new menu, and add the imported items. Then assign the menu to a location (like “Primary”).
Old URLs return 404. If the redirection plugin isn’t working, you can add redirect rules in your .htaccess file manually. For example, redirect index.php?option=com_content&view=article&id=123 to /new-post-slug/.
Users can’t log in. Since Joomla passwords aren’t compatible, you’ll need to trigger a password reset. You can do this by using a plugin like “Force Reset Password” or manually updating the user meta.
Frequently Asked Questions
Will my Joomla SEO rankings be preserved?
If you set up proper 301 redirects from old Joomla URLs to new WordPress URLs, you can preserve most of your SEO rankings. The FG plugin helps generate redirects, and you can refine them with a redirection plugin.
Can I migrate Joomla extensions (like components and modules)?
No, Joomla extensions are not compatible with WordPress. You’ll need to find WordPress plugins that offer similar functionality. For example, a Joomla contact form can be replaced with Contact Form 7 or WPForms.
How long does the migration take?
For a small site (under 100 articles), the import itself can take 10-30 minutes. For larger sites, it could take a few hours. The overall process, including setup and testing, can take a day.
Do I need to be a developer to do this?
No, the plugin automates most of the process. Basic familiarity with hosting control panels and databases is helpful, but the steps are straightforward.
What happens to my Joomla site during migration?
Your Joomla site remains untouched until you decide to delete it. You can run the import without affecting your live Joomla site. Once WordPress is ready, you can switch the domain to point to WordPress.
Can I migrate from Joomla 1.5 or 2.5?
Yes, the FG Joomla to WordPress plugin supports older Joomla versions, but you may need to use an older version of the plugin. Check the plugin documentation for compatibility.