Categories: How toJoomla

How to change URL of Joomla site

To change URL of Joomla site. In This article will be explaining how to do it in easy and quick way. Sometimes it is necessary to change the domain name for a website and change to a configuration file and possibly your database. These two tasks are both discussed in below. The follow the steps for changing your Joomla website URL.

Tasks No. 1 : To modifying the Domain Name for Your Joomla Website

Step 1 : Start with Login to your cPanel.

Step 2 : Go to the File Manager or FTP client.

Step 3 : Locate the installation files for your Joomla files.

Step 4 : Search for the root folder of your Joomla installation.

Step 5 : Then Open file configuration.php for editing.

Step 6 : Locate the following line which defines website URL

public $live_site=’domain_name.com’

Step 7 : Replace domain.com with new domain name.

public $live_site=’new_domain_name.com’;

Step 8 : Then Save the file to apply the changes.

 

 

 

Tasks No 2. : Change the Database Settings of Your Joomla Installation

Step 1 : Login to your cPanel.

Step 2 : In the Databases section Click on phpMyAdmin.

Step 3 : Select your Joomla database.

Step 4 : Then click on Export in the top menu.

Note : The exported format will be SQL (e.g. filename.sql)

Step 5 : Save the resulting SQL file to your local hard drive.

Step 6 : Then open the SQL file in a Text Editor.

Step 7 : Find and Replace all of your old URLs with the new one.

Step 8 : Then save the SQL file.

Step 9 : Go back to phpMyAdmin.

Step 10 : Then Import your updated SQL file back in as the Same Joomla database.

After the importing is completed, you should be able to visit your Joomla site with the new domain. Here is how easy and fast we can change Joomla website URL just by editing it’s configuration file.

 

That’s it!!!


Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostdens, a company that aims to provide reliable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.
Vishwajit Kale

Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostdens, a company that aims to provide reliable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Leave a Comment
Share
Published by
Vishwajit Kale

Recent Posts

Green Data Centers To Have Strong Impact On Data Processing And Hosting Service Businesses

About Bizvibe Bizvibe is a B2B online platform that helps in connecting buyers and sellers…

3 years ago

File Server Security Is Important for An Organization: Find out How

File server investment is the smart investment anyone can make for their business. It has…

3 years ago

Cloud Computing Explained

Because of the many advantages of the cloud, people are moving more and more towards…

3 years ago

Cloud to which more and more companies are moving advanced workloads

Cloud Adoption Accelerates IT Modernization. More and more online businesses are increasing more and more…

3 years ago

History of web hosting

Almost more than half of the total world’s population were using the internet by any…

3 years ago

Plesk appoints ZNet Technologies as a global distributor to expand reach in untapped markets

Plesk is an IT service provider company which was founded in 2000 by Dimitri. The…

3 years ago

This website uses cookies.