Discuz!小编 发表于 2026-8-15 19:52:22

DZ3.5的圈子讨论区有没办法设置为首页,代替首页 New

如下图,








我知道答案 回答被采纳将会获得1 贡献 已有5人回答

KarlMock59 发表于 2026-8-15 19:52:50

有呀,在后台-》界面-》里面设置,把你想要的页面的地址设置为默认首页就可以了。

Sylvia 发表于 2026-8-15 19:53:28

我说的是圈子的系统功能,圈子里的首页不要,直接访问讨论区页面

杰克 发表于 2026-8-15 19:53:54

圈子首页不要的话,就是想把圈子当成子论坛看待,其实就是 mod=group 变成 mod=forumdisplay。

建议自己写个 Rewrite 规则。甚至还可以做成 group-{fid}.html 这样的伪静态。

凡若尘 发表于 2026-8-15 19:54:28

还望大佬写个简单的教程出来,造福百姓!

凡若尘 发表于 2026-8-15 19:55:01

IsaacZ 发表于 2026-8-14 22:37
圈子首页不要的话,就是想把圈子当成子论坛看待,其实就是 mod=group 变成 mod=forumdisplay。

建议自己写 ...                        现在默认的Rewrite 规则URL 静态化如下,
       

                        增加一条什么规则可以使得圈子首页自动显示到讨论区页面呢?
       

                        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 ^([^\.]*)/archiver/(fid|tid)-(+)\.html$ $1/archiver/index.php?action=$2&value=$3 last;
       

                        rewrite ^([^\.]*)/(+*)-(+)\.html$ $1/plugin.php?id=$2:$3 last;
       

                        if (!-e $request_filename) {
       

                                return 404;
       

                        }
       

.ce-block {    margin-bottom: 20px;}.ce-block__content,.ce-toolbar__content {        /* max-width:calc(100% - 50px) */        margin-left: auto;    margin-right: auto;}.ce-paragraph {    line-height: 1.6em;    outline: none;    text-indent: 2em;    font-size: 16px;}.ce-paragraph--right {    text-align: right;}.ce-paragraph--center {    text-align: center;}.ce-paragraph--left {    text-align: left;}.ce-paragraph--justify {    text-align: justify;}.ce-paragraph-text-indent {    text-align: justify;}.ce-paragraph:empty::before{content: attr(data-placeholder);color: #707684;font-weight: normal;opacity: 0;}/** Show placeholder at the first paragraph if Editor is empty */.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {opacity: 1;}.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {opacity: 0;}.ce-paragraph p:first-of-type{    margin-top: 0;}.ce-paragraph p:last-of-type{    margin-bottom: 0;}.svg-icon {    width: 1em;    height: 1em;}.svg-icon path,.svg-icon polygon,.svg-icon rect {    fill: #4691f6;}.svg-icon circle {    stroke: #4691f6;    stroke-width: 1;}.inline-code {background: rgba(250, 239, 240, 0.78);color: #b44437;padding: 3px 4px;border-radius: 5px;margin: 0 1px;font-family: inherit;font-size: 0.86em;font-weight: 500;letter-spacing: 0.3px;}
页: [1]
查看完整版本: DZ3.5的圈子讨论区有没办法设置为首页,代替首页 New