Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

www and http in kentico - IIS Redirect

$
0
0
I would like to create redirects to force https and for removal of www so all permutations direct to https://mysite.co.ukThis is a multi site Kentico system so I only want to redirect the specific domain in question.Here's what I'm currently using but it's not working. Any help greatfuly appreciated.@rewrite@ @rules@ @rule name="mysite https redirect"@ @match url="^(mysite\.co.uk|www\.mysite\.co.uk)$" /@ @conditions@ @add input="{HTTPS}" pattern="^OFF$" /@ @/conditions@ @action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" /@ @/rule@ @/rules@ @/rewrite@

Viewing all articles
Browse latest Browse all 8901

Trending Articles