# 将 /categories 显示为默认登陆页

**URL:** <https://meta.discourse.org/t/show-categories-as-default-lander-page/160640>\
**Category:** Support\
**Created:** [2020年八月12日 15:09 UTC](https://meta.discourse.org/t/show-categories-as-default-lander-page/160640 "2020-08-12T15:09:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LSD2020](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lsd2020/32/165673_2.png) [@LSD2020](https://meta.discourse.org/u/LSD2020)\
**Post date:** [2020年八月12日 15:09 UTC](https://meta.discourse.org/t/show-categories-as-default-lander-page/160640/1 "2020-08-12T15:09:19Z")

</div>

我希望默认页面为 `/categories`。处理这个问题的最简洁方法是什么？是否有简单的 CSS 规则，还是需要在 posthook 中使用 Nginx 重写规则？有人手头有现成的代码片段可以解决这个问题吗？

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2020年八月12日 15:35 UTC](https://meta.discourse.org/t/show-categories-as-default-lander-page/160640/2 "2020-08-12T15:35:15Z")

</div>

访问 `/wizard` 和/或在系统设置中查看 `顶部菜单`。`顶部菜单` 中的第一项是默认主页。

---

<div class="post-metadata">

**Author:** ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)\
**Post date:** [2020年八月13日 11:22 UTC](https://meta.discourse.org/t/show-categories-as-default-lander-page/160640/3 "2020-08-13T11:22:08Z")

</div>


