Copied to clipboard

Flag this post as spam?

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


  • Andrei Canef 33 posts 84 karma points
    Jun 23, 2014 @ 11:50
    Andrei Canef
    0

    media path issues with Umbraco running in a subfolder

    Hi there, 

    As part of client requirements, we had to setup Umbraco in a slightly different way. We have a static html website running on the top level domain(www.mydomain.com), and three Umbraco sites in 3 different subfolders (www.mydomain.com/site1, www.mydomain.com/site2, www.mydomain.com/site3).

     

    In IIS, we've added the bindings to the top level site, and everything seems to load correctly...apart from the media. Browsing site1 for example, it seems like all the media paths are missing the /site1/ fragment. In the Umbraco backend as well, thumbnails in DAMP aren't loading correctly due to the same issue. Furthermore, when looking at the media files, the path in the UmbracoFile value was set to /media/media/file1.jpg, for example

    I came across this post  which describes a similar issue, and have added that to the config file. This has fixed the UmbracoFile value issue. However, the images still aren't loading/displaying correctly within Umbraco or on the front end. 

    Has anyone come across this sort of problem in the past? If so, is there an easy fix? 

  • Simon steed 376 posts 688 karma points
    Jun 24, 2014 @ 12:04
    Simon steed
    0

    Have you checked the console logs in the browser to see what errors are being displayed?

Please Sign in or register to post replies

Write your reply to:

Draft