|
这个伪静态规则是适用于IIS服务器上的!这个本人手写,亲自测试,绝对可用!不会的可以直接下载附件解压上传到你的商城根目录!
- [ISAPI_Rewrite]
- # ECSHOP
- RewriteRule /index.html$ /index.php [I]
- RewriteRule /group_buy.html$ /group_buy.php [I]
- RewriteRule /activity.html$ /activity.php [I]
- RewriteRule /auction.html$ /auction.php [I]
- RewriteRule /snatch.html$ /snatch.php [I]
- RewriteRule /exchange.html$ /exchange.php [I]
- RewriteRule /user.html$ /user.php [I]
- RewriteRule /flow.html$ /flow.php [I]
- RewriteRule /pick_out.html$ /pick_out.php [I]
- RewriteRule /tag_cloud.html$ /tag_cloud.php [I]
- RewriteRule /quotation.html$ /quotation.php [I]
- RewriteRule /myship.html$ /myship.php [I]
- RewriteRule /wholesale.html$ /wholesale.php [I]
- RewriteRule /message.html$ /message.php [I]
- RewriteRule /ecshop/feed.xml$ /feed.php [I]
- 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([0-9]+).xml$ $1/feed\.php\?type=article_cat$2
- RewriteRule ^(.*)/feed-c([0-9]+).xml$ $1/feed\.php\?cat=$2
- RewriteRule ^(.*)/feed-b([0-9]+).xml$ $1/feed\.php\?brand=$2
- RewriteRule ^(.*)/feed.xml$ $1/feed\.php
- RewriteRule /ecshop/flow.html$ /flow.php [I]
- RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
- RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 [I]
- #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 [I]
- 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 [I]
- #RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2&page=$3 [I]
- RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4 [I]
- #RewriteRule /ecshop/category-([0-9]+)-b([0-9]+)(.*)\.html$ /ecshop/category.php?id=$1&brand=$2 [I]
- RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3 [I]
- #RewriteRule /ecshop/category-([0-9]+)(.*)\.html$ /ecshop/category.php?id=$1 [I]
- RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2 [I]
- #RewriteRule /ecshop/goods-([0-9]+)(.*)\.html$ /ecshop/goods.php?id=$1 [I]
- 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 [I]
- RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5 [I]
- #RewriteRule /ecshop/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ /ecshop/article_cat.php?id=$1&page=$2 [I]
- RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3 [I]
- #RewriteRule /ecshop/article_cat-([0-9]+)(.*)\.html$ /ecshop/article_cat.php?id=$1 [I]
- RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2 [I]
- #RewriteRule /ecshop/article-([0-9]+)(.*)\.html$ /ecshop/article.php?id=$1 [I]
- RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$ $1/article\.php\?id=$2 [I]
- #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 [I]
- 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 [I]
- #RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$ /ecshop/brand.php?id=$1&cat=$2&page=$3 [I]
- RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3&page=$4 [I]
- #RewriteRule /ecshop/brand-([0-9]+)-c([0-9]+)(.*)\.html$ /ecshop/brand.php?id=$1&cat=$2 [I]
- RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3 [I]
- #RewriteRule /ecshop/brand-([0-9]+)(.*)\.html$ /ecshop/brand.php?id=$1 [I]
- RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2 [I]
- #RewriteRule /ecshop/tag-(.*)\.html$ /ecshop/search.php?keywords=$1 [I]
- RewriteRule ^(.*)/tag-(.*)\.html$ $1/search\.php\?keywords=$2 [I]
- RewriteRule ^(.*)/group_buy-([0-9]+)(.*)\.html$ $1/group_buy\.php\?act=view&id=$2
- RewriteRule ^(.*)/group_buy_page-([0-9]+)(.*)\.html$ $1/group_buy\.php\?act=list&page=$2
复制代码
httpd.rar
(890 Bytes, 下载次数: 22)
|
评分
-
查看全部评分
|