Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
Is anybody out there?
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 : https://our.umbraco.org/documentation/Reference/Config/umbracoSettings/
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,
How did you end up solving this?
Any one have solutions for this issue?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted