伪静态修改路径:
后台 =》模块管理 =》小说连载 =》 参数设置
if (!-d $request_filename){
set $rule_0 1$rule_0;
}
if (!-f $request_filename){
set $rule_0 2$rule_0;
}
if ($rule_0 = "21"){
rewrite ^/templates/(.*).html$ /404.php;
}
rewrite ^/themes/(.*)/(.*).html$ /404.php;
rewrite ^/modules/(.*)/templates/$ /404.php;
rewrite ^/modules/(.*)/templates/(.*).html$ /404.php;
rewrite ^/modules/article/(.*)$ /404.php;
rewrite ^/book/([0-9]+)$ /modules/article/articleinfo.php?id=$1;
rewrite ^/index/([0-9]+)$ /modules/article/reader.php?aid=$1;
rewrite ^/book/([0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&cid=$2;
rewrite ^/vip/([a-zA-Z0-9]+)/([0-9]+).html$ /modules/obook/reader.php?aid=$1&cid=$2;
rewrite ^/sort/([0-9]+)/([0-9]+).html$ /modules/article/articlelist.php?sortid=$1&page=$2;
rewrite ^/buyvip/([0-9]+).html$ /modules/obook/buychapter.php?cid=$1;
rewrite ^/books$ /modules/article/articlefilter.php;
rewrite ^/top/([a-z]+)/([0-9]+).html$ /modules/article/toplist.php?order=$1&page=$2;
rewrite ^/search/([0-9]+)/(.*)/([0-9]+).html$ /modules/article/search.php?searchtype=$1&searchkey=$2&page=$3;
rewrite ^/taglist/([0-9]+)/(.*).html$ /;
rewrite ^/book_([a-z]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([a-zA-Z0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html$ /modules/article/articlefilter.php?order=$1&rgroup=$2&sortid=$3&typeid=$4&words=$5&update=$6&initial=$7&isfull=$8&isvip=$9&page=$10;