ecshop前台商品列表不能翻页,这是为什么呀

2016-07-07 15:38 来源:www.chinab4c.com 作者:ecshop专家

ecshop前台商品列表不能翻页,www.jinshesafe.com进入主页后点击大类比如金蛇保险柜,进去后,商品下面有1,2,3....的分页,点击2,3...还是在第一页,这是怎么回事呀?

急等高手回答。谢谢

回答:
检查一下你的重写规则是否正确。

楼上正解,重写规则有问题,程序没问题
http://www.jinshesafe.com/category.php?id=10&page=2这么访问就没问题,
楼主检查一下你的重写规则!!!

什么重新规则

是您的重写规则

可以具体点吗,不太懂PHP

请仔细阅读安装包/docs/URLRewrite.txt文件

还没有解决这个问题呢。怎么样才能解决呀!

查您的url重写是否规则是否正确,请贴一份您使用的从写规则

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP


# Rewrite 系统规则请勿修改 PHP168

RewriteRule ^(.*)/list-([0-9]+)-([0-9]+)\.htm$ $1/list\.php\?fid=$2&page=$3
RewriteRule ^(.*)/bencandy-([0-9]+)-([0-9]+)-([0-9]+)\.htm$ $1/bencandy\.php\?fid=$2&id=$3&page=$4


# DISCUZ论坛+UCHome Rewrite规则,针对可操作IIS用户,
# 此默认规则只针对UCHome程序放在根目录中用独立域名访问的,论坛也可以直接用.

RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3

RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
RewriteRule ^/(space|network)\.html$ /$1\.php [L]
RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]

# ECSHOP
RewriteRule /index.html/index.php [I]
RewriteRule /default.html /index.php [I]
RewriteRule /ecshop/feed.xml/ecshop/feed.php [I]
#RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 [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 /ecshop/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$/ecshop/category.php?id=$1&brand=$2&page=$3[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4[I]
#RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2[I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3[I]
#RewriteRule /ecshop/category-([0-9]+)(.*)\.html$/ecshop/category.php?id=$1[I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$$1/category\.php\?id=$2[I]
#RewriteRule /ecshop/goods-([0-9]+)(.*)\.html$/ecshop/goods.php?id=$1 [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2

#RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ /ecshop/article_cat.php?id=$1&page=$2&sort=$3&order=$4[I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5[I]
#RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)(.*)\.html$/ecshop/article_cat.php?id=$1&page=$2[I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$$1/article_cat\.php\?id=$2&page=$3[I]
#RewriteRule /ecshop/article_cat-([0-9]+)(.*)\.html$ /ecshop/article_cat.php?id=$1[I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2[I]
#RewriteRule /ecshop/article-([0-9]+)(.*)\.html$/ecshop/article.php?id=$1[I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$$1/article\.php\?id=$2[I]
#RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html /ecshop/brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
#RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1&cat=$2&page=$3 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$1/brand\.php\?id=$2&cat=$3&page=$4 [I]
#RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)(.*)\.html /ecshop/brand.php?id=$1&cat=$2 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3 [I]
#RewriteRule /ecshop/brand-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1 [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand\.php\?id=$2 [I]
#RewriteRule /ecshop/tag-(.*)\.html/ecshop/search.php?keywords=$1 [I]
RewriteRule ^(.*)/tag-(.*)\.html$1/search\.php\?keywords=$2 [I]
#店铺
RewriteRule ^(.*)/co_([0-9]+).html$ $1/Co/Index\.asp\?ID=$2

#列表页
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+)_([0-9]+).html$ $1/$2/Class\.asp\?ID=$3&Page=$4&Order=$5

#内容页
RewriteRule ^(.*)/([\.a-zA-Z0-9]*)_([0-9]+)_([0-9]+).html$ $1/$2/Show\.asp\?ID=$3&Page=$4
#DEDECMS

RewriteBase /
RewriteRule ^list-([0-9]+)\.html$ /plus/list.php?tid=$1
RewriteRule ^(.*)plus/view-([0-9]+)-([0-9]+)\.html$ $1/plus/view\.php\?aid=$2&pageno=$3
RewriteRule plus/list-([0-9]+)-([0-9]+)\.html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3


这是服务器上的,服务器上所有的都用的是这个规则

晓天管理,您看了吗?

知道的朋友。和我说一下,本人不太懂PHP程序。

您可以使用官方的url重写规则试下

windows2003可否麻烦您给我发一个呀。谢谢了

太多规则导致的,你关掉其他重写,或者关掉Ec重写