<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”。IIS Web.Config 301重定向查询字符串参数(?)
任何想法?
你是说,你的“匹配”不匹配EN/blog.aspx编号= 9,或者,你说你无法重定向到它在你的?行动? – Jeremy
该匹配不能与查询参数 –