How to Change your Magento URL

There might be a situation when you want to change the URL or domain name of your Magento website. In this article we will show you how to change the URL of your Magneto website.

Changing URL in the Dashboard

  1. To change your website URL login to your Magneto dashboard
  2. In the main menu, roll your mouse over System, and click Configuration.
  3. On the next screen click the Web button 
  4. On the Web menu, click the Unsecure link, and it will drop down. In the Base URLsection, update your URL.
  5. Click the Secure link now. Fill in the Base URL section.
  6. When you are finished,Click the Save Config button in the top right.
  7. Clear your Magneto cache.

Changing URL in phpMyAdmin

You can also change your Magento website URL through phpmyadmin.

  1. Login to your cPanel
  2. Click on phpMyAdmin in the Databases section.
  3. Select the database that is associated wit your Magento website.
  4. Find the table ending in core_config_data, and click it.
  5. In column, locate and update the URL in following lines, by clicking the Edit buttons:

web/unsecure/base_url
web/secure/base_url

Click the Go button to save your changes.