【发布时间】:2012-06-14 18:27:16
【问题描述】:
<rule name="blog" stopProcessing="true">
<match url="en/blog.aspx?Id=9" />
<action type="Redirect" url="http://www.mynewurl.com" redirectType="Permanent" />
</rule>
我可以重定向“en/blog.aspx”,但无法仅重定向“en/blog.aspx?Id=9”。
有什么想法吗?
【问题讨论】:
-
您是说您的“匹配”与 en/blog.aspx 不匹配?Id=9,还是说您无法在操作中重定向到它?
-
匹配不适用于查询参数
标签: asp.net iis web-config