Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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...Performance and...Performance and...DNN6.2.2 SEO & Portal IDDNN6.2.2 SEO & Portal ID
Previous
 
Next
New Post
9/1/2012 4:54 AM
 
Bill,
as I stated before, only links ending in .aspx and .ashx are routed by default to ASP.net, while links to images, documents JS and CSS are handled directly by the web server without involvement of the application. you might add rules to web server url rewrites, but I see little chance for this being implemented in DNN core due to not all users have necessary access to server settings. If you place your images on a CDN or use a different domain address pointing directly to your portal folder (e.g. cdn.mysite.com pointing to www.mysite.com/portals/0 folder), you may solve your íssue but need either use a custom folder provider or manually adjust all links.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/1/2012 5:56 AM
 
Bill,

Can you say why you are concerned about this?

ISTM that it's a good thing. DNN allows you to create several different websites (portals) under one installation. Keeping their resources separate is essential, hence their URI's include the portal id.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
9/1/2012 7:07 AM
 

Hi Richard,

Of course portals are MORE than a good idea.  That was not my intention at all...

Abstraction... just like we abstract presentation from data, code from data and the dot net framework from the normal everyday graphic designer... we can as well abstract the underlying mechanics of DNN so that a resource is nothing but a part of the hierarchy removing any need for knowing that it is in underlying layers located within a DNN structure somewhere.

Maybe a example will help: 

mydomin / portalsdir / portalid / images / resource

  1. has no value at all to a user...
  2. is dilutes the relationship to the hierarchy
  3. makes it impossible sometimes to directly adress a resource
  4. Its a longer path
  5. etc...

If we instead mapped a virtual path to all requests for downloadable images, pdfs, flash, videos, word documents etcc.. like

virtual dir root "/" = "mydomin / portaldir / portalid /" 

then we can tell someone to download a resources without having to define a long cryptic string, we could refer to the resource in higher level abtractions using a shorter more meaningful and relevant path, we could build on close proximity of resources with respect to spiders etc...

Another great example is to upload a file called test.zip for offshore graphics designers or customers even and then simply refer to the file as  mydomain / customers / download/ test.zip and even the CEO would be able to understand how to that :-)

It is purely logical... it is NOT nessesary to use portalID and PortalDIR until absolutely nessesary...  the only time that this is ever truely needed is in CODE.... and I am talking backend code.....

 Surprised this even needs to be debatted... its a no brainer....

Cheers,  Bill

 
New Post
9/1/2012 7:34 AM
 
please be aware that DNN is built to suit users on shared hosting as well, who don't have options to create virtual directories.

Again, you may create a dedicated resources site in IIS and store your images etc. over there or use a public CDN for this and refer as external link within your content on your DNN site - this will in fact result in better user experience due to more resources being loaded the simultaneously.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/1/2012 7:48 AM
 

Hey Sebastian,

I was thinking more that DNN itself would abstract the hierarchy... create a virtual root.  If DNN actually used a true virtual root, for all resources that was interpreted by the DNN Framework and translated behind the scenes (TRANSPARENT) then there would be no problems for anyone... even hosted DNN installations.

But you gave me an idea... not sure about this and you being the expert surely will be able to shed some light on this....  Can I created a virtual mapping under the portalDIR that is only visible to that individual portal and is accessible to DNN referencing in code ????

That would be a great work around to this issue....

Cheers,  Bill

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...DNN6.2.2 SEO & Portal IDDNN6.2.2 SEO & Portal ID


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out