---
title: Change URLs for edit and admin views
slug: cms-13/docs/change-urls-for-edit-and-admin-view
docTags: 
createdAt: 2026-07-30T20:22:08.991Z
---

Optimizely edit view and admin view are set up, by default, at `yourserverhost.com/Optimizely/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));`

:::hint{type="info"}
**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.
:::
