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?
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?
Have you checked the console logs in the browser to see what errors are being displayed?
is working on a reply...