However on load of the actual site all my resources and links are broken. For static content like css and js it's really to fix: src="~/style.css" (adding the tilde). However my media items are showing the wrong urls.
Media URLs are coming as /media/etc, which means there full URL on the page as
MyWebsite/media/etc
rather than
MyWebsite/ApplicationDirectory/media/etc
What I need is a way for media items to go to the home directory vs the root of the site. What is the best way to achieve this?
Umbraco site in an IIS application media items need to point to home directory
My current project is having a bit of an issue when implementing Umbraco inside an application within an IIS site.
The site is structured as such:
ETC
However on load of the actual site all my resources and links are broken. For static content like css and js it's really to fix: src="~/style.css" (adding the tilde). However my media items are showing the wrong urls.
Media URLs are coming as /media/etc, which means there full URL on the page as
rather than
What I need is a way for media items to go to the home directory vs the root of the site. What is the best way to achieve this?
EDIT
This only works on home, d'oh!
is working on a reply...