[伪静态]产品分类中不能翻页,请教解决,急!
2016-07-07 15:22 来源:www.chinab4c.com 作者:ecshop专家
网址:http://www.kuaihui.net QQ :463981967 环境: 1.万网G1主机,WIN2008系统 2.URL重写文件为WEB.CONFIG,以下我写规则贴出来 WEB.CONFIG内容如下,大家帮忙找找问题,感谢了!!! <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="index.html" /> <add value="index.htm" /> <add value="default.html" /> <add value="default.htm" /> <add value="index.asp" /> <add value="default.asp" /> <add value="index.aspx" /> <add value="default.aspx" /> <add value="default.php" /> <add value="index.pl" /> <add value="default.pl" /> <add value="index.shtml" /> <add value="index.shtm" /> <add value="default.shtml" /> <add value="default.shtm" /> </files> </defaultDocument> <rewrite> <rules> <rule name="rule1" stopProcessing="true"> <match url="^index.html" /> <action type="Rewrite" url="index.php"/> </rule> <rule name="rule2" stopProcessing="true"> <match url="^feed.html" /> <action type="Rewrite" url="feed.php"/> </rule> <rule name="rule3" stopProcessing="true"> <match url="^goods-([0-9]+).html" /> <action type="Rewrite" url="goods.php?id={R:1}"/> </rule> <rule name="rule4" stopProcessing="true"> <match url="^category-([0-9]+).html" /> <action type="Rewrite" url="category.php?id={R:1}"/> </rule> <rule name="rule5" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)(.*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}"/> </rule> <rule name="rule6" stopProcessing="true"> <match url="^brand-([0-9]+)-c([0-9]+).html" /> <action type="Rewrite" url="brand.php?id={R:1}&cat={R:2}"/> </rule> <rule name="rule9" stopProcessing="true"> <match url="^article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html" /> <action type="Rewrite" url="article_cat.php?id={R:1}&page={R:2}&sort={R:3}&order={R:4}"/> </rule> <rule name="rule10" stopProcessing="true"> <match url="^article_cat-([0-9]+)-([0-9]+)(.*).html" /> <action type="Rewrite" url="article_cat.php?id={R:1}&page={R:2}"/> </rule> <rule name="rule11" stopProcessing="true"> <match url="^article_cat-([0-9]+)(.*).html" /> <action type="Rewrite" url="article_cat.php?id={R:1}"/> </rule> <rule name="rule12" stopProcessing="true"> <match url="^article-([0-9]+)(.*).html" /> <action type="Rewrite" url="article.php?id={R:1}"/> </rule> <rule name="rule13" stopProcessing="true"> <match url="^brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+).html" /> <action type="Rewrite" url="brand.php?id={R:1}&cat={R:2}&page={R:3}&sort={R:4}&order={R:5}"/> </rule> <rule name="rule14" stopProcessing="true"> <match url="^brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*).html" /> <action type="Rewrite" url="brand.php?id={R:1}&cat={R:2}&page={R:3}"/> </rule> <rule name="rule15" stopProcessing="true"> <match url="^brand-([0-9]+)-c([0-9]+)(.*)\.html" /> <action type="Rewrite" url="brand.php?id={R:1}&cat={R:2}"/> </rule> <rule name="rule16" stopProcessing="true"> <match url="^brand-([0-9]+)(.*)\.html" /> <action type="Rewrite" url="brand.php?id={R:1}"/> </rule> <rule name="rule17" stopProcessing="true"> <match url="^tag-(.*).html" /> <action type="Rewrite" url="search.php?keywords={R:1}"/> </rule> <rule name="rule18" stopProcessing="true"> <match url="^snatch-([0-9]+).html" /> <action type="Rewrite" url="snatch.php?id={R:1}"/> </rule> <rule name="rule19" stopProcessing="true"> <match url="^group_buy-([0-9]+)\.html" /> <action type="Rewrite" url="group_buy.php?act=view&id={R:1}"/> </rule> <rule name="rule22" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}&price_min={R:3}&price_max={R:4}&filter_attr={R:5} &page={R:6}&sort={R:7}&order={R:8}"/> </rule> <rule name="rule23" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}&price_min={R:3}&price_max={R:4}&filter_attr={R:5}"/> </rule> <rule name="rule24" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}&page={R:3}&sort={R:4}&order={R:5}"/> </rule> <rule name="rule25" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-([0-9]+)(.*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}&page={R:3}"/> </rule> <rule name="rule26" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)(.*).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}"/> </rule> <rule name="rule27" stopProcessing="true"> <match url="^category-([0-9]+)(.*).html" /> <action type="Rewrite" url="category\.php\?id={R:1}"/> </rule> <rule name="rule28" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+).html" /> <action type="Rewrite" url="category.php?id={R:1}&brand={R:2}"/> </rule> </rules> </rewrite> </system.webServer> </configuration> |
回答:
模版问题,调整一下模版吧 |
这个会比较麻烦。 可以到开发交流区看下。 这个本身是另一套重写系统。(万网的主机啊,广告说支持重写,但是基本都是要自己写重写规则,不支持主流的重写规则) |
最近更新
常用插件
- ecshop二次开发售后维修卡
插件介绍: 本插件是用于专门从事电子,信息,软件等售后服务关键比...
- ecshop按分类筛选销售排行
ecshop按分类筛选销售排行...
- ecshop供应商插件免费下载
ecshop供应商插件免费下载...
- ecshop选择下单时间插件
ecshop选择下单时间插件主要是根据不同的下单配送要求,在ecshop购物车...
- ecshop快递发货单打印商品
ecshop快递发货单打印商品信息,大家都知道ecshop快递单打印的时候,只能...
ecshop热门问答
ecshop热门资料
ecshop增加版块
ecshop货物
ecshop外派订单
ecshopGOOGLE CHECKOUT
ecshopurl目录结构
ecshop所有品牌
ecshopECSHOP支付宝接口
ecshop选项卡
ecshop淘宝商品
ecshop百度地图
ecshop正式版
ecshop发货单号是
ecshop感激不尽
ecshopMTV
ecshop后台数据库
ecshop消费积分
ecshop韩语
ecshop注释
ecshopGocnBuy
ecshop上當
ecshop安卓
ecshop评语
ecshop订单号规则
ecshop流程图
ecshop邮箱
ecshopie7
ecshop百度有啊
ecshop退订
ecshop华文
ecshop附近