2.14.2.13. Migrating Joomla!

To correctly migrate a site running the Joomla! CMS, it is usually enough to do the following:

  1. Transfer site files and database (if required) using the one that suits your situation instruction.
  2. Edit config file site configuration.php and make the following changes to it:
    • For Joomla! Versions that contain in file configuration.php string class JConfig:
      public $log_path = '/home/name_account/your_website.com/www/logs';
      public $tmp_path = '/home/name_account/your_site.com/www/tmp';
      public $ftp_enable = '0';
      public $host = 'host';
      public $user = 'login';
      public $db = 'base_data';
      public $password = 'password';
      public $live_site = 'http://www.your_website.com';
      public $sef_rewrite = '1';

      Where:

    • For Joomla! Versions that do not contain in file configuration.php string class JConfig:
      var $logs = '/home/name_account/your_website.com/www/logs';
      var $tmp = '/home/name_account/your_site.com/www/tmp';
      var $ftp_enable = '0';
      var $host = 'host';
      var $user = 'login';
      var $db = 'base_data';
      var $password = 'password';
      var $live_site = 'http://www.your_website.com';
      var $sef_rewrite = '1';

      Where:

      • title_account — hosting account namewhere the site is hosted.
      • your_website.com - the name of your site (domain).
      • host, login, base_data and base_data - taken from data to connect to the database.
  3. Delete the directory cache/page with all content.
  4. Rename the file htaccess.txt in .htaccess.
  5. In the .htaccess file, replace the directive FollowSymLinks on SymLinksIfOwnerMatch.
Content