2.13.2.13. Migrating Joomla!
To correctly transfer a site running CMS Joomla !, it is usually enough to do the following:
- Transfer site files and database (if required) using the one that suits your situation instruction.
- Edit config file site
configuration.php
and make the following changes to it:- For Joomla! Versions that contain in file
configuration.php
stringclass 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:
title_account
— hosting account namewhere the site is hosted.your_website.com
- the name of your site (domain).
- For Joomla! Versions that do not contain in file
configuration.php
stringclass 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).
- Delete the directory
cache/page
with all content. - Rename the file
htaccess.txt
in.htaccess
. - In the .htaccess file, replace the directive
FollowSymLinks
onSymLinksIfOwnerMatch
.