Shopping Cart Empty and SSL

7 years ago
When I have SSL enabled and go to my site with this url (and am not logged in):

If I add an item to the shopping cart... then click open the minicart and click Go to Cart.

it redirects to:

And apparently this looses my cookies and the cart is empty.

If I disable SSL then it redirects to:

and the cart is fine... it is not empty.

Finally if I have SSL enabled and go to:

it redirects to:

and the cart is not empty.

Any help on how to allow both and to work with SSL?

Note: tested on Firefox / Mac and Chrome / Mac; nopCommerce v3.0
7 years ago
You need to add following rewrite rule under <system.webserver> node in Web.Config

        <rule name="Redirect to" patternSyntax="Wildcard" stopProcessing="true">
            <match url="*" />
                <add input="{HTTP_HOST}" pattern="" />
            <action type="Redirect" url="{R:0}" redirectType="Permanent" />
7 years ago
Proper redirection will help you from to otherwise there is no issue in SSL Certificate. I think after proper redirection it works fine with ssl.