Tag Archives: url rewrite

Forcing https through a rewrite

      2 Comments on Forcing https through a rewrite

When setting up a SSL site you always have to make sure that your visitors use the correct (https://) address. With this rewrite rule you can force people to visit the site over SSL: What we do here is simple: take all non-https traffic (input=”{HTTPS}” pattern=”off”) and redirect it to the same page on a https connection. Enjoy!