WordPress.org

Ready to get started?Download WordPress

Forums

IIS 7 custom permalinks not working correctly (1 post)

  1. kleidg
    Member
    Posted 2 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic