0
我写了一些规则来重定向从几个旧网址到一个新的URL:有效的重定向规则的web.config
<rule name="strategies1st" stopProcessing="true">
<match url="(.*)URL1" />
<action type="Redirect" url="URLnew" appendQueryString="false" />
</rule>
<rule name="strategies2nd" stopProcessing="true">
<match url="URL2" />
<action type="Redirect" url="URLnew" appendQueryString="false" />
</rule>
他们在网站上工作的伟大。
我期待已久的每一页组一个规则的解决方案通过这种逻辑(||或):
URL1 || URL2 || URLn --> URLnew
什么是做正确的方法是什么?