【三瑞】团购168通用伪静态规则-Discuz教程下载

【三瑞】团购168通用伪静态规则

开通本站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. #tuan
  2. RewriteRule ^(.*)/tuan\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_tuan168&$3
  3. RewriteRule ^(.*)/tuan-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_tuan168&mod=list&tid=$2&did=$3&filter=$4&listmode=$5&$6
  4. RewriteRule ^(.*)/tuan-show-([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=sanree_tuan168&mod=show&tid=$2&$4
复制代码
httpd.conf
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteRule ^(.*)/tuan\.html\?*(.*)$ $1/plugin.php?id=sanree_tuan168&$2
  4. RewriteRule ^(.*)/tuan-index-(.+)-(.+)-(.+)-(.+)\.html\?*(.*)$ $1/plugin.php?id=sanree_tuan168&mod=list&tid=$2&did=$3&filter=$4&listmode=$5&$6
  5. RewriteRule ^(.*)/tuan-show-(.+)\.html\?*(.*)$ $1/plugin.php?id=sanree_tuan168&mod=show&tid=$2&$3
  6. </IfModule>
复制代码
.htAccess
  1. RewriteEngine On
  2. RewriteBase /
  3. #sanree_tuan168
  4. RewriteCond %{QUERY_STRING} ^(.*)$
  5. RewriteRule ^tuan\.html$ plugin.php?id=sanree_tuan168&%1
  6. RewriteCond %{QUERY_STRING} ^(.*)$
  7. RewriteRule ^tuan-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ plugin.php?id=sanree_tuan168&mod=list&tid=$1&did=$2&filter=$3&listmode=$4&%1
  8. RewriteCond %{QUERY_STRING} ^(.*)$
  9. RewriteRule ^tuan-show-([0-9]+)\.html$ plugin.php?id=sanree_tuan168&mod=show&tid=$1&%1
复制代码
Nginx.txt
  1. rewrite ^([^\.]*)/tuan\.html$ $1/plugin.php?id=sanree_tuan168 last;
  2. rewrite ^([^\.]*)/tuan-index-(.+)-(.+)-(.+)-(.+)\.html$ $1/plugin.php?id=sanree_tuan168&mod=list&tid=$2&did=$3&filter=$4&listmode=$5 last;
  3. rewrite ^([^\.]*)/tuan-show-(.+)\.html$ $1/plugin.php?id=sanree_tuan168&mod=show&tid=$2 last;
复制代码
Web.Config
  1.                 <rule name="sanree_tuan168_home">
  2.                         <match url="^(.*/)*tuan.html\?*(.*)[        Discuz_CODE_4        ]quot; />
  3.                         <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_tuan168&{R:2}" />
  4.                 </rule>               
  5.                
  6.                 <rule name="sanree_tuan168_cate">
  7.                         <match url="^(.*/)*tuan-index-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html\?*(.*)[        DISCUZ_CODE_4        ]quot; />
  8.                         <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_tuan168&mod=list&tid={R:2}&did={R:3}&filter={R:4}&listmode={R:5}&{R:6}" />
  9.                 </rule>        
  10.                
  11.                 <rule name="sanree_tuan168_item">
  12.                         <match url="^(.*/)*tuan-show-([0-9]+).html\?*(.*)[        DISCUZ_CODE_4        ]quot; />
  13.                         <action type="Rewrite" url="{R:1}/plugin.php\?id=sanree_tuan168&mod=show&tid={R:2}&{R:3}" />
  14.                 </rule>
复制代码

全部评论 0

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