I have my WP site on iis7[Windows server 2008 R2];have explored a lot to find the right solution but nothing worked :(
Added the following code to web.config in root
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress Rule" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?page_id={R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
but still it didn't work
My Url are being rewrite but are redirected to homepage instead of single.php and other pages ( that is index.php instead of single.php)
have checked the server for "FCGI" and "URL rewrite module", both are installed.
Any help in this regard will be appreciated.
This link helped me make my permlinks to work!
Just followed the steps
Changed the permalink structure to
Checked the result and voila! it was working...
Then changed the link back to
And happily ever after :)