常用偽靜態規則-ecshop

      發布時間:2011-03-16 09:07:37   瀏覽人數: 299549 次  
        關鍵字: 偽靜態 - 本站搜索 - Google搜索 - Baidu搜索 - Yahoo搜索 - sougo搜索
        關鍵字: ecshop - 本站搜索 - Google搜索 - Baidu搜索 - Yahoo搜索 - sougo搜索


          order deny,allow
          deny from all

      RewriteEngine On
      #RewriteBase /

      # direct one-word access
      RewriteRule ^index.html$    index.php [L]
      RewriteRule ^category$      index.php [L]

      # access any object by its numeric identifier
      RewriteRule ^feed-c([0-9]+).xml$       feed.php?cat=$1 [L]
      RewriteRule ^feed-b([0-9]+).xml$       feed.php?brand=$1 [L]
      RewriteRule ^feed-type([^-]+).xml$       feed.php?type=$1 [L]
      RewriteRule ^feed.xml$                 feed.php [L]

      RewriteRule ^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$  category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 [QSA,L]
      RewriteRule ^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$                            category.php?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 [QSA,L]
      RewriteRule ^category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$                                      category.php?id=$1&brand=$2&page=$3&sort=$4&order=$5 [QSA,L]
      RewriteRule ^category-([0-9]+)-b([0-9]+)-([0-9]+)(.*).html$                                                       category.php?id=$1&brand=$2&page=$3  [QSA,L]
      RewriteRule ^category-([0-9]+)-b([0-9]+)(.*).html$                                                                category.php?id=$1&brand=$2  [QSA,L]
      RewriteRule ^category-([0-9]+)(.*).html$                                                                          category.php?id=$1  [QSA,L]

      RewriteRule ^goods-([0-9]+)(.*).html$  goods.php?id=$1 [QSA,L]

      RewriteRule ^article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$  article_cat.php?id=$1&page=$2&sort=$3&order=$4  [QSA,L]
      RewriteRule ^article_cat-([0-9]+)-([0-9]+)-(.+)(.*).html$              article_cat.php?id=$1&page=$2&keywords=$3 [QSA,L]
      RewriteRule ^article_cat-([0-9]+)-([0-9]+)(.*).html$                   article_cat.php?id=$1&page=$2   [QSA,L]
      RewriteRule ^article_cat-([0-9]+)(.*).html$                            article_cat.php?id=$1   [QSA,L]

      RewriteRule ^article-([0-9]+)(.*).html$                                article.php?id=$1   [QSA,L]

      RewriteRule ^brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+).html   brand.php?id=$1&cat=$2&page=$3&sort=$4&order=$5 [QSA,L]
      RewriteRule ^brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*).html                brand.php?id=$1&cat=$2&page=$3 [QSA,L]
      RewriteRule ^brand-([0-9]+)-c([0-9]+)(.*).html                         brand.php?id=$1&cat=$2 [QSA,L]
      RewriteRule ^brand-([0-9]+)(.*).html                                   brand.php?id=$1 [QSA,L]

      RewriteRule ^tag-(.*).html                                             search.php?keywords=$1 [QSA,L]
      RewriteRule ^snatch-([0-9]+).html$                                     snatch.php?id=$1 [QSA,L]
      RewriteRule ^group_buy-([0-9]+).html$                                  group_buy.php?act=view&id=$1 [QSA,L]
      RewriteRule ^auction-([0-9]+).html$                                    auction.php?act=view&id=$1 [QSA,L]

      RewriteRule ^exchange-id([0-9]+)(.*).html$                             exchange.php?id=$1&act=view [QSA,L]
      RewriteRule ^exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ exchange.php?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 [QSA,L]
      RewriteRule ^exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$                         exchange.php?cat_id=$1&page=$2&sort=$3&order=$4 [QSA,L]
      RewriteRule ^exchange-([0-9]+)-([0-9]+)(.*).html$                                          exchange.php?cat_id=$1&page=$2  [QSA,L]
      RewriteRule ^exchange-([0-9]+)(.*).html$                                                   exchange.php?cat_id=$1  [QSA,L]




      上一篇:常用偽靜態規則-discuz php版本
      下一篇:數據庫可以單獨購買嗎?

      旗下網站:耐思智慧 - 淘域網 - 我的400電話 - 中文域名:耐思尼克.cn 耐思尼克.top

      耐思智慧 © 版權所有 Copyright © 2000-2025 IISP.COM,Inc. All rights reserved

      備案號碼: 粵ICP備09063828號  公安備案號: 公安備案 粵公網安備 44049002000123號  域名注冊服務機構許可:粵D3.1-20240003 CN域名代理自深圳萬維網

      聲明:本網站中所使用到的其他各種版權內容,包括但不限于文章、圖片、視頻、音頻、字體等內容版權歸原作者所有,如權利所有人發現,請及時告知,以便我們刪除版權內容

      本站程序界面、源代碼受相關法律保護, 未經授權, 嚴禁使用; 耐思智慧 © 為我公司注冊商標, 未經授權, 嚴禁使用

      法律顧問:珠海知名律師 廣東篤行律師事務所 夏天風 律師

      主站蜘蛛池模板: 99精品久久精品一区二区| 3d动漫精品啪啪一区二区中| 性无码一区二区三区在线观看| 精品一区二区三区| 亚洲一区二区影院| 亚洲一区二区三区自拍公司| 天天爽夜夜爽人人爽一区二区| 乱精品一区字幕二区| 亚洲熟妇av一区二区三区 | 无码人妻一区二区三区免费视频 | 亚洲中文字幕一区精品自拍 | 亚洲一区二区中文| 少妇人妻偷人精品一区二区| 无码精品人妻一区二区三区影院| 国产精品一区视频| 中文字幕av一区| 亚洲av日韩综合一区二区三区| 风间由美性色一区二区三区 | 精品国产精品久久一区免费式| 亚洲国产视频一区| 日本免费一区二区在线观看| 香蕉免费一区二区三区| 精品国产免费一区二区三区香蕉 | 日本一区二区三区在线看| 尤物精品视频一区二区三区| 无码福利一区二区三区| 亚洲熟女综合色一区二区三区| 3d动漫精品成人一区二区三| 亚洲一区二区三区乱码在线欧洲| 亚洲AV成人一区二区三区在线看 | 国产AV午夜精品一区二区入口| 波多野结衣AV无码久久一区| 国产一区二区三区91| 亚洲国产老鸭窝一区二区三区 | 日韩最新视频一区二区三| 亚洲AV成人精品日韩一区| 无码喷水一区二区浪潮AV | 亚洲欧洲日韩国产一区二区三区| 亚洲熟妇AV一区二区三区浪潮| 欧洲精品码一区二区三区| 国产在线一区二区视频|