Copied to clipboard

Flag this post as spam?

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


  • Daniel 29 posts 142 karma points
    Dec 15, 2019 @ 17:28
    Daniel
    0

    When I change the /Umbtaco/ folder, I lose my styling

    When I change the /Umbraco/ folder, following the instructions on https://our.umbraco.com/documentation/Reference/Security/Security-hardening/, I still get references to the /Umbraco/ folder in my html file for CSS files - see picture.

    If I "leave" the Umbraco folder (so copy to the new folder, not just rename), everything works fine, as the CSS files still exist.

    What am I missing?

    enter image description here

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Dec 16, 2019 @ 07:39
    Jeffrey Schoemaker
    0

    Hi Daniel,

    did you also change your web.config keys (step 2 of the documentation)?

    And on what Umbraco version did you try this out?

    // Jeffrey

  • Daniel 29 posts 142 karma points
    Dec 16, 2019 @ 08:08
    Daniel
    0

    Hi Jeffrey, Thanks for reaching out.

    I changed the web.config keys indeed:

    <appSettings>
        <add key="Umbraco.Core.ConfigurationStatus" value="8.4.0" /> 
        <!-- <add key="Umbraco.Core.ReservedUrls" value="" /> -->
        <!-- <add key="Umbraco.Core.ReservedPaths" value="" /> -->
        <!-- <add key="Umbraco.Core.Path" value="~/umbraco" />   -->
        <add key="Umbraco.Core.ReservedUrls" value="~/vssetup" />
        <add key="Umbraco.Core.ReservedPaths" value="~/vssetup" />
        <add key="Umbraco.Core.Path" value="~/vssetup" />
        <add key="Umbraco.Core.HideTopLevelNodeFromPath" value="true" />
    

    I started the project on 8.2.0, upgraded to 8.3.0 and now 8.4.0. I only changed the /Umbraco directory in 8.4.0.

    I also noted the references to the umbraco folder are href="xxx", where those to the changed directory are src="xxx"

    enter image description here

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Dec 16, 2019 @ 08:11
    Jeffrey Schoemaker
    0

    Hi Daniel,

    I'm not totally sure whether this works in 8.4. I've created the documentation last year around version 8.7. It should have worked in previous versions as well, but as far I can see you did everything correctly.

    So if changing the Umbraco-folder is a requirement you should upgrade your Umbraco version probably to a newer version (always a smart option by the way ;)). Sorry :'(,

    Jeffrey

  • Daniel 29 posts 142 karma points
    Dec 16, 2019 @ 08:37
    Daniel
    0

    Hi Jeffrey, Thanks for looking, really appreciated.

    probably to a newer version (always a smart option by the way ;)) That's what I always do indeed. 8.4.0 is the latest version. I will log a bug report then.

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Dec 16, 2019 @ 12:41
    Jeffrey Schoemaker
    0

    Hi Daniel,

    sorry... I mixed up the versions (7.4 en 7.8 vs 8.x)... It should work in the 8.x-versions, so please report a bug!

    Maybe you can reference the issue here as well, so we can keep track of the progress.

    Kind regards, Jeffrey

Please Sign in or register to post replies

Write your reply to:

Draft