人人人妻人人人妻人人人,99精品国产综合久久久久五月天 ,欧美白人最猛性XXXXX,日韩AV无码免费播放

News新聞

業(yè)界新聞動(dòng)態(tài)、技術(shù)前沿
Who are we?

您的位置:首頁(yè)      運(yùn)營(yíng)推廣      建設(shè)商城網(wǎng)站ecshop如何開啟偽靜態(tài)

建設(shè)商城網(wǎng)站ecshop如何開啟偽靜態(tài)

標(biāo)簽: 發(fā)布日期:2016-11-10 23:06:00 1651
ecshop是國(guó)內(nèi)一款比較流行的商城網(wǎng)站建設(shè)系統(tǒng),它擁有比較完善的電子商務(wù)交易流程,其使用PHP+網(wǎng)站建設(shè)者的喜愛。
 
商城網(wǎng)站也需要網(wǎng)站優(yōu)化,開啟偽靜態(tài)是個(gè)比較好的方法。
 
ECSHOP的偽靜態(tài)開啟比較簡(jiǎn)單,如下步驟所示
 
點(diǎn)擊“商店設(shè)置”,然后再點(diǎn)擊“基本設(shè)置”選項(xiàng)卡,找到“URL重寫”,選擇簡(jiǎn)單重寫或者復(fù)雜重寫
建設(shè)商城網(wǎng)站ecshop如何開啟偽靜態(tài)
復(fù)雜rewrite和簡(jiǎn)單rewrite的區(qū)別 復(fù)雜重寫會(huì)把分類名稱和商品名稱寫到 URL里面,會(huì)造成URL比較長(zhǎng),但是搜索引擎是認(rèn)識(shí)的,相對(duì)來(lái)說(shuō)復(fù)雜重寫更好點(diǎn)
 
附ecshop的httpd.ini 偽靜態(tài)規(guī)則
[ISAPI_Rewrite]
 
# 為了確保重寫規(guī)則不影響服務(wù)器上的其他站點(diǎn)
# 請(qǐng)將下面的語(yǔ)句前的#號(hào)去掉,并將(?:www\.)?site1\.com改為商店所在域名
 
#RewriteCond %{HTTP:Host} (?:www\.)?ledaokj\.com
 
RewriteRule ^(.*)/index.html$   $1/index\.php     [I]
RewriteRule ^(.*)/category$     $1/index\.php     [I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$     $1/feed\.php\?cat=$2    [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$     $1/feed\.php\?brand=$2  [I]
RewriteRule ^(.*)/feed-type([^-]+)\.xml$  $1/feed\.php\?type=$2   [I]
RewriteRule ^(.*)/feed.xml$     $1/feed\.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 ^(.*)/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 ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$   $1/category\.php\?id=$2&brand=$3&page=$4   [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$    $1/category\.php\?id=$2&brand=$3  [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$  $1/category\.php\?id=$2   [I]
 
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)\.html(.*)$    $1/category\.php\?$4&id=$2&brand=$3
 
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$   $1/goods\.php\?id=$2    [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 ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)(.*)\.html$  $1/article_cat\.php\?id=$1&page=$2&keywords=$3   [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$   $1/article_cat\.php\?id=$2&page=$3   [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$     $1/article_cat\.php\?id=$2    [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$      $1/article\.php\?id=$2     [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 ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html   $1/brand\.php\?id=$2&cat=$3&page=$4     [I]
 
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)\.html(.*)$    $1/brand\.php\?$4&id=$2&cat=$3     [I]
 
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html     $1/brand\.php\?id=$2&cat=$3      [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html     $1/brand\.php\?id=$2       [I]
RewriteRule ^(.*)/tag-(.*)\.html     $1/search\.php\?keywords=$2      [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$     $1/snatch\.php\?id=$2      [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$    $1/group_buy\.php\?act=view&id=$2    [I]
RewriteRule ^(.*)/auction-([0-9]+)\.html$    $1/auction\.php\?act=view&id=$2  [I]
RewriteRule ^(.*)/exchange-id([0-9]+)(.*)\.html$      $1/exchange\.php\?id=$2&act=view     [I]
RewriteRule ^(.*)/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&integral_min=$3&integral_max=$4&page=$5&sort=$6&order=$7 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$     $1/exchange\.php\?cat_id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)(.*)\.html$    $1/exchange\.php\?cat_id=$2&page=$3  [I]
RewriteRule ^(.*)/exchange-([0-9]+)(.*)\.html$   $1/exchange\.php\?cat_id=$2  [I]
 
服務(wù)器端開啟偽靜態(tài),可以查看以下文章《iis6.0如何開啟偽靜態(tài)》、《IIS7如何開啟偽靜態(tài)
 
樂(lè)道網(wǎng)絡(luò)科技-深圳網(wǎng)站 建設(shè)專家原創(chuàng),轉(zhuǎn)載請(qǐng)保留本文網(wǎng)址,否則必追究版權(quán)責(zé)任!