Register   Login
     
  Latest Posts  
Bad link when Display is set to Album
by oneniner on 10/06/2008 7:39 PM
Filter news list on user Role
by koolworld on 10/06/2008 6:09 PM
RE: issue with user rights
by dax on 10/06/2008 5:34 PM
RE: YUI Uploader...
by dax on 10/06/2008 5:33 PM
Broker Question
by jerops on 10/06/2008 5:24 PM
RE: ENH: NA becomes the Article Manager and LA is the display module
by dax on 10/06/2008 5:12 PM
RE: Expiry Time not getting saved correctly
by jhughes on 10/06/2008 4:20 PM
RE: NA 00.07.13 - Editor Text Boxes Disappear for Summary/Excerpt - need it back
by jgspencer on 10/06/2008 3:42 PM
RE: Suggestion: Individual articles only viewable by select roles.
by smcculloch on 10/06/2008 3:40 PM
Suggestion: Individual articles only viewable by select roles.
by tempestb on 10/06/2008 3:34 PM
  Forums  
Subject: Will there ever be true Friendly URL's for DNN?
Prev Next
You are not authorized to post a reply.

Author Messages
Danny TamUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:242


10/21/2006 11:38 PM  
It is great that the Friendly URL's project has been put on the grounds and is developing so well. I am quite satisfied with what it can output, but will it ever be possible to get addresses with multiple parameters to be displayed in a friendly format as well?

Reason of asking is that many sites I see are more prominently featuring permalinks, and while it is not exactly a huge issue for me personally, it would be great to see the Friendly URL's working with any form of addresses that DNN can output.

Does the problem with multiple parameters lie within the DotNetNuke core itself, or is there simply just no easy or logical solution to get it up working with such addresses?

Love to know from anyone who has some words on the issue. I'm not exactly the greatest coder out there, and mainly just hack and slash my way through things, so I wouldn't be able to really get a realistic grasp of what can and can be done with the Friendly URLs project in the short future myself.


Cheers,
Danny
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:11931


10/22/2006 12:13 AM  
This is a complex subject, so I will explain it as best I can.

With multiple parameters, the parameters are unknown because they come from 3rd party developers, the goal with reading a request is to convert it the actual URL based on the request.

So..

/Products/Shop.aspx

needs to equate into a productID, in a generic app it would be:-

/ViewProduct.aspx?ProductID=5 (where a dynamic lookup is performed on Shop.aspx).

DNN throws another spanner in the works, is that there is no "ViewProduct" page either, this can be any page in the portal, so something needs to be done to work out "where that module is" and use that TabID.

So now it becomes something like:-

/Default.aspx?TabID=55&ProductID=5 (dynamic lookup of Tab, but there could be multiple modules in the portal, so which one? and the ProductID)

Now the final task is:-

Find which portal is actually being loaded too, this based on the url, which would work OK if it was just in the format of www.domain.com, but you have child portals, so what if the portal was www.domain.com/Shop?

I hope this gives you a better understanding, I think the best way to address multiple parameters, is in a format like:-

www.site.com/products.aspx

and multi parameters:-

www.site.com/products/param/mid/5/.aspx

or simply:-

www.site.com/products.aspx?mid=5

Scott McCulloch
Site Administrator
Danny TamUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:242


10/22/2006 12:19 AM  
Hello Scott,

Thanks for getting back to me. The information above has helped clarify a few things. I was wondering though, with the examples you gave of solutions ("www.site.com/products.aspx?mid=5"), do you foresee this possible in the short future of being implemented?

Most of my content are all ran by News Articles, and in the future site, I intend to do the same thing. I would just like to have the ability for people to book mark things, or even remmeber addresses easier. Not like this will really be a siginificant issue, but it's good to know in the back of my head that my site may be more suitable for SEO related issues, and just basic human readability in the coming time.
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:11931


10/22/2006 3:47 AM  
[quote]I was wondering though, with the examples you gave of solutions ("www.site.com/products.aspx?mid=5"), do you foresee this possible in the short future of being implemented?[/quote]

Sure, that is very simple to implement.

If you look at the following URL:-

http://www.ventrian.com/Resources/Blog.aspx

When something on there has multiple parameters, it looks like this:-

http://www.ventrian.com/Resources/Blog/tabid/243/articleType/ArticleView/articleId/347/Advertising-Modules.aspx (notice the TabID?)

This is the equivalent of:-

http://www.ventrian.com/Resources/Blog.aspx?articleType=ArticleView&articleId=347 (which already works, it just not write it out in the page like this)

Notice however, that the name of the article is gone.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Will there ever be true Friendly URL's for DNN?



ActiveForums 3.7