HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Change edit and admin view URLs

This topic describes how to change the edit and admin view URLs.

Optimizely edit view and admin view are set up at:

yourserverhost.com/EPiServer/CMS

by default.

Changing that requires a few changes:

Configure ProtectedModuleOptions for the new path as:

services.Configure<ProtectedModuleOptions>(p => p.RootPath = "~/TheNewUiPath");

Configure UIOptions for the new path as:

services.Configure<UIOptions>(o => o.EditUrl = new System.Uri("~/TheNewUiPath/CMS/", System.UriKind.Relative));

πŸ“˜

Note

You can only change the root path and it is not possible to change the individual modules path, just the root. CMS, Shell, and Commerce module names cannot be changed.