I’m new to CS-Cart and have 2.0.2 RC installed on a CyberLNC account. The site is functioning at my URL, but immediately replaces the domain name with the IP address when I navigate off the homepage. I’ve done some poking around and see $config['http_location'] = 'http://' . $config['http_host'] . $config['http_path'];
in config.php. Where does
$config['http_host']
get assigned?
thanks!
You should be looking in config.local.php
// Host and directory where cs-cart is installed on no-secure server
$config['http_host'] = '[COLOR="Red"]www.your_domain.com[/COLOR]';
$config['http_path'] = '[COLOR="red"]/sub_folder[/COLOR]';
// Host and directory where cs-cart is installed on secure server
$config['https_host'] = '[COLOR="red"]www.your_domain.com[/COLOR]';
$config['https_path'] = '[COLOR="red"]/sub_folder[/COLOR]';
Aha, I should’ve looked a bit harder. Thanks!