# 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:** 8

<div class="post-metadata">

**Author:** ![bokos](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bokos](https://meta.discourse.org/u/bokos)\
**Post date:** [February 10, 2020, 6:18pm UTC](https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232/8 "2020-02-10T18:18:38Z")

</div>

The paths reset without subfolder prefix in the address bar of the browser.

Example:  
I visit [example.com/forum](http://example.com/forum) → after forum loaded, address bar shows [example.com](http://example.com)  
Then I click on “Latest” → navigates to latest and address bar shows [example.com/forum/latest](http://example.com/forum/latest)  
I hit refresh on browser, website refreshes and address bar shows [example.com/latest](http://example.com/latest)  
When I refresh again while on [example.com/latest](http://example.com/latest), there is a 404 error (because my nginx only routes /forum to discourse).

The link preview at bottom left of the browser show up as [example.com/latest](http://example.com/latest), [example.com/new](http://example.com/new) etc. Refreshing a topic also removes /forum from the url, but then it changes again, back to /forum/t/[…].

I was at version 2.4.0.beta2 previously and don’t remember this issue.

---

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