伪静态设置问题 帝国cms
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了伪静态设置问题 帝国cms相关的知识,希望对你有一定的参考价值。
参考技术A 自己写规则就行了织梦帝国设置伪静态方案
dedecms设置伪静态
1 rewrite "^/list-([0-9]+).html$" /plus/list.php?tid=$1 last; 2 rewrite "^/list-([0-9]+)-([0-9]+)-([0-9]+).html$" /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 last; 3 rewrite "^/view-([0-9]+)-1.html$" /plus/view.php?arcID=$1 last; 4 rewrite "^/view-([0-9]+)-([0-9]+).html$" /plus/view.php?aid=$1&pageno=$2 last; 5 rewrite "^/plus/list-([0-9]+).html$" /plus/list.php?tid=$1 last; 6 rewrite "^/plus/list-([0-9]+)-([0-9]+)-([0-9]+).html$" /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 last; 7 rewrite "^/plus/view-([0-9]+)-1.html$" /plus/view.php?arcID=$1 last; 8 rewrite "^/plus/view-([0-9]+)-([0-9]+).html$" /plus/view.php?aid=$1&pageno=$2 last; 9 rewrite "^/tags.html$" /tags.php last; 10 rewrite "^/tag-([0-9]+)-([0-9]+).html$" /tags.php?/$1/$2/ last;
帝国系统设置伪静态
1 rewrite ^([^.]*)/listinfo-(.+?)-(.+?).html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last; 2 rewrite ^([^.]*)/showinfo-(.+?)-(.+?)-(.+?).html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last; 3 rewrite ^([^.]*)/infotype-(.+?)-(.+?).html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last; 4 rewrite ^([^.]*)/tags-(.+?)-(.+?).html$ $1/e/tags/index.php?tagname=$2&page=$3 last; 5 rewrite ^([^.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?).html$ $1/e/pl/index.php?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 last; 6 if (!-e $request_filename) { 7 return 404; 8 }
以上是关于伪静态设置问题 帝国cms的主要内容,如果未能解决你的问题,请参考以下文章