网站商品分页无法下一页

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

下面是我的重写代码,盼望辛勤的管理员能给予解决,感激不尽!
  1. # ECSHOP
  2. RewriteRule /index.html/index.php
  3. RewriteRule /default.html /index.php
  4. RewriteRule /ecshop/feed.xml/ecshop/feed.php
  5. #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
  6. 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
  7. #RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html[code]# ECSHOP
  8. RewriteRule /index.html/index.php
  9. RewriteRule /default.html /index.php
  10. RewriteRule /ecshop/feed.xml/ecshop/feed.php
  11. #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
  12. 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
  13. #RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/category.php?id=$1&brand=$2&page=$3
  14. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/category\.php\?id=$2&brand=$3&page=$4
  15. #RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/category.php?id=$1&brand=$2
  16. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/category\.php\?id=$2&brand=$3
  17. #RewriteRule /ecshop/category-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/category.php?id=$1
  18. RewriteRule ^(.*)/category-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; $1/category\.php\?id=$2
  19. #RewriteRule /ecshop/goods-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/goods.php?id=$1
  20. RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2

  21. #RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ /ecshop/article_cat.php?id=$1&page=$2&sort=$3&order=$4
  22. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5
  23. #RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/article_cat.php?id=$1&page=$2
  24. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/article_cat\.php\?id=$2&page=$3
  25. #RewriteRule /ecshop/article_cat-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/article_cat.php?id=$1
  26. RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/article_cat\.php\?id=$2
  27. #RewriteRule /ecshop/article-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/article.php?id=$1
  28. RewriteRule ^(.*)/article-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; $1/article\.php\?id=$2
  29. #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
  30. 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
  31. #RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1&cat=$2&page=$3
  32. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$1/brand\.php\?id=$2&cat=$3&page=$4
  33. #RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)(.*)\.html /ecshop/brand.php?id=$1&cat=$2
  34. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3
  35. #RewriteRule /ecshop/brand-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1
  36. RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand\.php\?id=$2
  37. #RewriteRule /ecshop/tag-(.*)\.html/ecshop/search.php?keywords=$1
  38. RewriteRule ^(.*)/tag-(.*)\.html$1/search\.php\?keywords=$2

  39. RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$3
  40. RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
  41. RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
  42. RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html\?*(.*)$ $1/viewpro\.php\?$2=$3&$4
  43. RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
复制代码
nbsp;/ecshop/category.php?id=$1&brand=$2&page=$3
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/category\.php\?id=$2&brand=$3&page=$4
#RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/category.php?id=$1&brand=$2
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/category\.php\?id=$2&brand=$3
#RewriteRule /ecshop/category-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/category.php?id=$1
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; $1/category\.php\?id=$2
#RewriteRule /ecshop/goods-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/goods.php?id=$1
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
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5
#RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/article_cat.php?id=$1&page=$2
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/article_cat\.php\?id=$2&page=$3
#RewriteRule /ecshop/article_cat-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;/ecshop/article_cat.php?id=$1
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp;$1/article_cat\.php\?id=$2
#RewriteRule /ecshop/article-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; /ecshop/article.php?id=$1
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html[DISCUZ_CODE_1]nbsp; $1/article\.php\?id=$2
#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
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
#RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1&cat=$2&page=$3
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$1/brand\.php\?id=$2&cat=$3&page=$4
#RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)(.*)\.html /ecshop/brand.php?id=$1&cat=$2
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3
#RewriteRule /ecshop/brand-([0-9]+)(.*)\.html/ecshop/brand.php?id=$1
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand\.php\?id=$2
#RewriteRule /ecshop/tag-(.*)\.html/ecshop/search.php?keywords=$1
RewriteRule ^(.*)/tag-(.*)\.html$1/search\.php\?keywords=$2

RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$3
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 ^(.*)/profile-(username|uid)-(.+)\.html\?*(.*)$ $1/viewpro\.php\?$2=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4[/code]


回答:
管理员们都不在么?

等了很久了

自己顶起来

规则本身没有问题,我们的网站分页很正常的。
你看下:http://115.47.137.162

原帖由 seawind 于 2008-11-27 16:47 发表
规则本身没有问题,我们的网站分页很正常的。
你看下:http://115.47.137.162


怎么会没有问题呢?

请问楼主的网店地址是什么?

我网店地址是http://ceshi999.s18.cdn1.cn

今天整整搞一天,由于升级新版本。服务器只支持IIS,但是目前没有IIS下的新版本重写规则。
哎,我的人生啊!

顶啊,哪位帮忙下

有啊,我的就没有问题,IIS规则是有问题的,不过我的是空间商帮我改的,好像说少了几个字母

IIS的规则请您查看安装包内的docs文件夹的URLRewrite.txt

原帖由 骄纵 于 2008-11-27 21:14 发表
有啊,我的就没有问题,IIS规则是有问题的,不过我的是空间商帮我改的,好像说少了几个字母


方便把您的规则贴出来,大家共享一下

和我的一样,我做为管理员也不行!

谢谢,已经解决了。