Hello Team,
After setting up URL rewrite with the code below in Web.config file, I noticed that blog, news, and forum menu item stop working. Other pages including contactus menu item works.
<rewrite> <rules> <rule name="Force HTTPS" enabled="true" > <match url="(.*)" ignoreCase="false"/> <conditions> <add input="{HTTPS}" pattern="off"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent"/> </rule> </rules> </rewrite>
What are my doing wrongly? What is the best way to redirect all HTTP traffic to HTTPS when using SmartStore.NET?
Regards,
Dan