Home Tutorials How do you move a Joomla! Site
How do you move a Joomla! Site

path-logo.png
To move your Joomla site from either one directory to another or between servers, you need to follow these steps:

 

  • Copy over your files, (use ftp or SSH/command line if you have access)
  • Backup and then restore your database  - perhaps using phpmyadmin or SSH/command line (this step only needed if moving site from one server to another.)
  • Edit your configuration.php file to reflect the new values. Specifically the following:
 $mosConfig_user = 'joomla_joomla';
$mosConfig_password = 'password';
$mosConfig_db = 'joomla_joomla';
$mosConfig_absolute_path = '/home/joomla/public_html';
$mosConfig_live_site = 'http://www.joomla.org';
$mosConfig_cachepath = '/your absolute path/cache';

Note: You may also need to ensure you have configured your .htaccess file in the new location.