Skip to content

Commit

Permalink
Update 15/umbraco-cms/reference/routing/iisrewriterules.md
Browse files Browse the repository at this point in the history
Co-authored-by: sofietoft <[email protected]>
  • Loading branch information
eshanrnh and sofietoft authored Dec 2, 2024
1 parent b733562 commit 9202066
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 15/umbraco-cms/reference/routing/iisrewriterules.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ If you need to handle a lot of static rewrites, consider using rewrite maps: [Ru

### Example: Remove a Trailing Slash

To remove a trailing slash from the URL (ensure Umbraco does not add a trailing slash by setting `AddTrailingSlash` to `false` in your [RequestHandler settings](../configuration/requesthandlersettings.md)):
The following rule removes any trailing slashes from the URL.

Ensure Umbraco does not add a trailing slash by setting `AddTrailingSlash` to `false` in your [RequestHandler settings](../configuration/requesthandlersettings.md).

```xml
<rule name="Remove trailing slash" stopProcessing="true">
Expand Down

0 comments on commit 9202066

Please sign in to comment.