Copied to clipboard

Flag this post as spam?

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

  • Carlos Gómez 21 posts 51 karma points
    Dec 10, 2014 @ 18:42
    Carlos Gómez

    Umbraco 7 in virtual directory


    I come up with an easy one...

    I have been looking over and over on the forum and googling it, but can't find an aswer for Umbraco 7:

    I installed it in a virtual directory ( ) and it is working fine, but not the images, which have a strong "/" in front, sending the frowser to find the images in instead of 

    All info I found is regarding previous versions requiring to set this parameter in umbraco.config:


    That key is not included by default, and in documentation it says it is under the "notification"section, which makes not sense to me, and it seems that for IIS either since it shows up the error that doesn't recognize that key.

    What am I missing?

    I made it work in version 6, but if I am not remembering badly (it was a time ago), all references to folders had a text concanation including the home path variable ( home + url) to have the desired path.

    Help please!



  • Dennis Aaen 4435 posts 17896 karma points admin hq c-trib
    Dec 10, 2014 @ 19:01
    Dennis Aaen

    Hi Carlos,

    Maybe this blogpost from Shannon Deminick, from the Umbraco HQ can help you, I don´t know if this will work for Umbraco 7.

    Hope this helps,



  • Carlos Gómez 21 posts 51 karma points
    Dec 11, 2014 @ 03:05
    Carlos Gómez

    Thank you Dennis...

    What I don't like very much is to hardcode the subdir name in the database, because moving it to another place will require the same workaround.

    It should be better to have a config setting that include or not the "/" at the beginning letting the locations to be relative.

    Anything to do that?

    Thanx again.

  • Carlos Gómez 21 posts 51 karma points
    Dec 11, 2014 @ 05:39
    Carlos Gómez

    Once more.... my inexperience is having lots of fun on me.

    It all was working fine.  The problem was that I saved the images in my local machine and they were saved with the local path.  When moving them to a subdirectory in the server, when they were recalled from the database, they showed up with the local path... that is whythe suggested blogpost DOES FIX the problem... to fix up the already stored images.  The new ones will be saved with the right new virtual directory path.

    Thanks a lot Dennis.


  • Vishmay 19 posts 100 karma points
    Jan 16, 2017 @ 07:32

    it is not working for umbracoConfigurationStatus value="7.4.3".

    Can you please get other work around?

    enter image description here

    please reply me

  • Gambit 20 posts 100 karma points
    Mar 09, 2017 @ 08:40

    Hi Vishmay,

    We had the similar issue. However we found the answer in this blog.

    All you need to do, is execute the Step#5. enter image description here

    It fixed our issue with images (though we still spend time changing absolute paths to relative for packages like "UmbracoForms").

    Hope this will help someone.

    Thank you

Please Sign in or register to post replies

Write your reply to: