Category Archives: Magento


Change magento url

Some times there comes a situation when you need to change magento installation url.
Eg: change url from to


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

Following are the the easy steps to change it.



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


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.


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


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. 🙂

Post to Twitter