Nova Scotia Flag


Having problems with wordpress custom permalinks on IIS

March 9th, 2016 admin

If you’ve enabled custom permalinks in WordPress and are now receiving 404 errors, if you’re using IIS as your hosting platform you’ll need to add the following to the rewrite section of your web.config


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