Category Archives: Magento

magento_ecommerce

Change magento url

Some times there comes a situation when you need to change magento installation url.
Eg: change url from http://yourdomainname.com to http://www.domainname.com

 

Before you make any changes make sure you have backed up your database.

Following are the the easy steps to change it.

 

1)

Access phpmyadmin >> select database >> browse table core_config_data.

2)

Now look for field’s like web/unsecure/base_url and web/secure/base_url

Corresponding to this field you will either see {{base_url}} or your original url for magento.

Old:

New: Edit field under value and change url as per your requirement.

3)

Now you will need to clear cache for maganto. Magento stores cache under magento installation directory var/cache
you can rename var directory under magento.

4) Try accessing Magento with new URL now. It should work with no problem. 🙂

 


contact@webhostingsupport.info

Post to Twitter