ECSHOP避免死链站内页面跳转
日期:2020-08-24
2.x版本域名重定向:
# For ISAPI_Rewrite 2.x
RewriteCond Host: ^steveluo\.name$
RewriteRule (.*) http\://www\.steveluo\.name$1 [I,RP]
3.x版本域名重定向:
# For ISAPI_Rewrite 3.x
RewriteCond %{HTTP:Host} ^steveluo\.name$
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]
# For ISAPI_Rewrite 2.x
RewriteCond Host: ^steveluo\.name$
RewriteRule (.*) http\://www\.steveluo\.name$1 [I,RP]
3.x版本域名重定向:
# For ISAPI_Rewrite 3.x
RewriteCond %{HTTP:Host} ^steveluo\.name$
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]
本文原创地址:https://www.ecshopok.com/article-632.html
版权所有 © 转载时必须以链接形式注明出处!
觉得本文对您有用,想收藏下来!方法很简单:请点击-〉
我们一直坚持白天工作、晚上熬夜更新资源,付出了巨大的精力和时间,其中的辛酸难以言述。
下一篇:ECSHOP小京东采集商品插件【一键采集并将视频导入到商品】 上一篇:ECShop 2.7.3整站源码通用安装教程
暂无评论,来发表一个吧