Removing index.php From WordPress URLs Hosted on IIS

When you run wordpress on IIS your permalinks have to include the prefix /index.php/ which looks ugly and is totally unnecessary. To easily fix this you need to add an ISAPI filter called “wp_url_rewriting.dll” from Dean Lee. You just install the filter in IIS and then go into your wordpress settings and delete the /index.php/ from your custom permalink. Easy!