Skip to content

Instantly share code, notes, and snippets.

@stevetemple
Created June 12, 2021 20:44
Show Gist options
  • Save stevetemple/2facb596a893ebf24776bfa9c1e4db99 to your computer and use it in GitHub Desktop.
Save stevetemple/2facb596a893ebf24776bfa9c1e4db99 to your computer and use it in GitHub Desktop.
IIS Rewrite rule to 404 Umbraco
<rule name="404_Umbraco">
<match url="^umbraco/?$"/>
<action type="CustomResponse" statusCode="404" statusReason="Not found" />
</rule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment