non-WWW redirect not work for https

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Nop3.9, My setting

WWW prefix requirement: Pages should have WWW prefix
Force SSL for all site pages: (checked)

Store URL: https://www.mystore.com/
SSL enabled: (checked)
Secure URL: https://www.mystore.com/
Host Values: mystore.com,www.mystore.com

When I typed mystore.com and www.mystore.com, both work well in redirecting to https://www.mystore.com
But I typed https://mystore.com, it's not redirected to https://www.mystore.com

Is it a bug or I missed a setting?

Z
6 years ago
In IIS, you are missing the https site binding for YOURDOMAIN.COM (without the www.)
Just create a new binding for it and leave all of your settings as they are and it will work fine.

Your certificate probably doesn't cover the root level domain, but not to worry..you can create the binding anyway.
4 years ago
zhugefs wrote:
Nop3.9, My setting

WWW prefix requirement: Pages should have WWW prefix
Force SSL for all site pages: (checked)

Store URL: https://www.mystore.com/
SSL enabled: (checked)
Secure URL: https://www.mystore.com/
Host Values: mystore.com,www.mystore.com

When I typed mystore.com and www.mystore.com, both work well in redirecting to https://www.mystore.com
But I typed https://mystore.com, it's not redirected to https://www.mystore.com

Is it a bug or I missed a setting?

Z


Did anyone get a solution for this?
3 years ago
The answer provided by embryo works. But need to have certificate for  www and non www url.
i.e. www.mystore.com and mystore.com
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.