MobyDog
12/11/2023, 1:26 PM<rule name="Add trailing slash" stopProcessing="true">
              <match url="(.*[^/{2,}])$" ignoreCase="true" />
              <conditions>
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/api/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/install/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/App_Plugins/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/media/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/swagger/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/([0-9]+).aspx" negate="true" />
                <add input="{URL}" pattern="^.*\.(css|js|jpg|jpeg|png|gif|mp3|html|htm|xml|txt|pdf|svg|ico|json|webmanifest)$" negate="true" ignoreCase="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{R:1}/" />
            </rule>"RequestHandler": {
        "AddTrailingSlash": true
      }A hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by