WordPress permalinks rewrite on iis7

I spend a lot of time in looking for solution, so you are my last hope before giving up 🙂

On my localhost iis7 i set custom permalinks http://sitename/%sample-post%/ with rewrite mode installed.

        <add value="index.php"/>
            <rule name="WordPress: http://tip4u03" patternSyntax="Wildcard">
                <match url="*"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                <action type="Rewrite" url="index.php"/>

Its work only in wwwroot directory. Outside of wwwroot directory, its return 404 template page. Same issue on my shared iis7 server (VPS)

Read more here: WordPress permalinks rewrite on iis7

Leave a Reply

Your email address will not be published. Required fields are marked *