使用伪静态为什么会有这么多404错误页啊
2016-07-07 15:17 来源:www.chinab4c.com 作者:ecshop专家
我用的是万网的G1主机 规则如下 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Goods" stopProcessing="true"> <match url="^goods-([0-9]+).html" /> <action type="Rewrite" url="goods.php?id={R:1}" /> </rule> <rule name="Feed" stopProcessing="true"> <match url="^feed.xml" /> <action type="Rewrite" url="feed.php"/> </rule> <rule name="Feed-C" stopProcessing="true"> <match url="^feed-c([0-9]+).xml" /> <action type="Rewrite" url="feed.php?cat={R:1}"/> </rule> <rule name="Feed-B" stopProcessing="true"> <match url="^feed-b([0-9]+).xml" /> <action type="Rewrite" url="feed.php?brand={R:1}"/> </rule> <rule name="Articles" stopProcessing="true"> <match url="^article-([0-9]+).html" /> <action type="Rewrite" url="article.php?id={R:1}"/> </rule> <rule name="Search" stopProcessing="true"> <match url="^tag-([_0-9a-z-]+).html" /> <action type="Rewrite" url="search.php?keywords={R:1}"/> </rule> <rule name="Snatch" stopProcessing="true"> <match url="^snatch-([0-9]+).html" /> <action type="Rewrite" url="snatch.php?id={R:1}"/> </rule> <rule name="Group_Buy" stopProcessing="true"> <match url="^group_buy-([0-9]+).html" /> <action type="Rewrite" url="group_buy.php?act=view&id={R:1}"/> </rule> <rule name="Auction" stopProcessing="true"> <match url="^auction-([0-9]+).html" /> <action type="Rewrite" url="auction.php?act=view&id={R:1}"/> </rule> <rule name="Brand1" stopProcessing="true"> <match url="^brand-([0-9]+).html" /> <action type="Rewrite" url="brand.php?id={R:1}"/> </rule> <rule name="Brand2" 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="Brand3" 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="Brand4" stopProcessing="true"> <match url="^brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([_0-9a-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="Cat1" stopProcessing="true"> <match url="^article_cat-([0-9]+).html" /> <action type="Rewrite" url="article_cat.php?id={R:1}"/> </rule> <rule name="Cat2" 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="Cat3" stopProcessing="true"> <match url="^article_cat-([0-9]+)-([0-9]+)-(.+)-([_0-9a-z-]+).html" /> <action type="Rewrite" url="article_cat.php?id={R:1}&page={R:2}&sort={R:3}&order={R:4}"/> </rule> <rule name="Category1" stopProcessing="true"> <match url="^category-([0-9]+).html" /> <action type="Rewrite" url="category.php?id={R:1}"/> </rule> <rule name="Category2" 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="Category3" 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="Category4" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([_0-9a-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="Category5" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([_0-9a-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}"/> </rule> <rule name="Category6" stopProcessing="true"> <match url="^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([_0-9a-z-]+)-([0-9]+)-(.+)-([_0-9a-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> </rules> </rewrite> </system.webServer> <system.web> <compilation debug="true" /> <authentication mode="Windows" /> </system.web> </configuration> |
回答:
都没人知道吗? 急啊 |
自己给自己吧贴顶起来 求答案! |
都没人知道这个问题吗? 在线求解啊! |
怀疑是不是没有完全生效。还是规则不是最新的。 |
最近更新
常用插件
- ecshop按分类筛选销售排行
ecshop按分类筛选销售排行...
- ecshop二次开发售后维修卡
插件介绍: 本插件是用于专门从事电子,信息,软件等售后服务关键比...
- ecshop快递发货单打印商品
ecshop快递发货单打印商品信息,大家都知道ecshop快递单打印的时候,只能...
- ecshop供应商插件免费下载
ecshop供应商插件免费下载...
- ecshop选择下单时间插件
ecshop选择下单时间插件主要是根据不同的下单配送要求,在ecshop购物车...
ecshop热门问答
ecshop热门资料
ecshop游览历史
ecshop盛付通
ecshop能够
ecshop客人
ecshopwin7
ecshopclothing 模块问题
ecshoptransports
ajaxecshop
ecshop在线调查
ecshop领货卡
ecshop新浪微博登录
ecshop成功率
ecshop窗户
ecshop后缀
ecshop弄错
ecshop程序错误
ecshopFPT
ecshop华夏名网
ecshop数据转移
ecshopGmail
ecshop求新
ecshop显示异常
ecshopdefined
ecshop好消息
ecshop分值
ecshop加密方式
ecshop验证失败
ecshop仪器
xunsearch
ecshop里加