相關(guān)關(guān)鍵詞
關(guān)于我們
最新文章
- 手工麻質(zhì)服裝網(wǎng)站可以通過(guò)時(shí)尚博主合作提高流量嗎?同行都是怎么做的?
- 手工石頭畫網(wǎng)站流量的增長(zhǎng)依靠創(chuàng)意主題嗎?同行都是怎么做的?
- 手工柳編花籃網(wǎng)站的流量和花藝市場(chǎng)熱度有關(guān)嗎?同行都是怎么做的?
- 手工羊毛氈鞋墊網(wǎng)站流量少,是缺乏用戶體驗(yàn)分享導(dǎo)致的嗎?同行都是怎么做的?
- 手工麥稈剪貼畫網(wǎng)站的流量和鄉(xiāng)村旅游發(fā)展有關(guān)聯(lián)嗎?同行都是怎么做的?
- 手工陶瓷茶具網(wǎng)站怎樣借助茶文化活動(dòng)引流?同行都是怎么做的?
- 手工竹簾畫網(wǎng)站流量的提高需要靠名師作品展示嗎?同行都是怎么做的?
- 手工棉麻布藝網(wǎng)站能通過(guò)線上直播制作增加流量嗎?同行都是怎么做的?
- 手工木筷網(wǎng)站的流量提升依賴品牌形象塑造嗎?同行都是怎么做的?
- 手工羽毛扇網(wǎng)站如何憑借傳統(tǒng)工藝傳承擴(kuò)大流量?同行都是怎么做的?
建設(shè)商城網(wǎng)站ecshop如何開啟偽靜態(tài)
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ù)雜重寫

復(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é)任!
相關(guān)文章
- 談?wù)劄楹稳缃竦男抡驹絹?lái)越不受百度歡迎了
- 網(wǎng)站優(yōu)化策略:關(guān)鍵不是技術(shù),而是人的思維
- 網(wǎng)站優(yōu)化:盤點(diǎn)影響搜索引擎排名的站外因素
- 網(wǎng)站優(yōu)化:盤點(diǎn)影響搜索引擎排名的站內(nèi)因素
- 營(yíng)銷案例:向宜家家私學(xué)習(xí)體驗(yàn)式營(yíng)銷
- 大型網(wǎng)站SEO優(yōu)化實(shí)踐
- 如何運(yùn)營(yíng)微信公眾平臺(tái)經(jīng)驗(yàn)之談
- 2013年百度搜索結(jié)果的進(jìn)階
- 美麗說(shuō)網(wǎng)站SEO解析——美麗說(shuō)為什么做淘寶客這么牛
- 關(guān)于百度快照抓取不全案例分析