Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan Borg 4 posts 84 karma points
    4 days ago
    Jonathan Borg
    0

    Change Umbraco BackOffice Path

    Hi,

    I am trying to change the backoffice path ('/umbraco/...') so that the content managers can accesse Umbraco using a different path ('/cmsadmin/').

    I reviewed some of the questions and documentation on the forums, more specifically this url.

    However after following all of the steps mentioned above, and modifying the umbracoSetting.config (umbracoApplicationUrl), the site loads the login page without any styling. enter image description here

    Upon reviewing the network logs from the browser debug mode, I noticed that the css were still being obtained from a different path as shown in the image below enter image description here

    Is there an other config file which has to be changed? Am I missing a configuration?

    Any help would be greatly appreciated!

  • Huw Reddick 11 posts 121 karma points
    4 days ago
    Huw Reddick
    0

    All I did was edit these two apsettings in the web.config

      <appSettings>
    <add key="Umbraco.Core.ReservedUrls" value="~/admin-loginpanel" />
    <add key="Umbraco.Core.Path" value="~/admin-loginpanel" />
    
  • Jonathan Borg 4 posts 84 karma points
    4 days ago
    Jonathan Borg
    0

    Already tried changing those, the issue persists.

    As is currently, I renamed the Umbraco Folder, Modified the following Web.config

    <add key="Umbraco.Core.ReservedUrls" value="~/cmsadmin" />
    <add key="Umbraco.Core.ReservedPaths" value="~/cmsadmin" />
    <add key="Umbraco.Core.Path" value="~/cmsadmin />
    

    And changes a Location to where it was previously umbraco to

    <Location "cmsadmin">...
    

    Modified the umbracoSettings.config

    <web.routing ..... umbracoApplicationUrl="http://mydomain.com/cmsadmin".... 
    
  • Huw Reddick 11 posts 121 karma points
    3 days ago
    Huw Reddick
    0

    I forgot one thing, which is quite important.

    You need to rename the 'umbraco' folder to match your new path :)

  • Huw Reddick 11 posts 121 karma points
    3 days ago
    Huw Reddick
    100

    I used the info from the same link you posted in your question, but only this part

    Rename you /umbraco/-folder on disk to another path (for example: /my-secret-loginpanel/)

    Change the two keys in your web.config “Umbraco.Core.ReservedUrls” and “Umbraco.Core.Path” to your new path.

    <add key="Umbraco.Core.ReservedUrls" value="~/my-secret-loginpanel" />
    <add key="Umbraco.Core.Path" value="~/my-secret-loginpanel" />
    

    From now on, you can only get access to the login screen by going to this path and no longer by going to /umbraco/

    I made no other changes.

    enter image description here

  • Jonathan Borg 4 posts 84 karma points
    6 hours ago
    Jonathan Borg
    0

    Thank you for this, was setting ReservedPaths as well. Removed it and it worked

  • Huw Reddick 11 posts 121 karma points
    3 hours ago
    Huw Reddick
    0

    Glad you have it working :)

Please Sign in or register to post replies

Write your reply to:

Draft