# PrefixRoute.AllowRewrites

Kind: Property  
Namespace: `Sisk.Core.Routing`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Routing.PrefixRoute.AllowRewrites.html

## AllowRewrites {#Sisk_Core_Routing_PrefixRoute_AllowRewrites}

Gets whether the router can redirect requests to this route into their trailing-slash path when
[ForceTrailingSlash](https://docs.sisk-framework.org/api/Sisk.Core.Http.HttpServerConfiguration.ForceTrailingSlash.md) is enabled.

```csharp
public override bool AllowRewrites { get; }
```

### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
