HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Change edit and admin view URLs

Describes how to change the edit and admin view URLs.

Optimizely Content Management System (CMS) edit view and admin view are set up at yourserverhost.com/EPiServer/CMS by default.

Changing that requires the following:

  • ProtectedModuleOptions – Configure the new path as
    services.Configure<ProtectedModuleOptions>(p => p.RootPath = "~/TheNewUiPath");.
  • UIOptions – Configure 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. You cannot change the individual modules path; just the root. You also cannot change CMS, Shell, and Optimizely Customized Commerce module names.