我正在玩urlrewriter.net并设置一些友好的网址。我设置了一个映射,但我注意到地址栏中的url从友好地址变为实际地址。我的印象是这会被用户掩盖。我在这里错过了什么。
<redirect url="~/products/(.+)/(.+)" to="~/Default.aspx?category=$1&type=$2" />
友好网址
http://localhost:58358/products/dvds/metal
实际网址
http://localhost:58358/Default.aspx?category=dvds&type=metal