Copied to clipboard

Flag this post as spam?

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


  • Alex Bryant 4 posts 71 karma points
    May 17, 2010 @ 22:23
    Alex Bryant
    0

    Umbraco under subdirectory

    I'm hoping someone can help me out. For reasons I dont really want to get into, I need to update our Umbraco website to have everything show up under a subdirectory. For example, I need the media to be called from the directory /lp/media instead of just /media. I would need this done for everything, including /scripts /css and anything else that can be called from within the pages. Is this possible to update the configuration to point to that new directory instead?

    If I am not being clear enough, currently all the media is pulled from: http://www.mysite.com/media/1234/image.jpg

    I want it to be changed to this: http://www.mysite.com/lp/media/1234/image.jpg

    Please let me know if this can be done, or if I am out of luck. Thanks in advance.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    May 18, 2010 @ 15:09
    Aaron Powell
    0

    No you can't change those folders. You could try using UrlRewriting although that cause havoc with Umbraco's expectations.

    Only other way is to modify the core of Umbraco.

  • James Corne 5 posts 75 karma points
    Jan 28, 2022 @ 14:08
    James Corne
    0

    Any update on this question? I also need to install Umbraco on a subdirectory. This thread is 11 years old so hopefully that is enough time for Umbraco to add this function.

Please Sign in or register to post replies

Write your reply to:

Draft