alvin辉 发表于 2010-8-19 11:22:56

迄今为止最完美的ECSHOP伪静态规则适合2.7.2和2.7.1版本

这个伪静态规则是适用于IIS服务器上的!这个本人手写,亲自测试,绝对可用!不会的可以直接下载附件解压上传到你的商城根目录!

# ECSHOP
RewriteRule /index.html$ /index.php
RewriteRule /group_buy.html$ /group_buy.php
RewriteRule /activity.html$ /activity.php
RewriteRule /auction.html$ /auction.php
RewriteRule /snatch.html$ /snatch.php
RewriteRule /exchange.html$ /exchange.php
RewriteRule /user.html$ /user.php
RewriteRule /flow.html$ /flow.php
RewriteRule /pick_out.html$ /pick_out.php
RewriteRule /tag_cloud.html$ /tag_cloud.php
RewriteRule /quotation.html$ /quotation.php
RewriteRule /myship.html$ /myship.php
RewriteRule /wholesale.html$ /wholesale.php
RewriteRule /message.html$ /message.php
RewriteRule /ecshop/feed.xml$ /feed.php
RewriteRule ^(.*)/feed-typeactivity.xml$ $1/feed\.php\?type=activity
RewriteRule ^(.*)/feed-typeauction.xml$ $1/feed\.php\?type=auction
RewriteRule ^(.*)/feed-typeexchange.xml$ $1/feed\.php\?type=exchange
RewriteRule ^(.*)/feed-typegroup_buy.xml$ $1/feed\.php\?type=group_buy
RewriteRule ^(.*)/feed-typearticle_cat(+).xml$ $1/feed\.php\?type=article_cat$2
RewriteRule ^(.*)/feed-c(+).xml$ $1/feed\.php\?cat=$2
RewriteRule ^(.*)/feed-b(+).xml$ $1/feed\.php\?brand=$2
RewriteRule ^(.*)/feed.xml$ $1/feed\.php
RewriteRule /ecshop/flow.html$ /flow.php
RewriteRule ^(.*)/category-(+)-b(+)-min(+)-max(+)-attr([^-]*)-(+)-(.+)-(+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9
RewriteRule ^(.*)/category-(+)-b(+)-min(+)-max(+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6
#RewriteRule /ecshop/category-(+)-b(+)-(+)-(.+)-(+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5
RewriteRule ^(.*)/category-(+)-b(+)-(+)-(.+)-(+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6
#RewriteRule /ecshop/category-(+)-b(+)-(+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2&page=$3
RewriteRule ^(.*)/category-(+)-b(+)-(+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4
#RewriteRule /ecshop/category-(+)-b(+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2
RewriteRule ^(.*)/category-(+)-b(+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3
#RewriteRule /ecshop/category-(+)(.*)\.html$ /ecshop/category.php?id=$1
RewriteRule ^(.*)/category-(+)(.*)\.html$ $1/category\.php\?id=$2
#RewriteRule /ecshop/goods-(+)(.*)\.html$ /ecshop/goods.php?id=$1
RewriteRule ^(.*)/goods-(+)(.*)\.html$ $1/goods\.php\?id=$2
#RewriteRule /ecshop/article_cat-(+)-(+)-(.+)-(+)(.*)\.html$ /ecshop/article_cat.php?id=$1&page=$2&sort=$3&order=$4
RewriteRule ^(.*)/article_cat-(+)-(+)-(.+)-(+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5
#RewriteRule /ecshop/article_cat-(+)-(+)(.*)\.html$ /ecshop/article_cat.php?id=$1&page=$2
RewriteRule ^(.*)/article_cat-(+)-(+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3
#RewriteRule /ecshop/article_cat-(+)(.*)\.html$ /ecshop/article_cat.php?id=$1
RewriteRule ^(.*)/article_cat-(+)(.*)\.html$ $1/article_cat\.php\?id=$2
#RewriteRule /ecshop/article-(+)(.*)\.html$ /ecshop/article.php?id=$1
RewriteRule ^(.*)/article-(+)(.*)\.html$ $1/article\.php\?id=$2
#RewriteRule /ecshop/brand-(+)-c(+)-(+)-(.+)-(+)\.html$ /ecshop/brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5
RewriteRule ^(.*)/brand-(+)-c(+)-(+)-(.+)-(+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6
#RewriteRule /ecshop/brand-(+)-c(+)-(+)(.*)\.html$ /ecshop/brand.php?id=$1&cat=$2&page=$3
RewriteRule ^(.*)/brand-(+)-c(+)-(+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3&page=$4
#RewriteRule /ecshop/brand-(+)-c(+)(.*)\.html$ /ecshop/brand.php?id=$1&cat=$2
RewriteRule ^(.*)/brand-(+)-c(+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3
#RewriteRule /ecshop/brand-(+)(.*)\.html$ /ecshop/brand.php?id=$1
RewriteRule ^(.*)/brand-(+)(.*)\.html$ $1/brand\.php\?id=$2
#RewriteRule /ecshop/tag-(.*)\.html$ /ecshop/search.php?keywords=$1
RewriteRule ^(.*)/tag-(.*)\.html$ $1/search\.php\?keywords=$2
RewriteRule ^(.*)/group_buy-(+)(.*)\.html$ $1/group_buy\.php\?act=view&id=$2
RewriteRule ^(.*)/group_buy_page-(+)(.*)\.html$ $1/group_buy\.php\?act=list&page=$2


game2000 发表于 2010-8-19 22:29:13

楼主有没有WP的?IIS6下的静态配置?

janny82 发表于 2010-8-20 08:34:12

很好狠强大的说楼主写的规则不错,支持了!谢谢!

alvin辉 发表于 2010-8-20 20:38:44

回复 2# game2000


    这个就是IIS6下的规则啊!

game2000 发表于 2010-8-22 17:32:45

回复game2000


    这个就是IIS6下的规则啊!
alvin辉 发表于 2010-8-20 20:38 http://bbs.sunwy.org/images/common/back.gif
wordpress?BLOG的一种.另这个规则和DZ的有冲突。

死鱼 发表于 2011-1-23 23:07:43

好东西 手下了;P;P;P;P:lol好东西 手下了;P;P;P;P:lol好东西 手下了;P;P;P;P:lol

死鱼 发表于 2011-1-23 23:15:37

别处都找不到哈哈 终于找到你了 赞一个

lianhe_soft 发表于 2011-1-29 16:46:19

好,
支持一下
支持一下
好,
支持一下
支持一下

mjj1949 发表于 2011-3-13 20:09:33

应该有用下载试试
应该有用下载试试
应该有用下载试试

yhgfire 发表于 2011-3-17 13:58:18

很不错,可是太贵了,吧,很不错,可是太贵了,吧,
页: [1] 2
查看完整版本: 迄今为止最完美的ECSHOP伪静态规则适合2.7.2和2.7.1版本