Copied to clipboard

Flag this post as spam?

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

  • James 5 posts 75 karma points
    Dec 03, 2015 @ 13:42

    Umbraco running virtual directory - broken media files path

    Hi all,

    I'm having an issue with Umbraco running in a virtual directory and broken media paths.

    I'll use example URLs:

    The website is hosted at

    The media displays when you go to

    The problem is Umbraco is adding an extra /content to the URL path so therefore I'm left with and the media therefore doesn't display or work.

    Is there any way to stop Umbraco adding the extra /content to the media paths?

    Alternatively, is it possible to just create another /content folder and move the media there, so that the doubled up media paths actually resolve?

    Any help on this matter would be greatly appreciated.

  • James 5 posts 75 karma points
    Dec 04, 2015 @ 10:44

    Can anyone help with this issue? I'm still unable to resolve it.

    It appears that content is being added from the virtual directory in the URL, and in the media path, which results in the double content.

    If I remove one of the content's from the URL, the media works without issue, so this is clearly an issue related to paths or how URL's are set server side.

  • James 5 posts 75 karma points
    Dec 04, 2015 @ 14:01

    I think the issue may be directly related to the rewrite rules in Umbraco. Any chance of help with this issue?

  • James 5 posts 75 karma points
    Dec 07, 2015 @ 10:41


    Is anybody out there?

    enter image description here


  • Dave Woestenborghs 3227 posts 10922 karma points MVP 4x admin c-trib
    Dec 07, 2015 @ 10:51
    Dave Woestenborghs

    Hi James,

    I never tried running umbraco in a virtual directory.

    But here ares some forum posts that could put you on the right track for solving your issues :

    One of these posts mentions setting ResolveUrlsFromTextString to true. According to the documentation on this page this is required :


  • James 5 posts 75 karma points
    Dec 07, 2015 @ 12:09

    Hi Dave,

    Thank you very much for your response. I'll take a look through those links and see if there's anything there that can help me with the issue.

    All the best,


  • Christina Carter 12 posts 93 karma points
    Mar 18, 2016 @ 19:40
    Christina Carter

    Hi James,

    How did you end up solving this?

  • Syed 4 posts 73 karma points
    Jan 14, 2020 @ 11:30

    Any one have solutions for this issue?

Please Sign in or register to post replies

Write your reply to: