Last active
February 20, 2018 00:36
-
-
Save explorer14/a06e6db5b66651e0d47c0a77d5cc62e9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<rewrite> | |
<outboundRules> | |
<!--the IsHTML pre-condition is defined at the global level | |
in the applicationHost.config--> | |
<rule name="AnchorFixer" preCondition="IsHTML" enabled="true" | |
stopProcessing="true"> | |
<match filterByTags="A" pattern="^/Home/(.*)" /> | |
<action type="Rewrite" value="/{R:1}" /> | |
</rule> | |
</outboundRules> | |
</rewrite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment