Copied to clipboard

Flag this post as spam?

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


  • shkod 10 posts 62 karma points
    Jan 13, 2010 @ 12:26
    shkod
    0

    Problem with renaming "/umbraco" folder

    I want to secure my umbraco installation. To do this, I disable debugging output by using <add key="umbracoDebugMode" value="false" />.

    Also I block complete stack trace by using the url rewriting.

    After this steps all works fine, both frontend and admin area. 

    But when I rename "/umbraco" folder, backend stops working (frontend works as usually). I add new path of renamed folder to umbracoReservedPaths. When I logged, all labels was on Danish. Also Content and Media nodes was empty. Wnen I renamed folder to "/umbraco" again all nodes in Content and Media was appeared.

    How can I rename  "/umbraco" folder and don't lose my content? // I have Umbraco 4.0.2.1 version, IIS 7.5 and Server Web 2008 R2, asp.net 2.0

  • Bjørn Fridal 274 posts 784 karma points
    Jan 13, 2010 @ 12:43
    Bjørn Fridal
    0

    Hi,

    Try reading Tim Gaunts blog post and comments on the subject http://blogs.thesitedoctor.co.uk/tim/CommentView,guid,cf6f0226-db49-460d-8de9-7ab3075d6e84.aspx

  • Bjørn Fridal 274 posts 784 karma points
    Jan 13, 2010 @ 12:44
  • shkod 10 posts 62 karma points
    Jan 24, 2010 @ 12:54
    shkod
    0

    bjawnie, thank you for your reply! Everything works fine.

  • Tim 174 posts 398 karma points
    Feb 19, 2010 @ 13:49
    Tim
    1

    Glad to hear you got it working, you also have to be careful when you're installing some plug-ins as a lot put themselves into the "/umbraco" directory by default and you'll need to transfer the files over into your new CMS admin directory.

    Although it is a hassle to move the Umbraco admin directory, I still firmly beleive that it's the best thing to do along with renaming the default "admin" login as I see numerous attempts to access the Umbraco directory on non-Umbraco sites.

    I'll blog about how to restrict access further shortly.

    Tim

  • David 26 posts 50 karma points
    Mar 15, 2010 @ 12:41
    David
    0

    Hi Guys,

    Care for an alternative option?

    I hide my admin folders by using the following URL rewriting rule.  This is currenlty implemented with Helicon ISAPI rewrite however I am sure this could be added into the inbuilt rewriting utility within Umbraco (although I don't know how to do that yet)

    RewriteRule ^(umbraco/login\.aspx.*)|(umbraco/?)$ /NOTFOUND/ [nocase,last]
    RewriteRule ^New-Admin-Folder-Name/(.*)$ /umbraco/$1 [nocase]

    • Replace "New-Admin-Folder-Name" with your choice of admin folder.
    • Replace "Page-Not-Found" with your choice of 404 URL.

    Happy days - please let me know if this works for you :)
    David

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies