November 13th, 2009

Changing Magento path

Written by Dave BarkerTopics: Howto, Linux

If the Magento path changes everything breaks, here’s how to fix it:

Run this query in your Magento database:

update core_config_data set value='http://new-url.com/' where value='http://old-url.com/example/';

and delete your cache

rm -r magento/var/cache/*