我想把
http://www.xxxxx.com/nsearch.aspx?Category=Mens&Subcategory1= Athletic&Subcategory2=Basketball
重写成
http://www.xxxxx.com/product/mens/athletic/basketball.aspx
怎么做?
是在IIS上进行设置吗?
急求
http://www.xxxxx.com/nsearch.aspx?Category=Mens&Subcategory1= Athletic&Subcategory2=Basketball
重写成
http://www.xxxxx.com/product/mens/athletic/basketball.aspx
怎么做?
是在IIS上进行设置吗?
急求
在他load的时侯取得参数,跳转到相应页面
不难,一个小时搞定没问题的。
重写成 http://www.xxxxx.com/product/mens/athletic/basketball.php 岂不更有趣!试试吧,遇到sb用户(或者自己公司老板),觉得什么时髦你就重写什么。
2.配置Config.
3.配置IIS 映射你的html,或者aspx.
每一步都不能出错。 步骤给你了。操作网上多得很
完美实现 ASP.NET 2.0 中的URL重写伪静态:
http://wapapp.baidu.com/share/detail/21790577
如:
<add name="Rewrite2" virtualUrl="^http\://(.*)/index.html(你想要显示的url)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/default/default.aspx(实际访问的url地址)" rewrite="Domain" ignoreCase="true"/>