比較完美的ECSHOP偽靜態(tài)規(guī)則適合2.7.2和2.7.1版本
[重要通告]如您遇疑難雜癥,本站支持知識(shí)付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!
這個(gè)偽靜態(tài)規(guī)則是適用于IIS服務(wù)器上的!
親自測(cè)試,絕對(duì)可用!
下載附件解壓上傳到你的商城根目錄!
[code]
[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]
[/code]
(以上只是部分,更加詳細(xì)的請(qǐng)下載附件,只針對(duì)IIS服務(wù)器版)
點(diǎn)擊下載此文件
問(wèn)題未解決?付費(fèi)解決問(wèn)題加Q或微信 2589053300 (即Q號(hào)又微信號(hào))右上方掃一掃可加博主微信
所寫(xiě)所說(shuō),是心之所感,思之所悟,行之所得;文當(dāng)無(wú)敷衍,落筆求簡(jiǎn)潔。 以所舍,求所獲;有所依,方所成!
哈哈哈