【三瑞】品牌123 商业版 伪静态规则-Discuz教程下载

【三瑞】品牌123 商业版 伪静态规则

来自版块: Discuz教程发表于: 2016-2-25 21:34:51
43001
0
如本资源下载地址失效,请点击此处进行反馈
开通本站Svip会员,全站资源免费下
相关插件
【三瑞】团购168 商业版本 V1.004免费下载
【三瑞】品牌123 商业版 2.007最新版
价值230元的【三瑞】电话114 商业版 1.132支持X3.2
【三瑞】品牌123 商业版 2.007最新版
discuz插件【三瑞】123优惠券模块 1.005
价值666元的【三瑞】微商家we 商业版 V1.009 beta(全网独家)
discuz插件【三瑞】123优惠券模块 1.005

相关教程
【三瑞】123地图搜店伪静态规则
【三瑞】品牌123 商业版 静态规则
【三瑞】品牌123 - 地图搜店模块伪静态规则
【三瑞】团购168通用伪静态规则
【三瑞】品牌123—商讯模块伪静态规则


httpd.ini

  1. RewriteRule ^(.*)/brand\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_brand&$3
  2. RewriteRule ^(.*)/brand-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_brand&mod=list&tid=$2&did=$3&filter=$4&listmode=$5&$6
  3. RewriteRule ^(.*)/brand-(.+)-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_brand&mod=$2&tid=$3&$5
  4. RewriteRule ^(.*)/b/([a-z0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_brand&mod=brandno&tid=$2&$4
复制代码
.htAccess

  1. RewriteCond %{QUERY_STRING} ^(.*)$
  2. RewriteRule ^brand\.html$ plugin.php?id=sanree_brand&%1
  3. RewriteCond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^brand-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ plugin.php?id=sanree_brand&mod=list&tid=$1&did=$2&filter=$3&listmode=$4&%1
  5. RewriteCond %{QUERY_STRING} ^(.*)$
  6. RewriteRule ^brand-(.+)-([0-9]+)\.html$ plugin.php?id=sanree_brand&mod=$1&tid=$2&%1
  7. RewriteCond %{QUERY_STRING} ^(.*)$
  8. RewriteRule ^b/([a-z0-9]+)\.html$ $1/plugin.php?id=sanree_brand&mod=brandno&tid=$1&%1
复制代码
httpd.conf

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteRule ^(.*)/brand\.html\?*(.*)$ $1/plugin.php?id=sanree_brand&$2
  4. RewriteRule ^(.*)/brand-index-(.+)-(.+)-(.+)-(.+)\.html\?*(.*)$ $1/plugin.php?id=sanree_brand&mod=list&tid=$2&did=$3&filter=$4&listmode=$5&$6
  5. RewriteRule ^(.*)/brand-(.+)-(.+)\.html\?*(.*)$ $1/plugin.php?id=sanree_brand&mod=$2&tid=$3&$5
  6. RewriteRule ^(.*)/b/(.+)\.html\?*(.*)$ $1/plugin.php?id=sanree_brand&mod=brandno&tid=$2&$4
  7. </IfModule>
复制代码
Web.Config

  1. <rule name="sanree_brand_home">
  2. <match url="^(.*/)*brand.html\?*(.*)[        Discuz_CODE_3        ]quot; />
  3. <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_brand&{R:2}" />
  4. </rule>        
  5. <rule name="sanree_brand_cate">
  6. <match url="^(.*/)*brand-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html\?*(.*)[        DISCUZ_CODE_3        ]quot; />
  7. <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_brand&mod=list&tid={R:2}&did={R:3}&filter={R:4}&listmode={R:5}&{R:6}" />
  8. </rule>        
  9. <rule name="sanree_brand_item">
  10. <match url="^(.*/)*brand-(.+)-([0-9]+).html\?*(.*)[        DISCUZ_CODE_3        ]quot; />
  11. <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_brand&mod={R:2}&tid={R:3}&{R:4}" />
  12. </rule>        
  13. <rule name="sanree_brand_short">
  14. <match url="^(.*/)*b/([0-9]+).html\?*(.*)[        DISCUZ_CODE_3        ]quot; />
  15. <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_brand&mod=brandno&tid={R:2}&{R:3}" />
  16. </rule>
复制代码
Nginx伪静态规则:

  1. rewrite ^([^\.]*)/brand\.html$ $1/plugin.php?id=sanree_brand last;
  2. rewrite ^([^\.]*)/brand-index-(.+)-(.+)-(.+)-(.+)\.html$ $1/plugin.php?id=sanree_brand&mod=list&tid=$2&did=$3&filter=$4&listmode=$5 last;
  3. rewrite ^([^\.]*)/brand-(.+)-(.+)\.html$ $1/plugin.php?id=sanree_brand&mod=$2&tid=$3 last;
  4. rewrite ^([^\.]*)/b/(.+)\.html$ $1/plugin.php?id=sanree_brand&mod=brandno&tid=$2 last;
复制代码

全部评论 0

您需要登录后才可以回帖 立即登录
登录
0
0
0
返回顶部