【发布时间】:2017-09-26 00:46:20
【问题描述】:
我的网址看起来像
https://thesite.com/m/?pageName=profileSettings#notifications
我需要改写成
https://thesite.com/m/?pageName=notificationSettings
我正在尝试类似的东西
<rule name="m_notifications" stopProcessing="true">
<match url="^m/(.*)" />
<conditions>
<add input="{QUERY_STRING}" pattern="pageName=profileSettings#notifications" />
</conditions>
<action type="Rewrite" url="pageName=notificationSettings" appendQueryString="False"/>
</rule>
这不起作用,没有错误,只是没有进行任何更改。我错过了什么?
谢谢
【问题讨论】:
标签: iis url-rewriting