RedirectRule301跳转

RedirectRule
语法:RedirectRule regexpPattern redirectUrl [R=code]
regexpPattern :要用正则模式的URL 
redirectUrl :转向的向的URL
R=code:指定要返回给浏览器的状态码这里就是301

如:把URL http://loacalhost/offer  301重定向到首页 http://localhost/
RedirectRule ^/offer/.*$ / [R=301,I]

相关URL:

IsapiRewrite4 配置相关
http://www.pxue.com/Html/1148.html
HTTP协议状态码的含义 
http://blog.9color.cn/tag/http%E7%8A%B6%E6%80%81%E7%A0%81304/

301转向和网址规范化
http://www.chinamyhosting.com/seoblog/2006/04/12/301-redirect/

http://topic.csdn.net/u/20090517/14/e25538d8-16e6-4bf2-adc2-e8dcba65bf23.html
更多:IsapiRewrite4.ini 参数R
http://www.baidu.com/s?wd=IsapiRewrite4.ini+%B2%CE%CA%FDR

今天在工作中,发现一个更好的301跳转,而且始终会跳转的,还有今天学习了linq的,晚上看了其实还是简单的,相信一点一滴慢慢积累。

 

 

 

 

 

 

 

posted @ 2011-10-08 21:04  cryAllen  阅读(386)  评论(0编辑  收藏  举报