Copied to clipboard

Flag this post as spam?

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


  • Darren Hunter 140 posts 232 karma points
    Oct 07, 2022 @ 13:19
    Darren Hunter
    0

    Umbraco Admin URL in Version 10

    Hi,

    I am new to Umbraco and I have been tasked with Converting/ Upgrading a site created in Version 8 to Version 10.

    I have managed to work out a big cunch of what I need to do but can't work out how to change the default admin url from /umbraco to some thing else as the original site uses a different URL for the Admin console.

    Is this done by adding setting to the appsettings.json file or is it done by changing the configuration on IIS.

  • Nikhil Prajapati 19 posts 131 karma points MVP
    Oct 11, 2022 @ 09:44
    Nikhil Prajapati
    0

    Hi Darren,

    It can be done in appsettings.json inside Umbraco > CMS> Global> UmbracoPath.

    Please find below sample.

    "Umbraco": {
        "CMS": {
          "Global": {
            "Id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
            "UmbracoPath": "/admin"
          }
        }
      }
    

    Refer below link to get more information about global settings.

    https://our.umbraco.com/Documentation/Reference/Configuration/GlobalSettings/

  • Darren Hunter 140 posts 232 karma points
    Oct 11, 2022 @ 09:52
    Darren Hunter
    0

    I have updated my config and all I get now is a blank page.

    But looking at this there no way to do what I want.....

    https://github.com/umbraco/Umbraco-CMS/issues/12593

    I have to agree with the comments saying that it a security issue if you can't change it from /umbraco to some else like /cmsadmin The site I am trying to upgrade had the Admin url changed for security reasons.

  • Nikhil Prajapati 19 posts 131 karma points MVP
    Oct 11, 2022 @ 10:26
    Nikhil Prajapati
    0

    Hi Darren,

    you can resolve blank page issue using again some fixes inside appsetting.json

    enter image description here

    And add one more setting in csproj file.

    enter image description here

    Hopefully this information can help you. :)

  • Darren Hunter 140 posts 232 karma points
    Oct 11, 2022 @ 10:35
    Darren Hunter
    0

    I have updaged the proj file see the screen shots:

    enter image description here

    I have updated the config file to

    enter image description here

    "Umbraco": { "CMS": { "Global": { "Id": "", "SanitizeTinyMce": true, "ReservedUrls": "~/admin/", "ReservedPaths": "~/admin/", "UmbracoPath": "/admin" },

    But when I go to the URL I get the following:

    enter image description here

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Oct 11, 2022 @ 11:32
    Huw Reddick
    0

    I think this has been logged as an issue

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Oct 11, 2022 @ 11:42
    Huw Reddick
    0

    Oh, hadn't realised they are dumping it completely!

  • Darren Hunter 140 posts 232 karma points
    Oct 11, 2022 @ 11:34
    Darren Hunter
    0

    Thanks for the help.

Please Sign in or register to post replies

Write your reply to:

Draft