Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Please add support for AppendTrailingSlash to RouteOptions #2691

Closed
RehanSaeed opened this issue Jun 12, 2015 · 1 comment
Closed

Please add support for AppendTrailingSlash to RouteOptions #2691

RehanSaeed opened this issue Jun 12, 2015 · 1 comment
Labels

Comments

@RehanSaeed
Copy link

MVC 5 had the RouteCollection.AppendTrailingSlash setting. Please add the same option under the new RouteOptions and perhaps another option to RemoveTrailingSlash for those who prefer not to have one. This is a requirement for Search Engine Optimization.

services.ConfigureRouting(routeOptions =>
    {
        routeOptions.AppendTrailingSlash = true;
        routeOptions.LowercaseUrls = true;
    });
@danroth27
Copy link
Member

Moved to aspnet/Routing#188

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants