Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Friendly URLs for Hosted FilesFriendly URLs for Hosted Files
New Post
9/10/2013 3:25 PM

Good afternoon,

I have been working on friendly urls for a certain part of my site for most of the day and that is going fine.  However, I cannot apply the same patterns used for the pages on my site to documents saved to the portal.  It appears that I am forced to use the pattern.  I've been searching around without luck to find an answer on this.  Is it even possible to link directly to files without including the Portals/PortalNum (ie in the URL?  My stakeholders are pretty picky about this stuff and won't be thrilled with having the portal number listed in the URL we give out to users.

I figure there's some configuration somewhere I can change to make this happen, but I haven't found it yet.  Any help would be appreciated.


New Post
9/18/2013 12:32 PM
I don't think this will be possible, since the links are the actual physical path to the files...unlike pages that virtually exist and are created at runtime by the ASP.Net code.
Someone smarter than me might have a different solution.
New Post
9/18/2013 12:57 PM
file links (or precisely: those, that don't use linkclick.aspx) are not handled by DNN but by IIS itself. you would need to perform URLrewriting on IIS level, see

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Friendly URLs for Hosted FilesFriendly URLs for Hosted Files

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?