页面将一个页面重定向到另一个页面 [英] Page redirect one page to another page

查看:126
本文介绍了页面将一个页面重定向到另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

页面重定向到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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆