Main menu

Migrating from Joomla 3 to Joomla 4: A Step-by-Step Guide

This guide covers one older step: moving from Joomla 3.10.x to 4.x. It isn't the whole route to a supported version. Joomla 4 is no longer supported, and Joomla's current roadmap lists Joomla 5.x and 6.x as the supported series. Plan your full route to a supported version before you change your site.

Before you start: know your version and your route

The official 3.10.x to 4.x migration guide starts from Joomla 3.10.x and walks you through upgrading a restored test copy with Joomla Update. If you're on an earlier Joomla 3 release, update to 3.10.x first. These steps are for this one version change. They don't tell you to make Joomla 4 your new live site or to jump straight to another major version.

Overview: moving from Joomla 3.10.x to 4.x

Step 1: Preparation and Backup

Back up your database and all your site files. Keep that backup apart from the test copy you'll work on, and make sure you can restore it. Follow the official guide on a separate test copy, never on your live site. Check the requirements for the exact version you're moving to before you change PHP or database settings.

Step 2: Extension Compatibility Check

List every third-party component, module, plugin and template you use. For the move from 3.10.x to 4.x, review Joomla Update's Pre-Update Check and each developer's migration instructions. If an extension has no compatibility tag, don't assume it works. The Joomla Extension Directory can help you find an extension, but confirm its version and upgrade route with its developer.

Step 3: Updating Extensions and Templates

Don't install every Joomla 4 package into Joomla 3. Some extensions use one package for both versions. Others need a different order of steps, a replacement or removal before the core update. Follow each developer's instructions on your test copy, and back up before you make changes. An available update doesn't mean your whole site is ready.

Step 4: Restore a Joomla 3.10.x test copy

Restore your Joomla 3.10.x backup to a separate test location with its own database. The official guide suggests a subdomain, a subdirectory, your own computer or a new hosting account on a temporary domain. Check that the restored site works, update it to the latest 3.10.x release and check its database schema before you go on. You're upgrading this copy, not installing a fresh Joomla 4 site and hoping your content moves over on its own.

Step 5: Follow the version-specific core update

Once the requirements and extension checks are done, follow the official guide's Joomla Update steps on your test copy. Joomla's core extensions move over through that update. Third-party extensions still need their own plan. Not every site needs a separate migration tool. This guide doesn't cover update settings for Joomla 5 or 6.

Step 6: Review menus and modules

The official guide lists menus and core modules among the core extensions the update covers. After the update, check their links, how they display and their module positions. Don't assume you'll need to rebuild them. Third-party modules may need other work, so follow their developers' instructions.

Step 7: Template Migration or Redesign

If your template doesn't work with Joomla 4, plan a replacement that does and try it on your test copy. Protostar, the Joomla 3 core template, doesn't work with Joomla 4. For a third-party or custom template, confirm how it moves to Joomla 4 and check the layout before you go on.

Step 8: Content Review

Go through your articles, categories and media on the test copy and make sure they all came across. While you're there, fix anything out of date, such as old dates, prices or links.

Step 9: Testing

Test the Joomla 4 copy. Run a broken link checker, look for missing images, and try your forms, logins and search. Then check the site on a phone, a tablet and a desktop.

Step 10: Plan your move to a supported version

Joomla 4 is a stop along the way, not where your live site should end up. Use Joomla's current documentation and roadmap to plan the rest of the path to a supported release, and check that version's requirements and your extensions. This guide doesn't cover those later upgrades. Before you switch over, bring across any content that changed on your live site while you were testing. Back up, finish the planned migration and test again once you've switched. Then move or restore the finished site to your live site's root, as the official guide's going-live steps describe. If you built it on a temporary domain in a new hosting account, point your domain at that account instead. That can mean changing DNS or nameservers.

Step 11: Monitor and Fine-Tune

In the days after you switch, watch your error logs, forms and visitor reports, and fix problems as they show up.

The official migration guides at joomla.org:

Conclusion

Upgrading takes more than picking a Joomla package. Know which version you're starting from, pick a supported version to end on, check every extension and template, and test on a separate copy with your backup kept safe. Use the official guide linked above for the 3.10.x to 4.x step, and Joomla's current documentation for the rest.

If you also need to compare hosting, see Joomla hosting plans.

Read more...