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 103 posts 194 karma points
    Nov 02, 2022 @ 10:43
    Darren Hunter
    0

    Hide /Umbraco to make admin more secure. for example site.com/admin and not site.com/Umbraco in Version 10 Site

    Hi,

    I have a number of IIS rewrite rules in place to make an umbraco 10 site admin a little more secure, so it can only be accessed from a sub domain now but I would still like to Hide /Umbraco in the URL so in the end the url look like this for the sub domain

    site.subdomain.com/Admin but in fact it was site.subdomain.com/Umbraco.

    I know I can't rename the /Umbraco folder in version 10 which is Dumb in my opinion as this can cause a big security hole.

    So I just like to mask the URL if possible,

  • Bo Jacobsen 597 posts 2395 karma points
    Nov 02, 2022 @ 14:47
    Bo Jacobsen
    0

    Hi Darren.

    I think you can still set the UmbracoPath in appSettings.json in v10.

    "Umbraco": {
        "CMS": {
            "Global": {
                "UmbracoPath": "~/Admin",
            }
        }
    }
    

    Then the Umbraco folder should rename it self to Admin in the wwwroot map.

    https://our.umbraco.com/Documentation/Reference/Configuration/GlobalSettings/index-v9

  • Darren Hunter 103 posts 194 karma points
    Nov 02, 2022 @ 15:04
    Darren Hunter
    0

    I get a 404 when trying this and I think this was removed from V10, that why I said you are not able to rename the umbraco folder.

    Here what my config file looks like:

    "ReservedUrls": "~/Admin/", "ReservedPaths": "~/app_plugins/,~/install/,~/Admin", "UmbracoPath": "~/Admin"

    I was hoping it could be done with a rewrite rule.

    I duplicated the Umbraco Folder and Named it Admin.

  • Bo Jacobsen 597 posts 2395 karma points
    Nov 02, 2022 @ 19:51
Please Sign in or register to post replies

Write your reply to:

Draft