Created
October 14, 2019 15:52
-
-
Save rbaty-barr/6084519e705ecffc02eac3b7d9ce9bd8 to your computer and use it in GitHub Desktop.
regex for url rewrite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rule name="removeArticles" stopProcessing="true"> | |
<match url="(\/[^\/]*?)\/articles(\/.*)"/> | |
<action type="Rewrite" url="{R:1}{R:2}" appendQueryString="true" /> | |
</rule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment