• 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"?>
    <configuration>
        <system.webServer>
    <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>
        </system.webServer>
    </configuration>

Viewing 1 replies (of 1 total)
  • Thread Starter madlan

    (@madlan)

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

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks on IIS7 with URL Rewrite Module’ is closed to new replies.