首页 > 其他 > 详细

ECSHOP站内页面跳转,避免死链

时间:2014-09-28 16:59:44      阅读:266      评论:0      收藏:0      [点我收藏+]

2.x版本域名重定向:

  1. # For ISAPI_Rewrite 2.x
  2. RewriteCond Host: ^steveluo\.name$
  3. RewriteRule (.*) http\://www\.steveluo\.name$1 [I,RP]

3.x版本域名重定向:

  1. # For ISAPI_Rewrite 3.x
  2. RewriteCond %{HTTP:Host} ^steveluo\.name$
  3. RewriteRule (.*) http\://www\.steveluo\.name$1 [NC,R=301]

SEO 需要 大写字符301跳小写过程

#Scenery

RewriteRule /Scenery/ /scenery/ [N,RP]
RewriteRule /Scenery/ /Scenery/index.aspx [N,I]

 
用于ecshop站内页面跳转,避免死链
例如:
httpd.ini
RewriteRule ^(.*)/gallery-107--0--1--text\.html$ $1/category-108-b0-min0-max0-attr0.0.11012\.html   [N,I]
 
.htaccess
RewriteRule ^product-1054\.html goods-1208\.html [R=301,L]

ECSHOP站内页面跳转,避免死链

原文:http://www.cnblogs.com/shangxia/p/3998415.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!