Joomla da 1.5 a 3.x Migrazione passo dopo passo

From Joomla! Documentation

This page is a translated version of the page Joomla 1.5 to 4.x Step by Step Migration and the translation is 11% complete.
Outdated translations are marked like this.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎português do Brasil • ‎svenska • ‎فارسی • ‎中文(台灣)‎ • ‎日本語

Le seguenti sono istruzioni passo dopo passo per migrare il tuo sito 1.5 a Joomla 3.x. Anche se ci sono molti modi per migrare il tuo sito, questo ti darà la procedura di base da seguire.

Introduzione

La migrazione da Joomla! 1.5 a 3.x è una migrazione importante. Ci sono molti cambiamenti nelle caratteristiche e nelle tabelle del database tra queste due versioni. Si tratta di NOT' un aggiornamento con un solo clic. Potrai costruire/installare un nuovo Joomla! 3 installazione e poi migrare (spostare) i tuoi dati in esso. Se non l'avete già, si consiglia di iniziare con il Autovalutazione e Pianificazione documenti.

Distinguiamo prima di tutto tra i dati Joomla Core e i dati di estensione di terze parti. Joomla Core dati (componenti) sono:

  • Categories
  • Articles
  • Menus
  • Modules (core modules - not third-party)
  • Banners
  • Contacts
  • Messaging
  • Newsfeeds
  • Redirect
  • Search
  • Smart Search

Passo dopo passo

Spostare i dati di base di Joomla è abbastanza semplice con l'uso di uno strumento di migrazione. Tutto il resto è un'estensione di terze parti o un'estensione personalizzata. Questo include il template. Ogni estensione di terze parti deve essere ricercata per determinare se è pronta per Joomla 3.x e ha un percorso di migrazione o meno. Si può averlo fatto nel processo pianificare. In caso contrario, è necessario farlo ora. Alcune estensioni di terze parti possono essere migrate con uno strumento di terze parti. Alcune non possono. Leggi. Ricerca. Piano.

Poiché ci sono molti modi per migrare i dati e ogni sito è diverso, i passaggi esatti saranno leggermente diversi per ogni sito.

Prepare a Location for Joomla 4

  1. Make sure your server environment meets the technical specifications for Joomla! 4 before proceeding.
    Note: If your host does not meet the technical requirements, you will need to change hosts. If you need to change hosts, then set up a new hosting account on a host that meets the technical specs and install your fresh Joomla 4.x site in the root of the server on a temporary domain. This will make it easier when it’s time to go live. Alternatively, you can set up a development location on a local device (see below).
  2. Create a new database and new user for your Joomla! 4.x site. Document the database name, database username and database password as you’ll need it when you install Joomla 4.

Set up a Development Location

  1. Create a testing site or build area to work in with one of the following:
  2. Install a fresh installation of the latest version of Joomla 4.x into your testing site location using your new database name and database username.
    WARNING: DO NOT INSTALL SAMPLE DATA!
    NOTE: If you will be migrating any of the core extensions that will be decoupled from Joomla! 3.4+, then you will need to install Joomla 4.x AND the core supported extension. Core supported extensions will be accessible via the JED (extensions.joomla.org) and via the Install from web tab of the Extension Manager. Make sure you install any core supported extensions before migrating data. See the Roadmap for more details on what will be decoupled/removed. As of August 2021, only Weblinks has been decoupled.
  3. Run a backup of your Joomla 4 site. (Backup Basics for a Joomla! Web Site or see Suggested Tools)

Prepare Your Current 1.5 Site

  1. On your 1.5 site, update it to the latest version 1.5.26 after backing it up.
  2. Clean up your sections, categories, articles, modules, menu items. Make sure they all have unique aliases.
  3. Empty the trash in the content manager (sections, categories, articles), menu manager, module manager.
    NOTE: Sections no longer exist in Joomla 4. Sections become a parent Category. Categories become nested categories of the parent category.
  4. Notify users that any changes on the current site from this point forward will have to be reentered on the new site. For very complex migrations with changing data constantly, see this magazine article and this video.

Choose a migration tool

  1. There are many migration tools. Some are free, some cost a bit of money. Some only migrate certain data. Some migrate more types of data than others.
  2. Each migration tool will have their own step by step documentation on how to move data (if they don’t then don’t use it). Some migration tools will require the 1.5 site and 4 site on the same server. If you’re switching hosts, you will want to restore a *subdomain* of your 1.5 site on your new hosting account to pull the data from. Then kill it when you’re done.
  3. Migration tools can be found at the Extension Directory.
  4. When you choose a tool, choose one that allows you to keep the ItemIDs the same in the migration process. This is necessary to keep your search engine ranking intact or you may have more redirects to do. More information on redirects follow.
  5. If you have a small site, you may want to do the migration manually. Create categories and articles and copy the html over into your new site. Then copy the image directory over. Keep the /stories directory (which is no longer the default image directory in Joomla 4.x) or your image links will be broken until you fix each one.
  6. One of the migration tools (a free one) allows you to bring articles and only images associated with those articles over. This is helpful if your Media Manager is out of control.

Migration

  1. Migrate all core data you want to move to Joomla 4.x. If your migration tool asks to move Sections and Categories, definitely do both. The conversion will happen to categories and nested categories automatically.
  2. Run the Database Fix by going to Extension Manager  Database and click the Fix button in the top toolbar.
  3. Install your new template or converted template so that you can see your content. See more about Template Considerations.
  4. Add new menus if the tool you chose to use didn’t bring over menus. If you want to use split menus, set that up now.
  5. Add modules if the tool you chose to use didn’t bring over modules. If the tool you chose to use did bring over modules, change the module positions to the positions in your new template if required so that your modules show up and you can see what you’re working with.
  6. Check for duplicate alias issues and fix them.
  7. Check your internal links. If any are broken, fix them.
  8. Take a backup.
  9. Install other third-party extensions and configure them (for example editors, Akeeba backup, slideshows, or plugins).
  10. Take a backup.
  11. If you have large extensions with data to migrate, do each one according to the developer documentation and then take a backup after each one.
  12. If your migration tool didn’t move the images, you will want to move your images from the 1.5 site to the 4.x site. Note: keep the /stories directory unless you want to relink all your images. You can start a new organisational structure in the /images directory from here forward if stories is a mess.
  13. Recommended but not required unless you have issues: Fix asset issues. See below for a helpful tool.
  14. If you are going to add anything to your site or use new core features like Tags or Custom Fields, get them set up and configured at this time.
  15. Check your URLs on the Joomla 4 site and compare to the Joomla 1.5 site. If they are different, document each (an excel spreadsheet is helpful) 1.5 URL and what Joomla 4.x URL they will be going to so that you can do redirects and keep your ranking. See:
  16. Take a backup.
  17. Check everything.
  18. Clean up more.
  19. Test everything.
  20. Take a backup.
  21. Move or change or add updated data from the 1.5 site to the Joomla 4 site.
  22. Add google analytics to the template or use a third-party plugin.
  23. Check Global Configuration and make sure all is as it should be.
  24. Take a final backup of the Joomla 4.x site.
  25. Take a final backup of the 1.5 site.
  26. Move your 1.5 site from the root to another subdomain or subdirectory or simply delete it (this is so that you have it again for a brief time if you need to refer to it).
  27. Backup and restore using a suggested tool (below) or simply move files to restore your 4.x site to the root of your hosting.
    NOTE: If you are changing hosts, then you can leave your Joomla 4.x site where it is and simply change nameservers on the domain to make it live. Make sure you’ve addressed any email issues first.
  28. Enable .htaccess if necessary for SEF URLs.
  29. Create a sitemap and submit to Google Webmaster Tools or any other search engine you would like.
  30. Do all your redirects from the spreadsheet you created earlier for URLs that changed in the migration process.
  31. Make any other changes that needed to wait until the 4.x site was live.
  32. Test again.
  33. Take another backup.
  34. Kill any instance(s) of the 1.5 site as soon as possible.
  35. Remove all other dev sites you may have been working with or keep them up-to-date if they are running a current version in order to ward off hack attempts on your server.
  36. Welcome to Joomla! 4.x!

Suggested Tools