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