打造你的YES!PPG无需安装立即免费体验ecshop构建独立网店
 16 12
发新话题
打印

[待解决] ecshop2.6版依然存在伪静态化后无法实现商品页翻页功能

ecshop2.6版依然存在伪静态化后无法实现商品页翻页功能

ecshop2.6版bluesky模板静态简单重写后无法实现商品页翻页功能
这个问题一直存在..
使用了bulesky模板最新版本2.6版本,
使用伪静态复杂重写后,发现商品页不能实现翻页功能,
在商品页选下一页始终显示第一页。只有选择下拉框才能跳转到指定页面。
找了以前的帖子没有找到解决方法


网址 : www.jilishop.com

示例:http://www.jilishop.com/category-1-b0-min0-max0-attr-7-goods_id-DESC.html

希望ecshop能尽快解决...

一直顶到问题解决为止...

TOP

回复 #1 jilishop 的帖子

请问您是否更新了ec的rewrite规则?
请问在哪里更新..

修改了htaccess.txr为.htaccess

目录也添加了 httpd.ini 文件

服务器为 IIS

TOP

iis对.htaccess不起作用
不保留版权信息的各位XDJM,请原谅我不能为您解答问题!!!!

TOP

那请问改如何设置....?

TOP

回复 #3 jilishop 的帖子

您好,如果方便请把您的服务器权限pm一下,我帮您配置一下。

TOP

你好 已经PM

TOP

您将下面的规则将http.ini中ec之前的rewrite更新一下

#RewriteCond %{HTTP:Host} (?:www\.)?site1\.com

RewriteRule ^(.*)index\.html$    index\.php [I]
RewriteRule ^(.*)category$      index\.php [I]

RewriteRule ^(.*)feed-c([0-9]+)\.xml$       feed\.php\?cat=$1 [I]
RewriteRule ^(.*)feed-b([0-9]+)\.xml$       feed\.php\?brand=$1 [I]
RewriteRule ^(.*)feed\.xml$                 feed\.php [I]

RewriteRule ^(.*)category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$  category\.php\?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 [I]
RewriteRule ^(.*)category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*)\.html$                            category\.php\?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 [I]
RewriteRule ^(.*)category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$                                      category\.php\?id=$1&brand=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$                                                       category\.php\?id=$1&brand=$2&page=$3  [I]
RewriteRule ^(.*)category-([0-9]+)-b([0-9]+)(.*)\.html$                                                                category\.php\?id=$1&brand=$2  [I]
RewriteRule ^(.*)category-([0-9]+)(.*)\.html$                                                                          category\.php\?id=$1  [I]

RewriteRule ^(.*)goods-([0-9]+)(.*)\.html$  goods\.php\?id=$1 [I]

RewriteRule ^(.*)article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$  article_cat\.php\?id=$1&page=$2&sort=$3&order=$4  [I]
RewriteRule ^(.*)article_cat-([0-9]+)-([0-9]+)(.*)\.html$                   article_cat\.php\?id=$1&page=$2   [I]
RewriteRule ^(.*)article_cat-([0-9]+)(.*)\.html$                            article_cat\.php\?id=$1   [I]

RewriteRule ^(.*)article-([0-9]+)(.*)\.html$                                article\.php\?id=$1   [I]

RewriteRule ^(.*)brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html   brand\.php\?id=$1&cat=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html                brand\.php\?id=$1&cat=$2&page=$3 [I]
RewriteRule ^(.*)brand-([0-9]+)-c([0-9]+)(.*)\.html                         brand\.php\?id=$1&cat=$2 [I]
RewriteRule ^(.*)brand-([0-9]+)(.*)\.html                                   brand\.php\?id=$1 [I]

RewriteRule ^(.*)tag-(.*)\.html                                             search\.php\?keywords=$1 [I]
RewriteRule ^(.*)snatch-([0-9]+)\.html$                                     snatch\.php\?id=$1 [I]
RewriteRule ^(.*)group_buy-([0-9]+)\.html$                                  group_buy\.php\?act=view&id=$1 [I]
RewriteRule ^(.*)auction-([0-9]+)\.html$                                    auction\.php\?act=view&id=$1 [I]

TOP

能否说的明白点..

这些代码我看不懂...

也不明白该怎么更新..

希望桔子能写详细点...

可能还有很多跟我遇到一样情况的朋友...

TOP

在文件包的docs目录里的  URLRewrite.txt 写的很详细了
不保留版权信息的各位XDJM,请原谅我不能为您解答问题!!!!

TOP

 16 12
发新话题