dedecms织梦nginx下伪静态规则设置方法

1
2
3
4
5
6
7
8
9
10
location/{
rewrite"^/index.html$"/index.phplast;
rewrite"^/list-([0-9]+)\.html$"/plus/list.php?tid=$1last;
rewrite"^/list-([0-9]+)-([0-9]+)-([0-9]+)\.html$"/plus/list.php?tid=$1&totalresult=$2&PageNo=$3last;
rewrite"^/view-([0-9]+)-1\.html$"/plus/view.php?arcID=$1last;
rewrite"^/view-([0-9]+)-([0-9]+)\.html$"/plus/view.php?aid=$1&pageno=$2last;
rewrite"^/tags/$"/tags.phplast;
rewrite"^/tags/(.*)/$"/tags.php?/$1/last;
break;
}

免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。