WordPress on Windows 2016 Server with IIS 10

19th April 2018 - Uncategorised

When installing, or moving a wordpress site onto windows server 2016 you need to ensure that you have the following feature enabled;

This can be found in the Roles and Features for IIS

Also, you will need to install URL Rewrite 2.0, via a download and add the rewrite config xml within System.webServer.

        <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" />