-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
DocsThis issue tracks updating documentationThis issue tracks updating documentationarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresgood first issueGood for newcomers.Good for newcomers.
Milestone
Description
Currently there are built in redirects for these: https://github.com/aspnet/AspNetCore/blob/cc1f23c5f8afb7d2a00405f19811d2372c4fcec2/src/Middleware/Rewrite/src/RewriteOptionsExtensions.cs#L145 https://github.com/aspnet/AspNetCore/blob/cc1f23c5f8afb7d2a00405f19811d2372c4fcec2/src/Middleware/Rewrite/src/RewriteOptionsExtensions.cs#L125
It would be nice if there was built-in support for doing the opposite, redirecting from www.example.com
to example.com
.
mcetkovsky
Metadata
Metadata
Assignees
Labels
DocsThis issue tracks updating documentationThis issue tracks updating documentationarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresgood first issueGood for newcomers.Good for newcomers.