Change URLs for edit and admin views
Describes how to change the edit and admin view URLs.
Optimizely edit view and admin view are set up, by default, at yourserverhost.com/EPiServer/CMS
.
Configure ProtectedModuleOptions
for the path as:
services.Configure<ProtectedModuleOptions>(p => p.RootPath = "~/TheNewUiPath");
Configure UIOptions
for the path as:
services.Configure<UIOptions>(o => o.EditUrl = new System.Uri("~/TheNewUiPath/CMS/", System.UriKind.Relative));
Note
You can only change the root path. You cannot change the individual modules path, just the root. You cannot change CMS, Shell, and Commerce module names.
You cannot chages this path if Opti ID is used. The Opti ID integration overrides any existing configuration and set this path to
/ui
. This is required for Opti ID and the global navigation bar to work correctly.
Updated 3 days ago