1
我有一个运行在IIS 8.5之上的Sitecore应用程序。我想从#1到#2 URL重定向/重写。URL重写 - IIS上的Sitecore
我试图在IIS的URL重写级这样做,这是行不通的,并没有发生。
<rule name="redirect_a1_to_a2" enabled="false" stopProcessing="true">
<match url="a/a1/" />
<conditions>
<add input="{PATH_INFO}" pattern="a/a1(/?)" />
</conditions>
<action type="Redirect" url="http://mywebsite.com/a/a2" />
</rule>
请帮忙。
您需要启用该规则。将'enabled =“false”'更改为'enabled =“true”# –
@MarekMusielak:你应该把它作为一个被接受的答案! –
@JayS评论转换为答案。感谢您的提示:) –