# Discourse 重写 URL 路径行为因子目录而失败

**URL:** <https://meta.discourse.org/t/discourse-rewriting-url-path-behaviour-failing-due-to-subfolder/94120>\
**Category:** Bug\
**Tags:** subfolder\
**Created:** [2018 年8 月 7 日 13:40 UTC](https://meta.discourse.org/t/discourse-rewriting-url-path-behaviour-failing-due-to-subfolder/94120 "2018-08-07T13:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![Bram\_Rongen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bram_rongen/32/106220_2.png) [@Bram\_Rongen](https://meta.discourse.org/u/Bram_Rongen)\
发布日期： [2018 年8 月 7 日 20:30 UTC](https://meta.discourse.org/t/discourse-rewriting-url-path-behaviour-failing-due-to-subfolder/94120/4 "2018-08-07T20:30:52Z")

</div>

Created a PR to fix it: [FIX: wrongful redirections when topic starts with BaseUri by bram-rongen · Pull Request #6243 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/6243)

I don’t have any prior experience in _Ember_ or _Rails_ or _Discourse_ so please review carefully 🙂 and then 🚢 it!

---

_[View the full topic](https://meta.discourse.org/t/discourse-rewriting-url-path-behaviour-failing-due-to-subfolder/94120)._
