# Sunday, 27 June 2010

After not blogging for over a year, I decided to get back in the swing of things and write more. I clicked on a link and got the dreaded 404. So I decided to investigate.

About 6-8 months ago I upgraded my server last year to Server 2008 and IIS 7. I checked that my blog loaded, but never checked any links. It turns out that IIS 7 be default blogs "+" in URLs because it can pose security issues. Well, all my blog post links have "+" in them. This broke things :(

After some digging, I figured out how to fix it. Add the following to your Web.config file
<configuration>
  <system.webServer>
    <security>
      <requestFiltering allowDoubleEscaping="True"/>
    </security>
  </system.webServer>
</configuration>

Sunday, 27 June 2010 16:02:31 (Alaskan Daylight Time, UTC-08:00)