Hi Sharon,
As I understand, you are using the
URL Rewrite Module for IIS7.
In this case, we found out that you can use a rule like the following. For instance, it masks the
sitefinity folder with
mycms:
However, changing the Sitefinity folder globally is not considered in the current version of Sitefinity. I mean, that you won't be able to change all the links in the administration from /Sitefinity/ to /MyCms/.
Actually, you can use another work around if it is appropriate for you.
You can create another rule, which first redirect the URL from /Sitefinity/ to /MyCms/, i.e:
But this is not all. When you do a post back request, it will be redirected and the post back information will be lost, because the action attribute in the HTML Form is still pointing to the Sitefinity folder. So you have to replace the action attribute as well. You can do this by implementing a custom form adapter. For example create a file (CustomFormAdapter.cs) with the following code in the ~/App_Code folder:
And declare it in the ~/App_Browsers/BrowserFile.browser:
Also, because the Login.aspx does not inherit Telerik.Cms.Web.AdminPage class, you should mark it with Sitefinity.Custom.IAdminPage interface, which is implemented in CustomFormAdapter.cs and has mo members. In the ~/Sitefinity/Login.aspx.cs add the interface:
I hope this is helpful.
Do let us know if you have additional questions.
Sincerely yours,
Vlad
the Telerik team