探索功能是怎么设置的
探索功能是怎么设置的 后台 全局 站点功能:开启导读功能我的伪静态规则:
location / {
rewrite ^([^\.]*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2 last;
rewrite ^([^\.]*)/article-(+)-(+)\.html$ $1/portal.php?mod=view&aid=$2&page=$3 last;
rewrite ^([^\.]*)/forum-(\w+)-(+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;
rewrite ^([^\.]*)/thread-(+)-(+)-(+)\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;
rewrite ^([^\.]*)/group-(+)-(+)\.html$ $1/forum.php?mod=group&fid=$2&page=$3 last;
rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3 last;
rewrite ^([^\.]*)/blog-(+)-(+)\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;
rewrite ^([^\.]*)/(fid|tid)-(+)\.html$ $1/index.php?action=$2&value=$3 last;
rewrite ^([^\.]*)/(+*)-(+)\.html$ $1/plugin.php?id=$2:$3 last;
rewrite ^/tag/([^/]+)(/|)?$ /misc.php?mod=tag&name=$1&type=thread;
rewrite ^/tag(/|)$ /misc.php?mod=tag;
rewrite ^/guide(/|)$ /forum.php?mod=guide;
rewrite ^/search(?:/([^/]+))?(?:/([^/]+))?/?$ /search.php?mod=$1&value=$2 last;
rewrite ^/search/(portal|forum|blog|album|group|collection)/(\d+)/(.+)$ /search.php?mod=$1&searchid=$2&searchsubmit=yes&kw=$3;
if (!-e $request_filename) {
return 404;
}
} 9527 发表于 2025/3/26 08:10
后台 全局 站点功能:开启导读功能
我的伪静态规则:
请问这个怎么修改
\template\admxn_xxx\forum\forumdisplay_list_side.htm
编辑这个文件就能看见;
viewthread_side.htm 这个是内容页右侧栏
页: [1]