How to rename the installation directory of Joomla – joomla 2.5 tutorials

This tutorial assumes you have a FTP application and have opened and logged in to your sever via FTP.

There are a number of both free and commercial FTP applications. In this example, we will be using CuteFTP. On your (remote) web server, open , the htdocs or public_html directory, then select the directory where Joomla has been previously installed. Right click the ‘joomla’ directory and select Rename from the options.

Click the beginning of the directory name and let’s add the letters ‘my’. Next double click the ‘myjoomla’ directory to open it. Now scroll down to locate the file named ‘configuration.php’. Select and right click on the file ‘configuration.php’, then select the Edit option.

From the editor, we only need to change the path to the log and temp file paths. Most, if not all, Joomla templates will detect the directory they are running from. Scroll down to the bottom of the file. Select the place in the $log_path where we will edit it to match our new directory name. Change the path to read ‘myjoom|a’ from just ‘joomla’. Do the same for the $tmp_path value. Next select to Save the edited file.

Now close the editor. If you are unable to edit the file from within your FTP application then you will need to download the file to your computer, edit it and then upload it to your web server. After downloading the file, right click it and select a text editor to make the changes in.

Scroll to the bottom of the file , pnd make the changes to the file as previously described. Be sure to Save your changes. Now from your FTP application, locate the file you edited on your computer and upload it

to your web server in the Joomla directory.


We want to overwrite the old file with new edited one so select the Yes button. You now know how to rename your Joomla directory using FTP.

Be Sociable, Share!

Leave a comment