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 www.mynewsite.com/content/
The media displays when you go to www.mynewsite.com/content/media/....
The problem is Umbraco is adding an extra /content to the URL path so therefore I'm left with www.mynewsite.com/content/content/media/.... 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.
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.
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 www.mynewsite.com/content/
The media displays when you go to www.mynewsite.com/content/media/....
The problem is Umbraco is adding an extra /content to the URL path so therefore I'm left with www.mynewsite.com/content/content/media/.... 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.
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.
I think the issue may be directly related to the rewrite rules in Umbraco. Any chance of help with this issue?
Hello,
Is anybody out there?
:)
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 :
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59666-Umbraco-7-in-virtual-directory
https://our.umbraco.org/forum/getting-started/installing-umbraco/48243-Umbraco-7-and-virtual-directory
One of these posts mentions setting ResolveUrlsFromTextString to true. According to the documentation on this page this is required : https://our.umbraco.org/documentation/Reference/Config/umbracoSettings/
Dave
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,
James
Hi James,
How did you end up solving this?
Any one have solutions for this issue?
is working on a reply...