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...Administration ...Administration ...how can i make my url friendlyhow can i make my url friendly
Previous
 
Next
New Post
11/14/2008 5:29 AM
 

hey

i am using Dnn 4.9 and i make a page name category and in that category i am displayin the list of mobile brands  and when any user click any mobile brand it display all the mobiles in that brand in another page  and when user click any mobile it display its detail in another pager

mobiles brand(category) => mobiles page(mobiles)  =>mobile detail (mobiledetail)

Part  1:

now when i run my program and when i click my category page it display this url

http://localhost/dnn/Category/tabid/59/Default.aspx

but i only want it to be

http://localhost/dnn/Category.aspx

when i search the net i found a soultion that if i use     urlformat="HumanFriendly" in webconfig i get the human friendly urls and i get this url

http://localhost/dnn/Category.aspx

part 2:

but when i click any brand in the category of mobile brand page i get this url

http://localhost/dnn/Category/mobiles/tabid/60/id/2/Default.aspx

but i want that i get this url

http://localhost/dnn/mobiles.aspx or http://localhost/dnn/mobiles/2.aspx                      somthin like that

when i search i find that if i can rewrite the url with the help of siteUrls.config

and they give many example like

<RewriterRule>
<LookFor>.*/category.aspx</LookFor>
<SendTo>~/default.aspx?tabid=59</SendTo>
</RewriterRule>

i tried that but i do not work , am i doing somthing wrong , also how can i make this work for part 1 and part 2

so i can make friendly url for both 1 level and more then one level pages

also is it possible that i can make my part 2 url somthin like this

http://localhost/dnn/mobiles-c2           (that category selected is 2)

and if any one select any mobile  from that brand  page  lets suppose mobile with id =48  then url  become

http://localhost/dnn/mobiles-c2m48

i hope i explain what i want to do and hope some one can help me on this

plz atleast tell me how can i urrewrite my url to user friendly when its more then one level

Ahtesham

 
New Post
11/14/2008 6:40 AM
 

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/14/2008 6:58 AM
 

first of all its german language and i am not able to understand why u send me to that link :(

 
New Post
11/14/2008 8:31 AM
 

oops, sorry, I made a mistake when copying the link - it's corrected now.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/17/2008 12:53 AM
 

i have already read that and done what they said , i told u that i can make it work for one level

i.e.

http://localhost/dnn/Category/tabid/59/Default.aspx        to   http://localhost/dnn/Category.aspx

but it do not convert

http://localhost/dnn/Category/mobiles/tabid/60/id/2/Default.aspx 

to

http://localhost/dnn/mobiles.aspx or http://localhost/dnn/mobiles/2.aspx     or      http://localhost/dnn/Category/mobiles/2.aspx            somthin like that

hope u can understand what i want

also i want that how can i use siteUrls.config

i tried to do this

<RewriterRule>
<LookFor>.*/category.aspx</LookFor>
<SendTo>~/default.aspx?tabid=59</SendTo>
</RewriterRule>

but it do not work am i doing somthing wrong

Ahtesham

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how can i make my url friendlyhow can i make my url friendly


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