Loading...
Area: Optimizely CMS
Applies to versions: 12 and higher
Other versions:

Changing edit and admin view URLs

Recommended reading 
Note: This documentation is for the preview version of the upcoming release of CMS 12/Commerce 14/Search & Navigation 14. Features included here might not be complete, and might be changed before becoming available in the public release. This documentation is provided for evaluation purposes only.

Optimizely edit view and admin view are set up at:

yourserverhost.com/EPiServer/CMS 

by default.

Changing that requires a few changes:

ProtectedModuleOptions should be configured for the new path as:

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

UIOptions should be configured 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.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Jul 02, 2021

Recommended reading