修改伪静态规则带来的问题。
2016-07-07 15:02 来源:www.chinab4c.com 作者:ecshop专家
求助。我修改了伪静态规则中的category为其它名称,正常实现了。但这次修改带了个问题,是栏目导航的当前栏目背景改变的效果没有了。 我看了下,主要是 class="cur" 的判断无效,不知要改哪里 |
回答:
(.*?)匹配就可以了 |
没有看懂,能不能再详细点。新手,谢谢。 |
RewriteRule ^(.*)/category$$1/index\.php[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3 [I] RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)\.html(.*)$$1/category\.php\?$4&id=$2&brand=$3 改为 RewriteRule ^(.*)/shipinpifafenlei$$1/index\.php[I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6[I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6[I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4[I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3 [I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2[I] RewriteRule ^(.*)/shipinpifafenlei-([0-9]+)-b([0-9]+)\.html(.*)$$1/category\.php\?$4&id=$2&brand=$3 |
顶一下,帮帮忙呀 大哥些 |
最近更新
常用插件
- ecshop2.7.1打印发货单插件
ecshop2.7.1打印发货单插件介绍:ecshop2.7.1和以前的ecshop版本不一样,ecs...
- ecshop二次开发详细页面生
插件介绍: ECSHOP系统,在很多时候,很多商品没有人购买,不但购买的人...
- ecshop分类批量扩展插件
ecshop分类批量扩展插件,这个插件是ecshop插件里面比较核心的插件。我们...
- ecshop商品分类名称增加样
ecshop插件介绍:本插件可以方便在后台管理,为ecshop商品分类名称增加样...
- ecshop二次商品订购人信息
ecshop二次商品订购人信息填写插件,有时候给朋友送花,或者是送礼品的...
ecshop热门问答
ecshop热门资料
ecshop模板交流
ecshopflase
ecshop解決
ecshop会员管理
ecshop非技术
ecshop邮箱格式
ecshopphotoshop
ecshop成果广告联盟
ecshopJewelry
ecshop包装
ecshop香港电器街
ecshopEC二次开发
ecshop进出
ecshop贩卖模板的骗子
ecshop指点迷津
ecshop单打
ecshop内详
ecshopMASTER
ecshop面包
ecshop播放
ecshop三五
ecshop单和托
ecshop我是医生
ecshop上端
ecshop商城模板
ecshop电子相册
网店备案
ecshopXLS格式
ecshop元素
ecshop电子商务研究