常用偽靜態規則-ecshop

      發布時間:2011-03-16 09:07:37   瀏覽人數: 299267 次  
        關鍵字: 偽靜態 - 本站搜索 - 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域名代理自深圳萬維網

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

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

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

      主站蜘蛛池模板: 中文字幕一区二区日产乱码| 天堂va视频一区二区| 亚洲国产成人精品久久久国产成人一区二区三区综 | 国产AV午夜精品一区二区入口 | 中文人妻av高清一区二区| 无码人妻精品一区二区三区99性 | 国产成人无码一区二区在线播放 | 国产香蕉一区二区三区在线视频 | 日韩A无码AV一区二区三区| 理论亚洲区美一区二区三区| 骚片AV蜜桃精品一区| 3d动漫精品啪啪一区二区中| 99久久精品午夜一区二区| 无码国产精成人午夜视频一区二区| 麻豆国产一区二区在线观看| 精品无人乱码一区二区三区| 国产成人高清视频一区二区 | 久久久久人妻一区精品性色av | 四虎在线观看一区二区 | 伊人久久精品无码av一区| 无码人妻一区二区三区免费视频| 伊人久久大香线蕉av一区| 国模无码人体一区二区| 日韩精品一区二区三区老鸭窝| 国产精品主播一区二区| 精品国产一区二区三区麻豆| 日韩人妻一区二区三区蜜桃视频| 亚洲一区二区三区电影| 亚洲一区二区三区精品视频| 97久久精品无码一区二区天美 | 精品一区二区三区3d动漫| 国产福利视频一区二区| 久久99国产精一区二区三区| 国产精品一区视频| 韩国福利视频一区二区| 久久无码精品一区二区三区| 国产亚洲一区二区三区在线观看| 日韩精品无码一区二区三区不卡 | 久久精品免费一区二区三区| 国产成人无码精品一区二区三区 | 无码精品黑人一区二区三区|