I have a slightly different issue, in my config file at the moment SSL is turned off. However if I turn SSL on when a customer tries to login the system creates a link like this:

HTTPS://www.mydomainname.co.uk/HTTPS...mainname.co.uk

I use 1and1 for my hosting and use a shared certificate which when installed zencart I entered the correct details which are:

define('DIR_WS_HTTPS_CATALOG', 'https://sslrelay.com/mydomainname.co.uk/shop/');

I don't understand why the system is trying to put the standard HTTP domainname first.

Top of my config file is below:


/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://www.mydomainname.co.uk');
define('HTTPS_SERVER', 'https://www.mydomainname.co.uk');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', 'https://sslrelay.com/mydomainname.co.uk/shop/');