How to move Joomla to another directory?

Many web designers prefer to build their websites in test folders and when their development is over to move their Joomla applications to the root folder of their hosting accounts.

For the purpose of this article let us presume that we have a Joomla 1.5 installed in the public_html/test folder in our account and we want to move it to the public_html directory so that it will be directly accessible throughwww.yourdomain.com.

This change consists of the following steps:

1. Move all of the files and folders from your Joomla folder to the new directory. In our case from public_html/testto public_html

2. Reconfigure your application. You should edit your configuration.php file and make the following changes in it:

Change: var $log_path = '/home/user/public_html/test/logs';
To: var $log_path = '/home/user/public_html/logs';

Change: var $tmp_path = '/home/user/public_html/test/tmp';
To: var $tmp_path = '/home/user/public_html/tmp';

Change: var $ftp_root = '/public_html/test';
To: var $ftp_root = '/public_html';

Change: var $live_site = 'http://www.yourdomain.com/test';
To: var $live_site = 'http://www.yourdomain.com';

 

3. Remove the content of your cache folder (public_html/cache in our case)

Now when you reload your website it should be working flawlessly from its new location.

 

If you have problems moving your Joomla to another directory, ask your host for assistance. SiteGround providesthe best Joomla hosting and such requests are handled with ease.

Joomla is a powerful software that is easy to work with once you have the right host to support you. Before you lose any more time with the wrong host, check out the hostlantern Joomla hosting offer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to enable SSL in Joomla 1.5

If you would like to use an SSL certificate with a Joomla website, you can enable it via: Joomla...

Is it possible to throttle Joomla 1.5 Mass Mail so that it does not exceed the limit of 400 e-mails per hour?

This is not possible with the Joomla mass mail functionality. In order manage the number of email...

Block spammers in Joomla 1.5 through Project Honey Pot

Websites build through Joomla are often attacked by spammers. You can protect your web site by...

How to enable RSS in Joomla 1.5?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...

How to reduce the number of articles displayed on Joomla 1.5 front page

To change the number of articles displayed on the front page of your Joomla 1.5 website, go to...

Powered by WHMCompleteSolution