【发布时间】:2012-04-11 19:52:17
【问题描述】:
我有以下 301 重定向规则:
<rule name="301RedirectsRule" enabled="true" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{301Redirects:{URL}}" pattern="(.+)" />
</conditions>
<action type="Redirect" url="{C:1}" redirectType="Permanent" />
</rule>
在rewrite map中有规则:
<add key="/di/web/home/Glossary/index.aspx" value="/resources/dental-terminology" />
<add key="/di/web/knowledge-base/article.aspx?id=62" value="/resources/oral-pathology/oral-conditions-and-diseases/periodontal-disease" />
第一个完美运行,但任何带参数的 URL(如第二个)都不起作用。
【问题讨论】:
标签: iis parameters query-string url-rewrite-module