WordPress.org

Support

Support » How-To and Troubleshooting » Permalinks on IIS 7.5

Permalinks on IIS 7.5

  • I’m trying to define the Permalinks for an old WordPress blog on IIS 7.5, but the rules in my web.config don’t seem to work properly. No matter where I looked online, I only found one chunk of code (which was weird, since it should technically be a little different, depending on how you have the permalinks configured):

    <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/{R:0}” />
    </rule>
    </rules>
    </rewrite>

    My permalinks are defined using the custom structure:

    /%category%/%postname%/

    How do I turn this into a valid rewrite rule? My experience with IIS is almost non-existent, so any help is appreciated.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks on IIS 7.5’ is closed to new replies.