Skip to content

Instantly share code, notes, and snippets.

@jamielaundon
Created October 18, 2015 19:21
Show Gist options
  • Save jamielaundon/89611f23be978fbc4d33 to your computer and use it in GitHub Desktop.
Save jamielaundon/89611f23be978fbc4d33 to your computer and use it in GitHub Desktop.
web.config Wordpress Rewrite exception
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{PATH_INFO}" pattern="/speedtest-logger/*" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment