# 将类别重定向到外部URL

**URL:** <https://meta.discourse.org/t/redirect-category-to-external-url/85691>\
**Category:** Support\
**Created:** [2018年四月19日 05:32 UTC](https://meta.discourse.org/t/redirect-category-to-external-url/85691 "2018-04-19T05:32:29Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![JonathanShaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathanshaw/32/532672_2.png) [@JonathanShaw](https://meta.discourse.org/u/JonathanShaw)\
**Post date:** [2021年九月21日 22:32 UTC](https://meta.discourse.org/t/redirect-category-to-external-url/85691/17 "2021-09-21T22:32:43Z")

</div>

> [@cogdog](#):
>
> 在子类别浏览器重定向到其他地方时，出现了太多令人困惑的延迟。

如果您修改路由而不是依赖 `api.onPageChange()`（该函数似乎在页面渲染后才触发），可能会发现这个问题有所缓解。

参见 [Redirect an existing route in a theme component](https://meta.discourse.org/t/how-to-redirect-an-existing-disourse-route-in-a-theme-component/201900)

---

_[View the full topic](https://meta.discourse.org/t/redirect-category-to-external-url/85691)._
