DedeCMS伪静态规则(nginx)

DedeCMS伪静态规则(nginx):

  rewrite "^/list-([0-9]+).html$" /plus/list.php?tid=$1 last;  rewrite "^/list-([0-9]+)-([0-9]+)-([0-9]+).html$" /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 last;  rewrite "^/view-([0-9]+)-1.html$" /plus/view.php?arcID=$1 last;  rewrite "^/view-([0-9]+)-([0-9]+).html$" /plus/view.php?aid=$1&pageno=$2 last;  rewrite "^/plus/list-([0-9]+).html$" /plus/list.php?tid=$1 last;  rewrite "^/plus/list-([0-9]+)-([0-9]+)-([0-9]+).html$" /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 last;  rewrite "^/plus/view-([0-9]+)-1.html$" /plus/view.php?arcID=$1 last;  rewrite "^/plus/view-([0-9]+)-([0-9]+).html$" /plus/view.php?aid=$1&pageno=$2 last;  rewrite "^/tags.html$" /tags.php last;  rewrite "^/tag-([0-9]+)-([0-9]+).html$" /tags.php?/$1/$2/ last;

未经允许不得转载:吾爱主机之家 » DedeCMS伪静态规则(nginx)