A setting in webconfig <add key="umbracoUseDirectoryUrls" value="false"/> adds ".aspx" extension to the url but when I m requesting any media files like a pdf document the return url becomesretUrl=http%3a%2f%2flocal.knowledge.scot.nhs.uk%2fcalderdale%2f1.pdf.aspx
how can we possibly exclude media files in the above setting? thanks
how to handle media files in the URL
Based on a certain condition I m redirecting user to login page and specifying the return url as below
context.Response.Redirect("~/Login.aspx?retUrl=" + HttpUtility.UrlEncode(context.Request.Url.ToString()));
A setting in webconfig
<add key="umbracoUseDirectoryUrls" value="false"/>
adds ".aspx" extension to the url but when I m requesting any media files like a pdf document the return url becomesretUrl=http%3a%2f%2flocal.knowledge.scot.nhs.uk%2fcalderdale%2f1.pdf.aspx
how can we possibly exclude media files in the above setting? thanks
Hey,
I'm not sure I understand your question, I don't think Umbraco would put a .aspx on the end of a media item?
Rich
is working on a reply...