博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ECSHOP站内页面跳转,避免死链
阅读量:7267 次
发布时间:2019-06-29

本文共 583 字,大约阅读时间需要 1 分钟。

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]

转载地址:http://xordm.baihongyu.com/

你可能感兴趣的文章
msxfs.dll函数加载代码
查看>>
作业——10 分布式文件系统HDFS 练习
查看>>
前端知识汇总【转】
查看>>
Python With 用法
查看>>
Little C Loves 3 I
查看>>
javascript作用域、闭包、对象与原型链
查看>>
快速幂
查看>>
算法学习:Pac-Man的简单对抗
查看>>
HTTP请求与响应
查看>>
windows 中java开发环境搭建
查看>>
spring和hibernate集成事物管理配置方法
查看>>
mongodb数据库安装及常见操作
查看>>
【LaTeX】Lyx/LaTeX笔记06--2012-06-16
查看>>
zlib1.2.11静态库使用
查看>>
关于DOM的事件操作
查看>>
[Java基础] java多线程关于消费者和生产者
查看>>
树莓派3B刷openwrt系统
查看>>
unity luaFramework tolua 学习(1) win zerobrane调试
查看>>
Linux下配置环境变量的几个方法实例
查看>>
右侧客服 运动案例
查看>>