# Recent Changes Breaking Subfolder Setup?

**URL:** <https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232>\
**Category:** Bug\
**Created:** [February 10, 2020, 11:02pm UTC](https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232 "2020-02-10T23:02:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hartz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hartz/32/167110_2.png) [@hartz](https://meta.discourse.org/u/hartz)\
**Post date:** [February 10, 2020, 11:02pm UTC](https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232/1 "2020-02-10T23:02:44Z")

</div>

I’m sorry if I’ve misdiagnosed this, but I’ve recently experienced some issues after an upgrade on a subfolder setup that had been working before, so I think there may have been a regression on some fronts in the recent past? In particular, I am self-hosting Discourse using the subfolder setup described [here](https://meta.discourse.org/t/subfolder-support-with-docker/30507), which was happily working (AFAICT) until recently.

Currently, when logging in using SSO or when switching to/from anonymous mode (and maybe in other situations I’ve not yet found), I am redirected to `https://my_machine/discourse_path_stuff` , rather than being redirected to `https://my_machine/forum/discourse_path_stuff`. It’s also the case that when I go to `https://my_machine/forum` (the right endpoint), my address bar is rewritten to say `https://my_machine` (with the subfolder removed), though most links seem to resolve to the right places.

Unfortunately, I don’t remember what commit I was running on when things were working, but I’m pretty sure it was under the “2.4.0.beta10” umbrella, and was probably within the last ~10 days. I am currently running on `bd49d4af1a`.

I apologize if I’m just doing something stupid, and I’m happy to help with tracking down the issue if there are suggestions for where I should be looking.

---

_[View the full topic](https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232)._
