web.config for iis7

web.config iis7

  • Patrick

    Hi there @julie_ferguson

    Welcome to the forums, glad to have you aboard!

    I've never used IIS myself, but a colleague who has assures me that this should work for you:

    <?xml version="1.0"?>
            <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" />

    For more on configuring IIS, please be sure to check out this page n the codex:

    I hope this helps! And thanks for being a member :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.