Enabling Pretty Permalinks in WordPress on IIS 7.5

Enabling Pretty Permalinks in Word Press.

For enabling pretty permalinks in word press installed on IIS 7.5 server complete the following.

1. Install URL Rewrite 2 module.  Which can be downloaded from http://www.microsoft.com/en-us/download/details.aspx?id=7435

2.Update the web.config file at inetpub/wwwroot

<?xml version="1.0" encoding="UTF-8"?>
        <rule name="Main Rule" stopProcessing="true">
            <match url=".*" />
            <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" 
			matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" 
			matchType="IsDirectory" negate="true" />
            <action type="Rewrite" url="index.php/{R:0}" />
    <httpErrors errorMode="Detailed" />
                <add value="index.php" />

3.Ensure the default document, index.php is set for the wordpress site.