I have an issue with WWW not showing up in the URLS once I hit my CS-Cart store and I can’t seem to figure out what is wrong.
The url I am trying to hit: http://www.epiccosplay.com redirects to http://epiccosplay.com
A sublink would appear as [url]http://epiccosplay.com/18-straight-cosplay-wigs.html[/url] without the www in front.
Another CS-Cart store I use for testing http://www.cosplaydna.com has no issues. Same host.
Any help or advice in the matter would be greatly appreciated!
Take a look at you config.local.php:
// Host and directory where software is installed on no-secure server
$config['http_host'] = '%HTTP_HOST%';
$config['http_path'] = '%HOST_DIR%';
// Host and directory where software is installed on secure server
$config['https_host'] = '%HTTPS_HOST%';
$config['https_path'] = '%HOST_DIR%';
Make sure your host entries start with ‘www’.
That did it.
Thank you so much, appreciate the fast response!