Websites and applications
Upgrade Joomla 1.5: migrate the content to a current version of Joomla
Joomla 1.5 cannot be upgraded to a modern version with the update button, nor from Softaculous: so much changes between them that the only way is to migrate the content to a new installation. It used to be migrated to Joomla 2.5 with the jUpgrade component, but 2.5 has also been unsupported for years. Today you can jump straight from 1.5 to the current version of Joomla.
The process consists of setting up a new Joomla installation alongside the old one, in a subfolder, copying the 1.5 content into it and, when everything is ready, making it the main website. The old website keeps working until the last step.
1. Prepare the ground
- Make a full backup of the current website (files and database) with the cPanel backup wizard.
- Write down the connection details of the Joomla 1.5 database. They are in the website's
configuration.phpfile:$host,$user,$password,$dband$dbprefix(usuallyjos_).
2. Install the new Joomla alongside the old one
Install the latest version of Joomla from Softaculous on the same domain, in a subfolder, for example nueva. Softaculous will create its own database for it, so it does not touch the old website's database.
When it finishes you will have the new website at tudominio.com/nueva and its administration at tudominio.com/nueva/administrator.
3. Migrate the content with SP Upgrade
SP Upgrade is a paid component that migrates directly from Joomla 1.5 to versions 4, 5 and 6. It is installed in the new Joomla, not in the old one.
- Download SP Upgrade from its page in the Joomla extensions directory.
- In the new Joomla's administration, go to System > Install > Extensions and upload the zip file.
- Open Components > SP Upgrade and, in its connection options, enter the Joomla 1.5 database details you wrote down in step 1. Use
localhostas the host. - Start the transfer and wait for it to finish. With a lot of content it may take a while.
SP Upgrade copies Joomla's core content: users, articles with their sections and categories, contacts, web links, news feeds, banners, menus and modules. You have to copy the images in the images folder yourself: from the cPanel File Manager, copy the contents of public_html/images to public_html/nueva/images.
4. Review the new website
This is where the real work starts. Go over the new website at tudominio.com/nueva:
- Third-party components and modules: those for Joomla 1.5 do not work in current versions. Look for their current version or an alternative in the extensions directory, install it and configure it again.
- Template: the 1.5 template will not work either. Choose a current template and adapt it to your design.
- Menus and links: check that every menu item leads to its page and that the links inside articles work.
- Users: log in with a migrated account to check that login works.
The fewer components and customisations the old website has, the less work there will be in this step.
5. Make the new website the main one
When the new website is ready:
- Make another backup.
- Move the Joomla 1.5 files from
public_htmlto a folder outside the website, for example/home/usuario/joomla15, in case you need to recover something. Do not move thenuevafolder. - Move all the contents of
public_html/nuevatopublic_html, including the hidden.htaccessfile. - Edit
public_html/configuration.phpand change the paths ending in/nueva:$log_pathand$tmp_pathmust become/home/usuario/public_html/administrator/logsand/home/usuario/public_html/tmp. If$live_sitehas an address, leave it empty or set it tohttps://tudominio.com. - Open
tudominio.comand the administration attudominio.com/administratorand check that everything works.
If the addresses of some pages change, create redirects from the old ones to the new ones from Joomla's Components > Redirects so as not to lose the visits that come from Google.
When everything works, you can delete the joomla15 folder and the old database.
You may also find useful
- Check the site URL in Joomla Explains when to check $live_site in Joomla, why it should normally stay empty and what to check bef...
- Change an order's status according to the payment method in PrestaShop Change the status PrestaShop assigns to an order when it is confirmed with cash on delivery, bank tr...
- Change the PrestaShop shop and back office language to Spanish Put PrestaShop in Spanish: import the Spain localisation pack, choose Spanish as the shop's default...
- Change the uploads folder and media organisation in WordPress Explains how to turn off date-based folders, change the WordPress uploads path and adjust files and...
Something wrong or out of date? Tell us and we will review it.