Replies: 1 comment 3 replies
-
There is a configurable url prefix for the admin. OrchardCore.Admin.Abstractions --> AdminOptions class. By default the _adminUrlPrefix is set to "Admin" so on Linux it would respond to /Admin only. https://docs.orchardcore.net/en/dev/docs/reference/modules/Admin/#custom-admin-prefix Also some more details explained in this issue : #6889 I believe that if you would want to enforce lowercase url's throughout the app you would need to add this |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have tried to use the following code in startup.cs , it works fine in my custom model but it break in the Admin page (For example, when you try to create a new page). It looks like Orchard Admin page is URL senstive.
So the question is how to force the whole application to use lower case URL?
services.Configure<RouteOptions>(options => options.LowercaseUrls = true)
Beta Was this translation helpful? Give feedback.
All reactions