This article describes how to change the URL for a Joomla website. You may need to do this, for example, if you migrate an existing Joomla site to a new server, and the site does not display correctly.
To change the URL setting for a Joomla site, you must modify the configuration.php file. This file contains many site configuration settings for Joomla.
To do this, follow these steps:
public $live_site =
Edit the line with the correct site URL. For example, if your site were located at www.example.com, you would type the following:
public $live_site = 'http://www.example.com';
Locate the two lines that begin as follows:
public $log_path = public $tmp_path =
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.