35dir内核 分类目录 Nginx伪静态规则 教程
内容来源:爱狐博客 浏览:193次 发布时间:2024-02-14
iH站长 给大家分享一篇关于 35dir分类目录Nginx服务器伪静态规则
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;
- 上一篇: 没有了
- 下一篇: 克莱·汤普森与小牛队签下三年5000万美元合同