How to rename the installation directory of Joomla using FTP

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

There are a number of both free and commercial FTP applications. In this example, we will be using CuteFTP

1) On your (remote) web server, open the htdocs or public_html directory, then select the directory where Joomla has been previously installed
Joomla CMS

2) Right click the ‘joomla’ directory and select Rename from the options
Joomla Cloud

3) Click the beginning of the directory name and let’s add the letters ‘my’
Joomla Web Hosting

4) Next double click the ‘myjoomla’ directory to open it

Now scroll down to locate the file named ‘configuration.php’
Joomla Cloud Hosting

5) Select and right click on the file ‘configuration.php’, then select the Edit option
Joomla Content Management System

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

6) Select the place in the $log_path where we will edit it to match our new directory name
Joomla Hosting

7) Change the path to read ‘myjoomla’ from just ‘joomla’

8) Do the same for the $tmp_path value
Joomla CMS

9) Next select to Save the edited file
Joomla Cloud

10) Now close the editor
Joomla Web Hosting

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

11) After downloading the file, right click it and select a text editor to make the changes in
Joomla Cloud Hosting

12) Scroll to the bottom of the file and make the changes to the file as previously described
Joomla Content Management System

13) Be sure to Save your changes
Joomla Hosting

14) Now from your FTP application, locate the file you edited on your computer and upload it to your web server in the Joomla directory
Joomla CMS

15) We want to overwrite the old file with new edited one so select the Yes button
Joomla Cloud

You now know how to rename your Joomla directory using FTP