忘记密码?

一键登录

草根吧源码论坛

55625好店(黄金版)最新伪静态规则 (新增IIS7、IIS8规则)

查看: 1551|回复: 21

55625好店(黄金版)最新伪静态规则 (新增IIS7、IIS8规则)

[复制链接]

407

主题

2814

热度

2167

贡献

草根总版主

Rank: 8Rank: 8

联盟成员

发表于 2015-1-12 14:27:07 | 显示全部楼层 |阅读模式 | 百度  360  谷歌 
分享到:
本规则将配合好店最新版去使用,最新版已经在后台新增了列表静态开启功能,只有添加了规则才可以使用,否则将出现错误。

55625好店(黄金版) 好店 V4.51 价值499.9元
下载地址:
游客,如果您要查看本帖隐藏内容请回复

---------------------------------------------------------------------------------------------------
Apache Web Server(独立主机用户)

  1. RewriteCond %{QUERY_STRING} ^(.*)$
  2. RewriteRule ^(.*)/haodian\.html$ $1/plugin.php?id=dz55625_haodian:haodian
  3. RewriteCond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^(.*)/haodian_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&sid=$2
  5. RewriteCond %{QUERY_STRING} ^(.*)$
  6. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3
  7. RewriteCond %{QUERY_STRING} ^(.*)$
  8. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5
  9. RewriteCond %{QUERY_STRING} ^(.*)$
  10. RewriteRule ^(.*)/haodian_add\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=add
  11. RewriteCond %{QUERY_STRING} ^(.*)$
  12. RewriteRule ^(.*)/haodian_user\.html$ $1/plugin.php?id=dz55625_haodian:haodian_user
  13. RewriteCond %{QUERY_STRING} ^(.*)$
  14. RewriteRule ^(.*)/haodian_vi([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2
  15. RewriteCond %{QUERY_STRING} ^(.*)$
  16. RewriteRule ^(.*)/haodian_vn([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&sid=$2
  17. RewriteCond %{QUERY_STRING} ^(.*)$
  18. RewriteRule ^(.*)/haodian_([0-9]+)_vn([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&nw=$2&sid=$3
  19. RewriteCond %{QUERY_STRING} ^(.*)$
  20. RewriteRule ^(.*)/haodian_vp([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=listpic&sid=$2
  21. RewriteCond %{QUERY_STRING} ^(.*)$
  22. RewriteRule ^(.*)/haodian_vy([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid=$2
  23. RewriteCond %{QUERY_STRING} ^(.*)$
  24. RewriteRule ^(.*)/haodian_vs([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sid=$2
  25. RewriteCond %{QUERY_STRING} ^(.*)$
  26. RewriteRule ^(.*)/haodian_([0-9]+)_vs([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sp=$2&sid=$3
  27. RewriteCond %{QUERY_STRING} ^(.*)$
  28. RewriteRule ^(.*)/haodian_([0-9]+)_books\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2
  29. RewriteCond %{QUERY_STRING} ^(.*)$
  30. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&px=d
  31. RewriteCond %{QUERY_STRING} ^(.*)$
  32. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&ps=f
  33. RewriteCond %{QUERY_STRING} ^(.*)$
  34. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=1
  35. RewriteCond %{QUERY_STRING} ^(.*)$
  36. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=2
  37. RewriteCond %{QUERY_STRING} ^(.*)$
  38. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=3
  39. RewriteCond %{QUERY_STRING} ^(.*)$
  40. RewriteRule ^(.*)/haodian_about_uid_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian_ulist&mod=list&uid=$2
  41. RewriteCond %{QUERY_STRING} ^(.*)$
  42. RewriteRule ^(.*)/haodian_map\.html$ $1/plugin.php?id=dz55625_haodian:baidu_map_start
  43. RewriteCond %{QUERY_STRING} ^(.*)$
  44. RewriteRule ^(.*)/haodian_coupon\.html$ $1/plugin.php?id=dz55625_haodian_coupon:coupon_sjcard
  45. #20130815新增规则
  46. RewriteCond %{QUERY_STRING} ^(.*)$
  47. RewriteRule ^(.*)/haodian_zizhu\.html$ $1/plugin.php?id=dz55625_haodian:haodian_user&p=zizhu
  48. #20140814新增规则
  49. RewriteCond %{QUERY_STRING} ^(.*)$
  50. RewriteRule ^(.*)/haodian_vc([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:vipcard&p=membercard&sid=$1
  51. #20140816新增规则
  52. RewriteCond %{QUERY_STRING} ^(.*)$
  53. RewriteRule ^(.*)/dian\.html$ $1/plugin.php?id=dz55625_haodian_merchant:index
  54. RewriteCond %{QUERY_STRING} ^(.*)$
  55. RewriteRule ^(.*)/news\.html$ $1/plugin.php?id=dz55625_haodian_twice:index
  56. RewriteCond %{QUERY_STRING} ^(.*)$
  57. RewriteRule ^(.*)/shop\.html$ $1/plugin.php?id=dz55625_haodian_goods:index
  58. RewriteCond %{QUERY_STRING} ^(.*)$
  59. RewriteRule ^(.*)/photo\.html$ $1/plugin.php?id=dz55625_haodian_album:index
复制代码


Apache Web Server(虚拟主机用户)
  1. #好店伪静态规则 4-16 更新 =======================================================
  2. RewriteCond %{QUERY_STRING} ^(.*)$
  3. RewriteRule ^haodian\.html$ plugin.php?id=dz55625_haodian:haodian
  4. RewriteCond %{QUERY_STRING} ^(.*)$
  5. RewriteRule ^haodian_([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&sid=$1
  6. RewriteCond %{QUERY_STRING} ^(.*)$
  7. RewriteRule ^haodian_([0-9]+)_([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2
  8. RewriteCond %{QUERY_STRING} ^(.*)$
  9. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4
  10. RewriteCond %{QUERY_STRING} ^(.*)$
  11. RewriteRule ^haodian_add\.html$ plugin.php?id=dz55625_haodian:haodian&mod=add
  12. RewriteCond %{QUERY_STRING} ^(.*)$
  13. RewriteRule ^haodian_user\.html$ plugin.php?id=dz55625_haodian:haodian_user
  14. RewriteCond %{QUERY_STRING} ^(.*)$
  15. RewriteRule ^haodian_vi([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$1
  16. RewriteCond %{QUERY_STRING} ^(.*)$
  17. RewriteRule ^haodian_vn([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&sid=$1
  18. RewriteCond %{QUERY_STRING} ^(.*)$
  19. RewriteRule ^haodian_([0-9]+)_vn([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&nw=$1&sid=$2
  20. RewriteCond %{QUERY_STRING} ^(.*)$
  21. RewriteRule ^haodian_vp([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=listpic&sid=$1
  22. RewriteCond %{QUERY_STRING} ^(.*)$
  23. RewriteRule ^haodian_vy([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid=$1
  24. RewriteCond %{QUERY_STRING} ^(.*)$
  25. RewriteRule ^haodian_vs([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sid=$1
  26. RewriteCond %{QUERY_STRING} ^(.*)$
  27. RewriteRule ^haodian_([0-9]+)_vs([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sp=$1&sid=$2
  28. RewriteCond %{QUERY_STRING} ^(.*)$
  29. RewriteRule ^haodian_([0-9]+)_books\.html$ plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$1
  30. RewriteCond %{QUERY_STRING} ^(.*)$
  31. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4&px=d
  32. RewriteCond %{QUERY_STRING} ^(.*)$
  33. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4&ps=f
  34. RewriteCond %{QUERY_STRING} ^(.*)$
  35. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4&types=1
  36. RewriteCond %{QUERY_STRING} ^(.*)$
  37. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4&types=2
  38. RewriteCond %{QUERY_STRING} ^(.*)$
  39. RewriteRule ^haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3\.html$ plugin.php?id=dz55625_haodian:haodian&c=$1&d=$2&e=$3&sd=$4&types=3
  40. RewriteCond %{QUERY_STRING} ^(.*)$
  41. RewriteRule ^haodian_about_uid_([0-9]+)\.html$ plugin.php?id=dz55625_haodian:haodian_ulist&mod=list&uid=$1
  42. RewriteCond %{QUERY_STRING} ^(.*)$
  43. RewriteRule ^haodian_map\.html$ plugin.php?id=dz55625_haodian:baidu_map_start
  44. RewriteCond %{QUERY_STRING} ^(.*)$
  45. RewriteRule ^haodian_coupon\.html$ plugin.php?id=dz55625_haodian_coupon:coupon_sjcard
  46. #20130815新增规则
  47. RewriteCond %{QUERY_STRING} ^(.*)$
  48. RewriteRule ^haodian_zizhu\.html$ plugin.php?id=dz55625_haodian:haodian_user&p=zizhu
  49. #20140814新增规则
  50. RewriteCond %{QUERY_STRING} ^(.*)$
  51. RewriteRule ^haodian_vc([0-9]+)\.html$ plugin.php?id=dz55625_haodian:vipcard&p=membercard&sid=$1
  52. #20140816新增规则
  53. RewriteCond %{QUERY_STRING} ^(.*)$
  54. RewriteRule ^dian\.html$ plugin.php?id=dz55625_haodian_merchant:index
  55. RewriteCond %{QUERY_STRING} ^(.*)$
  56. RewriteRule ^news\.html$ plugin.php?id=dz55625_haodian_twice:index
  57. RewriteCond %{QUERY_STRING} ^(.*)$
  58. RewriteRule ^shop\.html$ plugin.php?id=dz55625_haodian_goods:index
  59. RewriteCond %{QUERY_STRING} ^(.*)$
  60. RewriteRule ^photo\.html$ plugin.php?id=dz55625_haodian_album:index
复制代码


IIS Web Server(独立主机用户)
  1. #好店伪静态规则 4-16 更新 =======================================================
  2. RewriteRule ^(.*)/haodian\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian
  3. RewriteRule ^(.*)/haodian_([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&sid=$2
  4. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3
  5. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5
  6. RewriteRule ^(.*)/haodian_add\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=add
  7. RewriteRule ^(.*)/haodian_user\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian_user
  8. RewriteRule ^(.*)/haodian_vi([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2
  9. RewriteRule ^(.*)/haodian_vn([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=news&sid=$2
  10. RewriteRule ^(.*)/haodian_([0-9]+)_vn([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=news&nw=$2&sid=$3
  11. RewriteRule ^(.*)/haodian_vp([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=listpic&sid=$2
  12. RewriteRule ^(.*)/haodian_vy([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid=$2
  13. RewriteRule ^(.*)/haodian_vs([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sid=$2
  14. RewriteRule ^(.*)/haodian_([0-9]+)_vs([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sp=$2&sid=$3
  15. RewriteRule ^(.*)/haodian_([0-9]+)_books\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2
  16. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&px=d
  17. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&ps=f
  18. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=1
  19. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=2
  20. RewriteRule ^(.*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=3
  21. RewriteRule ^(.*)/haodian_about_uid_([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian_ulist&mod=list&uid=$2
  22. RewriteRule ^(.*)/haodian_map\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:baidu_map_start
  23. RewriteRule ^(.*)/haodian_coupon\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian_coupon:coupon_sjcard
  24. #20130815新增规则
  25. RewriteRule ^(.*)/haodian_zizhu\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:haodian_user&p=zizhu
  26. #20140814新增规则
  27. RewriteRule ^(.*)/haodian_vc([0-9]+)\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian:vipcard&p=membercard&sid=$2
  28. #20140816新增规则
  29. RewriteRule ^(.*)/dian\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian_merchant:index
  30. RewriteRule ^(.*)/news\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian_twice:index
  31. RewriteRule ^(.*)/shop\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian_goods:index
  32. RewriteRule ^(.*)/photo\.html(\?(.*))*$ $1/plugin\.php\?id=dz55625_haodian_album:index
复制代码


Ngnix 规则

  1. #好店伪静态规则 4-16 更新 =======================================================
  2. rewrite ^([^\.]*)/haodian\.html$ $1/plugin.php?id=dz55625_haodian:haodian last;
  3. rewrite ^([^\.]*)/haodian_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&sid=$2 last;
  4. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3 last;
  5. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5 last;
  6. rewrite ^([^\.]*)/haodian_add\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=add last;
  7. rewrite ^([^\.]*)/haodian_user\.html$ $1/plugin.php?id=dz55625_haodian:haodian_user last;
  8. rewrite ^([^\.]*)/haodian_vi([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2 last;
  9. rewrite ^([^\.]*)/haodian_vn([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&sid=$2 last;
  10. rewrite ^([^\.]*)/haodian_([0-9]+)_vn([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=news&nw=$2&sid=$3 last;
  11. rewrite ^([^\.]*)/haodian_vp([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=listpic&sid=$2 last;
  12. rewrite ^([^\.]*)/haodian_vy([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid=$2 last;
  13. rewrite ^([^\.]*)/haodian_vs([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sid=$2 last;
  14. rewrite ^([^\.]*)/haodian_([0-9]+)_vs([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=shop&sp=$2&sid=$3 last;
  15. rewrite ^([^\.]*)/haodian_([0-9]+)_books\.html$ $1/plugin.php?id=dz55625_haodian:haodian&mod=view&p=index&sid=$2 last;
  16. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&px=d last;
  17. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&ps=f last;
  18. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=1 last;
  19. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=2 last;
  20. rewrite ^([^\.]*)/haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3\.html$ $1/plugin.php?id=dz55625_haodian:haodian&c=$2&d=$3&e=$4&sd=$5&types=3 last;
  21. rewrite ^([^\.]*)/haodian_about_uid_([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:haodian_ulist&mod=list&uid=$2 last;
  22. rewrite ^([^\.]*)/haodian_map\.html$ $1/plugin.php?id=dz55625_haodian:baidu_map_start last;
  23. rewrite ^([^\.]*)/haodian_coupon\.html$ $1/plugin.php?id=dz55625_haodian_coupon:coupon_sjcard last;
  24. #20130815新增规则
  25. rewrite ^([^\.]*)/haodian_zizhu\.html$ $1/plugin.php?id=dz55625_haodian:haodian_user&p=zizhu last;
  26. #20140814新增规则
  27. rewrite ^([^\.]*)/haodian_vc([0-9]+)\.html$ $1/plugin.php?id=dz55625_haodian:vipcard&p=membercard&sid=$1 last;
  28. #20140816新增规则
  29. rewrite ^([^\.]*)/dian\.html$ $1/plugin.php?id=dz55625_haodian_merchant:index last;
  30. rewrite ^([^\.]*)/news\.html$ $1/plugin.php?id=dz55625_haodian_twice:index last;
  31. rewrite ^([^\.]*)/shop\.html$ $1/plugin.php?id=dz55625_haodian_goods:index last;
  32. rewrite ^([^\.]*)/photo\.html$ $1/plugin.php?id=dz55625_haodian_album:index last;
复制代码


IIS7 规则
  1.                <rule name="plugins">
  2. <match url="^(.*/)*haodian.html\?*(.*) />
  3. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian" />
  4. </rule>
  5. <rule name="plugina">
  6. <match url="^(.*/)*haodian_([0-9]+).html\?*(.*) />
  7. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&sid={R:2}" />
  8. </rule>
  9. <rule name="pluginb">
  10. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+).html\?*(.*) />
  11. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}" />
  12. </rule>
  13. <rule name="pluginc">
  14. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*) />
  15. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}" />
  16. </rule>
  17. <rule name="plugind">
  18. <match url="^(.*/)*haodian_add.html\?*(.*) />
  19. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=add" />
  20. </rule>
  21. <rule name="plugine">
  22. <match url="^(.*/)*haodian_user.html\?*(.*) />
  23. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_user" />
  24. </rule>
  25. <rule name="pluginf">
  26. <match url="^(.*/)*haodian_vi([0-9]+).html\?*(.*) />
  27. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid={R:2}" />
  28. </rule>
  29. <rule name="pluging">
  30. <match url="^(.*/)*haodian_vn([0-9]+).html\?*(.*) />
  31. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=news&sid={R:2}" />
  32. </rule>
  33. <rule name="pluginh">
  34. <match url="^(.*/)*haodian_([0-9]+)_vn([0-9]+).html\?*(.*) />
  35. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=news&nw={R:2}&sid={R:3}" />
  36. </rule>
  37. <rule name="plugini">
  38. <match url="^(.*/)*haodian_vp([0-9]+).html\?*(.*) />
  39. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=listpic&sid={R:2}" />
  40. </rule>
  41. <rule name="pluginsk">
  42. <match url="^(.*/)*haodian_vy([0-9]+).html\?*(.*) />
  43. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid={R:2}" />
  44. </rule>
  45. <rule name="pluginj">
  46. <match url="^(.*/)*haodian_vs([0-9]+).html\?*(.*) />
  47. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sid={R:2}" />
  48. </rule>
  49. <rule name="plugink">
  50. <match url="^(.*/)*haodian_([0-9]+)_vs([0-9]+).html\?*(.*) />
  51. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sp={R:2}&sid={R:3}" />
  52. </rule>
  53. <rule name="pluginl">
  54. <match url="^(.*/)*haodian_([0-9]+)_books.html\?*(.*) />
  55. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid={R:2}" />
  56. </rule>
  57. <rule name="pluginm">
  58. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d.html\?*(.*) />
  59. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&px=d" />
  60. </rule>
  61. <rule name="pluginn">
  62. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f.html\?*(.*) />
  63. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&px=f" />
  64. </rule>
  65. <rule name="plugino">
  66. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1.html\?*(.*) />
  67. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=1" />
  68. </rule>
  69. <rule name="pluginp">
  70. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2.html\?*(.*) />
  71. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=2" />
  72. </rule>
  73. <rule name="pluginq">
  74. <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3.html\?*(.*) />
  75. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=3" />
  76. </rule>
  77. <rule name="pluginqa">
  78. <match url="^(.*/)*haodian_about_uid_([0-9]+).html\?*(.*) />
  79. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_ulist&mod=list&uid={R:2}" />
  80. </rule>
  81. <rule name="pluginqb">
  82. <match url="^(.*/)*haodian_map.html\?*(.*) />
  83. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:baidu_map_start" />
  84. </rule>
  85. <rule name="pluginqc">
  86. <match url="^(.*/)*haodian_coupon.html\?*(.*) />
  87. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_coupon:coupon_sjcard" />
  88. </rule>
  89. <rule name="pluginqds">
  90. <match url="^(.*/)*haodian_zizhu.html\?*(.*) />
  91. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_user&p=zizhu" />
  92. </rule>
  93. <rule name="pluginqdt">
  94. <match url="^(.*/)*haodian_vc([0-9]+).html\?*(.*) />
  95. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:vipcard&p=membercard&sid={R:2}" />
  96. </rule>
  97. <rule name="pluginqdu">
  98. <match url="^(.*/)*dian.html\?*(.*) />
  99. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_merchant:index" />
  100. </rule>

  101. <rule name="pluginqdv">
  102. <match url="^(.*/)*news.html\?*(.*) />
  103. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_twice:index" />
  104. </rule>

  105. <rule name="pluginqdw">
  106. <match url="^(.*/)*shop.html\?*(.*) />
  107. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_goods:index" />
  108. </rule>

  109. <rule name="pluginqdx">
  110. <match url="^(.*/)*photo.html\?*(.*) />
  111. <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_album:index" />
  112. </rule>
复制代码


IIS8 规则
  1.                 <rule name="plugins">
  2.                 <match url="^(.*/)*haodian.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  3.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian" />
  4.                 </rule>
  5.                 <rule name="plugina">
  6.                 <match url="^(.*/)*haodian_([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  7.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&sid={R:2}" />
  8.                 </rule>
  9.                 <rule name="pluginb">
  10.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  11.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}" />
  12.                 </rule>
  13.                 <rule name="pluginc">
  14.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  15.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}" />
  16.                 </rule>
  17.                 <rule name="plugind">
  18.                 <match url="^(.*/)*haodian_add.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  19.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=add" />
  20.                 </rule>
  21.                 <rule name="plugine">
  22.                 <match url="^(.*/)*haodian_user.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  23.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_user" />
  24.                 </rule>
  25.                 <rule name="pluginf">
  26.                 <match url="^(.*/)*haodian_vi([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  27.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid={R:2}" />
  28.                 </rule>
  29.                 <rule name="pluginh">
  30.                 <match url="^(.*/)*haodian_([0-9]+)_vn([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  31.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=news&nw={R:2}&sid={R:3}" />
  32.                 </rule>
  33.                 <rule name="plugini">
  34.                 <match url="^(.*/)*haodian_vp([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  35.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=listpic&sid={R:2}" />
  36.                 </rule>
  37.                 <rule name="pluginsk">
  38.                 <match url="^(.*/)*haodian_vy([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  39.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=yuyue&sid={R:2}" />
  40.                 </rule>
  41.                 <rule name="pluginj">
  42.                 <match url="^(.*/)*haodian_vs([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  43.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sid={R:2}" />
  44.                 </rule>
  45.                 <rule name="plugink">
  46.                 <match url="^(.*/)*haodian_([0-9]+)_vs([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  47.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=shop&sp={R:2}&sid={R:3}" />
  48.                 </rule>
  49.                 <rule name="pluginl">
  50.                 <match url="^(.*/)*haodian_([0-9]+)_books.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  51.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=index&sid={R:2}" />
  52.                 </rule>
  53.                 <rule name="pluginm">
  54.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_d.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  55.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&px=d" />
  56.                 </rule>
  57.                 <rule name="pluginn">
  58.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_f.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  59.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&px=f" />
  60.                 </rule>
  61.                 <rule name="plugino">
  62.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_1.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  63.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=1" />
  64.                 </rule>
  65.                 <rule name="pluginp">
  66.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_2.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  67.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=2" />
  68.                 </rule>
  69.                 <rule name="pluginq">
  70.                 <match url="^(.*/)*haodian_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_3.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  71.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&c={R:2}&d={R:3}&e={R:4}&sd={R:5}&types=3" />
  72.                 </rule>
  73.                 <rule name="pluginqa">
  74.                 <match url="^(.*/)*haodian_about_uid_([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  75.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_ulist&mod=list&uid={R:2}" />
  76.                 </rule>
  77.                 <rule name="pluginqb">
  78.                 <match url="^(.*/)*haodian_map.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  79.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:baidu_map_start" />
  80.                 </rule>
  81.                 <rule name="pluginqc">
  82.                 <match url="^(.*/)*haodian_coupon.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  83.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian_coupon:coupon_sjcard" />
  84.                 </rule>
  85.                 <rule name="pluginqds">
  86.                 <match url="^(.*/)*haodian_zizhu.html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  87.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian_user&p=zizhu" />
  88.                 </rule>
  89.                 <rule name="plugingk">
  90.                 <match url="^(.*/)*haodian_vn([0-9]+).html\?*(.*)[        DISCUZ_CODE_5        ]quot; />
  91.                 <action type="Rewrite" url="{R:1}/plugin.php\?id=dz55625_haodian:haodian&mod=view&p=news&sid={R:2}" />
  92.                 </rule>
复制代码


提醒:
在您之前的规则后面新增上面的规则即可。
具体的使用方法参照DZ伪静态的设置方法,自己去草根吧站内搜索下。
其他的WEB环境自行对照修改。
此规则只支持好店首页伪静态以及列表伪静态。其余的不支持,具体参考好店黄金版。

补充一点:
在使用规则的时候,后台SEO设置内的伪静态设置全部开启。

帖子地址: 

ㄣ↘Catch me if you can!
回复

举报

7

主题

610

热度

61

贡献

步入草根

Rank: 1

热心会员灌水之王

发表于 2015-1-15 13:56:40 | 显示全部楼层
55625好店55625好店

3

主题

181

热度

15

贡献

禁止访问

发表于 2015-1-18 15:30:31 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

0

主题

40

热度

1

贡献

步入草根

Rank: 1

发表于 2015-1-20 13:14:13 | 显示全部楼层
1=餐饮美食 2=休闲娱乐 3=生活家政 4=医疗保健 5=电子科技 6=装修建材 7=教育培训 8=服饰鞋包 9=房屋信息 10=运动健身 11=车辆服务 12=电子科技 13=装修建材 14=其他服务

2

主题

35

热度

8

贡献

步入草根

Rank: 1

发表于 2015-3-7 23:41:44 | 显示全部楼层
谢谢谢谢谢谢谢谢谢谢谢谢

0

主题

6

热度

0

贡献

步入草根

Rank: 1

发表于 2015-4-14 10:04:42 | 显示全部楼层
好东西

0

主题

16

热度

0

贡献

步入草根

Rank: 1

发表于 2015-5-4 23:06:07 | 显示全部楼层
胜多负少的v

0

主题

20

热度

0

贡献

步入草根

Rank: 1

发表于 2015-5-17 01:24:00 | 显示全部楼层
论坛完美解决了我的问题

0

主题

105

热度

3

贡献

年费赞助ViP

Rank: 6Rank: 6

发表于 2015-5-28 16:40:14 | 显示全部楼层
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶

2

主题

445

热度

5

贡献

步入草根

Rank: 1

发表于 2015-7-7 16:52:11 | 显示全部楼层
最新伪静态规则 (

发表回复

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆 用百度帐号登录 一键登录:

本版积分规则

收藏帖子 返回列表 搜索
快速回复 返回顶部 返回列表