Hi
I am using url rewriter from http://urlrewriter.net/
I have 2 pages default.aspx and show.aspx on root.
I have 3 links on default.aspx and they are redirecting to show.aspx page. Href set to them is as below:
1.href="2006/08/16"
2.href="2006/08"
3.href="2006"
URLs on show.aspx should look like:
1.http://localhost/UrlRewrite/2006/08/16 : Should show data of year 2006 , month 08 , date 16
2.http://localhost/UrlRewrite/2006/08 : Should show data of year 2006 , month 08
3.http://localhost/UrlRewrite/2006 : Should show data of year 2006
I am using following 3 rules in web.config :
<rewrite url="(\d{4})/(\d{2})/(\d{2})" to="~/show.aspx?Year=$1&Month=$2&Day=$3"/ ...
Go to the complete details ...