• We are running WordPress on a IIS 7 server. I have installed Re-Write Module 2.0 application on the IIS 7.

    In the Permalinks “Custom Structure” we are using “/%category%/%postname%/”.
    I have inserted the following rules in the Web.config file in the wordpress folder, but only the template for main blog page loads. When I try to click on links and post a “Not Found” message shows in browser tab and the only the main template shows.

    I have also unistalled and reinstalled the Re-Write module after the changes.

    Any suggestions/help would be appreciated.

    <rewrite>
    <rules>
    <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” />
    </conditions>
    <action type=”Rewrite” url=”index.php” />
    </rule>
    </rules>
    </rewrite>

  • The topic ‘IIS 7 custom permalinks not working correctly’ is closed to new replies.