Permalinks on IIS7 with URL Rewrite Module (2 posts)

  1. madlan
    Posted 4 years ago #

    Hi all,

    I've followed the guide on setting up permalinks for wordpress on Windows\IIS7.
    They work great except for one issue; when accessing the website directly (www.website.com) I get a 404, If I append /index.php it loads fine.

    Navigating the links seems to work ok - have I missed something?

    Here's my web.config:

    <?xml version="1.0" encoding="UTF-8"?>
            <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" />
                <action type="Rewrite" url="index.php/{R:0}" />
  2. madlan
    Posted 4 years ago #

    If I change the Permalink to /category/%category%/%postname%/ it works, has something changed in the latest version of wordpres?

Topic Closed

This topic has been closed to new replies.

About this Topic