Skip to content

Instantly share code, notes, and snippets.

@Swimburger
Created October 8, 2018 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swimburger/07d53b3e62bf24cf2f0658b77a075bda to your computer and use it in GitHub Desktop.
Save Swimburger/07d53b3e62bf24cf2f0658b77a075bda to your computer and use it in GitHub Desktop.
Redirect to lowercase URL redirect IIS web.config
<rule name="Convert to lower case" stopProcessing="true">
<match url=".*[A-Z].*" ignoreCase="false" />
<action type="Redirect" url="{ToLower:{R:0}}" redirectType="Permanent" />
</rule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment