Posted By Das on 5/23/2023 2:16 PM
Hi,
[...] userlinks that DNN generates (when we use tabid in navigateURL) are http.
Is there a way to make these links https?
You can do that in the IIS configuration, i.e. in web.config.
First install the Url Rewriter module in IIS, and then add this rule to your web.config file:
[rewrite]
[rules]
[rule name="HTTP to HTTPS redirect" stopProcessing="true"]
[match url="(.*)" /]
[conditions]
[add input="{HTTPS}" pattern="off" ignoreCase="true" /]
[/conditions]
[action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" /]
[/rule]
[/rules]
[/rewrite]
(Replace [ and ] by < and >)
Happy DNNing!
Michael