How to move Joomla to another directory?

Many people develop their websites in a subfolder of their main website and when the design work is finished, they want to make the new version of the site live. If you work with Joomla, moving your application to another folder of your hosting account requires few reconfigurations. In this article we will explain to you the different steps in this process.

For example, let us presume that we have a Joomla 1.5 application installed in the public_html/newsite folder in our account and we want to move it to the public_html directory so that it will be directly accessible through

The change requires the following actions to be taken:

  • 1. Move all of the files and folders from the initial Joomla folder to the new directory. In our case from public_html/newsite to public_html
  • 2. Configure Joomla to work from the new location. You should edit the configuration.php in the application root folder and make the following changes in it:

    Change from: var $log_path = ‘/home/user/public_html/newsite/logs’;
    To: var $log_path = ‘/home/user/public_html/logs’;

    Change from: var $tmp_path = ‘/home/user/public_html/newsite/tmp’;
    To: var $tmp_path = ‘/home/user/public_html/tmp’;

    Change from: var $ftp_root = ‘/public_html/newsite’;
    To: var $ftp_root = ‘/public_html’;

    Change from: var $live_site = ‘’;
    To: var $live_site = ‘’;

  • 3. If enabled, clear your Joomla cache (public_html/cache in our case)

Now, simply clear your browser cache and reload your site. Everything should be working fine.

Disclaimer 1: The web hosting companies in this directory have been chosen and ranked based on the editors' personal experience and/or research about each company performance. We do receive affiliate commissions from some of the listed web hosting companies, but the size of the commission does not play key role for the presence or the ranking in the directory.

Disclaimer 2: The Joomla!™ name is used under a limited license from Open Source Matters in the United States and other countries. Joomla Hosting Directory is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Joomla Hosting Directory Privacy Policy:

Joomla hosting directory uses third-party advertising companies to serve ads on it's pages. These companies may use cookies for record-keeping purposes. The information these companies are collecting is only used in order to provide advertisements about goods and services of interest to you.

Joomla Hosting Directory recommends the following Joomla Resources:

The official Joomla Website , Joomla Extensions Directory , Joomla Templates. Check these sites if you are looking for Drupal Hosting or Magento Hosting. Let us know if you find other useful resources worth to add here.

Info: [email protected]

Ads: [email protected]

Copyright © 2006-2023 Joomla Hosting Directory