How to change site URL of Joomla

To change site URL of Joomla website, follow the pre-requisites:

  • Domain name must point to the correct Joomla directory.
  • Configuration file must use the correct database.

Change site URL of Joomla using Configuration file

Most Joomla websites do not require changing the configuration file since the website will work as long as the domain name is pointing to the correct directory. In case it does not work, follow the instructions below. This can be done through FTP or File Manager in the cPanel which is used in this article.

(Note: Joomla directory and website name in the images below are only examples. Make sure to locate the correct folders and use the correct website name for your Joomla website. Before you proceed, secure a copy of backups for your website files and database files.)

Step 1. Log in to the cPanel.

cPanel-Login | FTP password

Step 2. Click on File Manager under Files panel.


Step 3. Locate Joomla directory.

Step 4. Look for the configuration.php file and edit.

Step 5. Look for public $live_site =”: and add the new Joomla website URL in between the apostrophes.

Step 6. Check the $log_path and $tmp_path. Make sure they are using to the correct path directories.


If you have further questions, please do not hesitate to contact our support team.

 change site URL of Joomla

(Visited 52 times, 1 visits today)