当前位置:hao123网址大全 » 站长资讯 » 网站技术 » 文章详细 

35dir分类目录程序Nginx伪静态规则

发布:hao123网址大全  浏览:25次  时间:2021-12-01
35dir分类目录Nginx服务器伪静态规则


ActionScript
rewrite ^/(index|webdir|weblink|article|category|update|archives|top|feedback|link|rssfeed|sitemap)(/?)$ /index.php?mod=$1;
rewrite ^/update/(\d+)\.html$ /index.php?mod=update&days=$1;
rewrite ^/update/(\d+)-(\d+)\.html$ /index.php?mod=update&days=$1&page=$2;
rewrite ^/archives/(\d+)\.html$ /index.php?mod=archives&date=$1;
rewrite ^/archives/(\d+)-(\d+)\.html$ /index.php?mod=archives&date=$1&page=$2;
rewrite ^/search/(name|url|tags|intro|br|pr|art)/(.+)-(\d+)\.html$ /index.php?mod=search&type=$1&query=$2&page=$3;
rewrite ^/search/(name|url|tags|intro|br|pr|art)/(.+)\.html$ /index.php?mod=search&type=$1&query=$2;
rewrite ^/(br|pr)/(.+)-(\d+)\.html$ /index.php?mod=search&type=$1&query=$2&page=$3;
rewrite ^/(br|pr)/(.+)\.html$ /index.php?mod=search&type=$1&query=$2;
rewrite ^/view/(\d+)\.html$ /index.php?mod=siteinfo&wid=$1;
rewrite ^/siteinfo/(\d+)\.html$ /index.php?mod=siteinfo&wid=$1;
rewrite ^/siteinfo-(\d+)\.html$ /index.php?mod=siteinfo&wid=$1;
rewrite ^/site/(\d+)-(.+)(/?)\.html$ /index.php?mod=siteinfo&wid=$1;
rewrite ^/artinfo/(\d+)\.html$ /index.php?mod=artinfo&aid=$1;
rewrite ^/linkinfo/(\d+)\.html$ /index.php?mod=linkinfo&lid=$1;
rewrite ^/diypage/(\d+)\.html$ /index.php?mod=diypage&pid=$1;
rewrite ^/rssfeed/(\d+)\.html$ /index.php?mod=rssfeed&cid=$1;
rewrite ^/sitemap/(\d+)\.html$ /index.php?mod=sitemap&cid=$1;
rewrite ^/webdir/(.+)/(\d+)\.html$ /index.php?mod=webdir&cid=$2;
rewrite ^/webdir/(.+)/(\d+)-(\d+)\.html$ /index.php?mod=webdir&cid=$2&page=$3;
rewrite ^/webdir/(.+)/(\d+)-(.+)-(\d+)\.html$ /index.php?mod=webdir&cid=$2&sort=$3&page=$4;
rewrite ^/weblink/(.+)/(\d+)\.html$ /index.php?mod=weblink&cid=$2;
rewrite ^/weblink/(.+)/(\d+)-(\d+)\.html$ /index.php?mod=weblink&cid=$2&page=$3;
rewrite ^/weblink/(.+)/(\d+)-(.+)-(\d+)\.html$ /index.php?mod=weblink&cid=$2&sort=$3&page=$4;
rewrite ^/article/(.+)/(\d+)\.html$ /index.php?mod=article&cid=$2;
rewrite ^/article/(.+)/(\d+)-(\d+)\.html$ /index.php?mod=article&cid=$2&page=$3;
rewrite ^/rssfeed/(.+)/(\d+)\.html$ /index.php?mod=rssfeed&cid=$2;
rewrite ^/rssfeed/(.+)/(\d+)-(\d+)\.html$ /index.php?mod=rssfeed&cid=$2&page=$3;
版权说明:hao123网址大全(www.hao123w.com)转载作品的目的在于传递更多信息,并不代表赞同其观点和对其真实性负责。如涉及作品内容、版权和其他问题(包括但不限于侵犯著作权、商业信誉等),烦请提供版权疑问、身份证明、版权证明、联系方式等发邮件至admin#hao123w.com(#换成@),我们将按国家相关法规即时移除。
推荐站点
  • LED照明网

    Led照明之家(LED照明网)-http://www.led123.com.cn 是一个汇聚了LED企业发布led显示屏,led灯,led灯泡,led吸顶灯,led灯具,led路灯,led照明,led电子显示屏,led节能灯,led投光灯等led供应信息的LED灯具灯饰照明市场!

    www.led123.com.cn
  • 114黄页信息网

    114黄页信息网(114wz.cn)是一个提供114查询,114企业名录大全,114黄页网站大全,企业黄页网等黄页信息服务网站!

    www.114wz.cn
  • hao123网址大全

    hao123网址大全(hao123w.com)又名好123网址之家,为您提供方便的上网导航服务,目前已经有很多用户设hao123为主页,请将首页设为hao123网址之家,方便您上网.

    www.hao123w.com
  • 4615 - 互联网创业新媒体

    4615 为互联网创业者提供动力,做创新的互联网创业新媒体

    www.4615.cn
  • hao525

    hao525.com 创立于2009年!

    www.hao525.com