找回密码
 立即注册

QQ登录

只需一步,快速开始

74cms 3.3 伪静态规则 NGINX版

  1. rewrite ^/index.html$ /index.php;
  2. rewrite ^/jobs/jobs-show-([0-9]+).html$ /jobs/jobs-show.php?id=$1;
  3. rewrite ^/jobs/jobs-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(?<n0>.*)-(?<n1>.*)-(?<n2>.*)-(?<n3>.*).html$ /jobs/jobs-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&settr=$5&trade=$6&wage=$7&nature=$8&scale=$9&inforow=$n0&sort=$n1&key=$n2&page=$n3;
  4. rewrite ^/jobs/jobs-contrast-(.*).html$ /jobs/jobs-contrast.php?id=$1;
  5. rewrite ^/jobs/map-search-([0-9]+).html$ /jobs/map-search.php?id=$1;
  6. rewrite ^/jobs/jobtag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).html$ /jobs/jobtag-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&jobtag=$5&inforow=$6&page=$7;
  7. rewrite ^/jobs/street-search-(.*)-(.*)-(.*)-(.*).html$ /jobs/street-search.php?streetid=$1&sort=$2&inforow=$3&page=$4;
  8. rewrite ^/jobs/officebuilding-search-(.*)-(.*)-(.*)-(.*).html$ /jobs/officebuilding-search.php?officebuildingid=$1&sort=$2&inforow=$3&page=$4;
  9. rewrite ^/company/company-list-(.*)-(.*)-([0-9]+).html$ /company/index.php?trade=$1&inforow=$2&page=$3;
  10. rewrite ^/company/company-show-([0-9]+).html$ /company/company-show.php?id=$1;
  11. rewrite ^/company/company-jobs-([0-9]+)-([0-9]+).html$ /company/company-jobs.php?id=$1&page=$2;
  12. rewrite ^/company/company-comment-([0-9]+)-([0-9]+).html$ /company/company-comment.php?id=$1&page=$2;
  13. rewrite ^/company/company-comment-show-([0-9]+).html$ /company/company-comment-show.php?id=$1;
  14. rewrite ^/company/company-img-([0-9]+)-([0-9]+).html$ /company/company-img.php?id=$1&page=$2;
  15. rewrite ^/company/company-news-([0-9]+)-([0-9]+).html$ /company/company-news.php?id=$1&page=$2;
  16. rewrite ^/company/company-news-show-([0-9]+).html$ /company/company-news-show.php?id=$1;
  17. rewrite ^/resume/resume-show-([0-9]+).html$ /resume/resume-show.php?id=$1;
  18. rewrite ^/resume/resume-list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(?<n0>.*)-(?<n1>.*)-(?<n2>.*)-(?<n3>.*).html$ /resume/resume-list.php?category=$1&subclass=$2&district=$3&sdistrict=$4&experience=$5&education=$6&sex=$7&photo=$8&talent=$9&inforow=$n0&sort=$n1&key=$n2&page=$n3;
  19. rewrite ^/resume/resumetag-search-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).html$ /resume/resume-search.php?category=$1&subclass=$2&district=$3&sdistrict=$4&resumetag=$5&inforow=$6&page=$7;
  20. rewrite ^/news/news-list-([0-9]+)-([0-9]+).html$ /news/news-list.php?id=$1&page=$2;
  21. rewrite ^/news/news-search-(.*)-([0-9]+).html$ /news/news-search.php?key=$1&page=$2;
  22. rewrite ^/news/news-show-([0-9]+).html$ /news/news-show.php?id=$1;
  23. rewrite ^/explain/explain-show-([0-9]+).html$ /explain/explain-show.php?id=$1;
  24. rewrite ^/notice/notice-list-([0-9]+)-([0-9]+).html$ /notice/notice-list.php?id=$1&page=$2;
  25. rewrite ^/notice/notice-show-([0-9]+).html$ /notice/notice-show.php?id=$1;
  26. rewrite ^/hrtools/hrtools-list-([0-9]+).html$ /hrtools/hrtools-list.php?id=$1;
  27. rewrite ^/hr/hrOutsourcing.html$ /hr/hrOutsourcing.php;
  28. rewrite ^/jobfair/jobfair-list-([0-9]+).html$ /jobfair/jobfair-list.php?page=$1;
  29. rewrite ^/jobfair/jobfair-show-([0-9]+).html$ /jobfair/jobfair-show.php?id=$1;
  30. rewrite ^/jobfair/jobfair-exhibitors-([0-9]+)-([0-9]+).html$ /jobfair/jobfair-exhibitors.php?id=$1&page=$2;
  31. rewrite ^/simple/simple-list-(.*)-(.*)-([0-9]+).html$ /simple/simple-list.php?key=$1&keytype=$2&page=$3;
  32. rewrite ^/simple/simple-show-([0-9]+).html$ /simple/simple-show.php?id=$1;
  33. rewrite ^/help/help-list-([0-9]+)-([0-9]+).html$ /help/help-list.php?id=$1&page=$2;
  34. rewrite ^/help/help-search-(.*)-([0-9]+).html$ /help/help-search.php?key=$1&page=$2;
  35. rewrite ^/help/help-show-([0-9]+).html$ /help/help-show.php?id=$1;
复制代码



本教程由无限星辰工作室CRX349独家整理和提供,转载请注明地址,谢谢。本文地址:https://www.xmspace.net/thread-491-1-1.html
无限星辰工作室  好集导航 Discuz全集下载  星辰站长网  集热爱361  一品文学  手机小游戏合集   海外空间网 星辰api  星辰支付二维码管理平台 阿里云服务器 腾讯云服务器
服务Discuz!建站|DiscuzQ配置|二开|小程序|APP|搬家|挂马清理|防护|Win/Linux环境搭建|优化|运维|
服务理念:专业 诚信 友好QQ842062626 服务项目 Q群315524225

发表于 2017-2-3 23:04:09 | 显示全部楼层 |阅读模式

回复 | 使用道具 举报

该帖共收到 0 条回复!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

美图秀

    • fastadmin 后台界面使用字段数组类型
    • Discuz!x3.5 修改标题高亮颜色
    • Discuz!x3.5 应用中心 下载应用一直下载中
    • 帖子定时显示
    • 论坛辅助审核
拖动客服框
Online Service
点击这里给我发消息
点击这里联系我们
微信扫一扫
在线客服
快速回复 返回顶部 返回列表