Dynamic URL REWRITING For QueryStrings

Showing 1-2 of 2 messages
Dynamic URL REWRITING For QueryStrings maysam rajabi 6/21/11 1:44 AM
hello please help me for this question

i want give [id] QueryString in news.aspx and show this news,but url
rewrite with [title] of news

www.sample.cm/news.aspx?id=45 ---> www.sample.com/news/my-news-45/
<--

how i can?
Re: [UrlRewritingNet] Dynamic URL REWRITING For QueryStrings Tuấn Nguyễn Minh 6/21/11 2:48 AM
you must use _ not - character

u try following:

<add name="test" rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" virtualUrl="^~/news/(.*)_(.*)/" destinationUrl="~/news.aspx?id=$2"/>




--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe UrlRewritingNet beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an urlrewr...@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an urlrewritingn...@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/urlrewritingnet?hl=de, um weitere Optionen zu erhalten.




--
Best Regards!
----------------------------------------------------------------------------------------------------------------------------------------
Tuan Nguyen Minh (Mr.)
IT Engineer
Banking Team, Research and Development Dept
Vietnam Payment Solution - VnPay.,JSC
Address: 8th floor, No.22, Lang Ha, Dong Da, Hanoi, Vietnam
----------------------------------
Cellphone : (84) 979 233 788
Official email: tua...@vnpay.vn
Personal email : tuanngu...@gmail.com
Yahoo ID : nguyenminhtuan183
Skype ID : nguyenminhtuan183
Website: http://seekill.net/ ----- http://sachdidong.com/

"....Việc thành bại không thể biết trước, cứ giữ vững sở trường, tận sở năng, yên tâm hành sự..." ---- Gia Cát Vũ Hầu
----------------------------------------------------------------------------------------------------------------------------------------