I'm having trouble getting my store working as I want it. I'm using opencart 1.5.4.
My store is based in '/wwwroot/newsite/'
when I point to 'www.mydomain.com/newsite/', my homepage appears and I can navigate the site as normal. Admin is working too. So far, so good.
however, seeing as I want my users to be able to access the store via 'www.mydomain.com' (no '/newsite/'), I've used the cPanel to point 'www.mydomain.com' to /wwwroot/newsite/. after editing the config files to:
Code: Select all
//**store**
// HTTP
define('HTTP_SERVER', 'http://www.marshallsportsawards.com/');
define('HTTP_IMAGE', 'http://www.marshallsportsawards.com/image/');
define('HTTP_ADMIN', 'http://www.marshallsportsawards.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://www.marshallsportsawards.com/');
define('HTTPS_IMAGE', 'http://www.marshallsportsawards.com/image/');
Code: Select all
//**admin**
// HTTP
define('HTTP_SERVER', 'http://www.marshallsportsawards.com/admin/');
define('HTTP_CATALOG', 'http://www.marshallsportsawards.com/');
define('HTTP_IMAGE', 'http://www.marshallsportsawards.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://www.marshallsportsawards.com/admin/');
define('HTTPS_CATALOG', 'http://www.marshallsportsawards.com/');
define('HTTPS_IMAGE', 'http://www.marshallsportsawards.com/image/');
store is here: http://www.marshallsportswards.com
I also noticed that it doesn't seem to matter in .htaccess if I set 'RewriteBase /newsite/' or 'RewriteBase /', it makes no difference to my site. surely that can't be right??