Tag Archives: web.config

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!

Setting up WordPress permalinks on IIS 8

      2 Comments on Setting up WordPress permalinks on IIS 8

Setting up WordPress permalinks on IIS 8 is pretty straightforward. If you know what you’re doing of course. In this post I’ll show you how to set this up using the rewrite module on IIS. For those that don’t want to know how this works, but just want the end-result: at the end of the post you’ll find a working… Read more »

Using outbound rewrite rules to offload your content on IIS 8

Recently a colleague of mine wrote an article on setting up a CDN (Content Delivery Network). This made me experiment a bit with some IIS settings. It is possible to set up IIS to rewrite all outgoing requests in such a way that your static content (e.g. images, style-sheets, etc) will be downloaded from a separate location. The main benefit… Read more »