[伪静态]产品分类中不能翻页,请教解决,急!

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}&amp;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}&amp;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}&amp;page={R:2}&amp;sort={R:3}&amp;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}&amp;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}&amp;cat={R:2}&amp;page={R:3}&amp;sort={R:4}&amp;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}&amp;cat={R:2}&amp;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}&amp;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&amp;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}&amp;brand={R:2}&amp;price_min={R:3}&amp;price_max={R:4}&amp;filter_attr={R:5}

&amp;page={R:6}&amp;sort={R:7}&amp;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}&amp;brand={R:2}&amp;price_min={R:3}&amp;price_max={R:4}&amp;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}&amp;brand={R:2}&amp;page={R:3}&amp;sort={R:4}&amp;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}&amp;brand={R:2}&amp;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}&amp;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}&amp;brand={R:2}"/>
</rule>

</rules>
</rewrite>

</system.webServer>
</configuration>

回答:
模版问题,调整一下模版吧

这个会比较麻烦。
可以到开发交流区看下。
这个本身是另一套重写系统。(万网的主机啊,广告说支持重写,但是基本都是要自己写重写规则,不支持主流的重写规则)