页面将一个页面重定向到另一个页面 [英] Page redirect one page to another page
问题描述
页面重定向到http://www.abx.com/blog/?p=363另一页http://www.abc.com
更改webconfig文件
我尝试过:
< rule name =p = 363重定向stopProcessing =true>
< match url =^(。* \ /)* http://www.abc.com/blog/?p = 363 $/>
< conditions logicalGrouping =MatchAll>
< add input ={REQUEST_METHOD}negate =truepattern =^ POST $/>
< action type =Redirecturl =http://www.abc.comredirectType =Permanent/> ;
/>
< conditions logicalGrouping =MatchAll>
< add input ={REQUEST_METHOD}negate =truepattern =^ POST
/>
< ; action type =Redirecturl =http://www.abc.comredirectType =Permanent/>
ASP.NET中的URL重写 [ ^ ]
page redirect to "http://www.abx.com/blog/?p=363" another page "http://www.abc.com"
changes in webconfig file
What I have tried:
<rule name="p=363 Redirect" stopProcessing="true">
<match url="^(.*\/)*http://www.abc.com/blog/?p=363$" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_METHOD}" negate="true" pattern="^POST$" />
<action type="Redirect" url="http://www.abc.com" redirectType="Permanent" />
" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_METHOD}" negate="true" pattern="^POST
" />
<action type="Redirect" url="http://www.abc.com" redirectType="Permanent" />
URL Rewriting in ASP.NET[^]
这篇关于页面将一个页面重定向到另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!