# Subfolder trailing slash issue

**URL:** <https://meta.discourse.org/t/subfolder-trailing-slash-issue/142128>\
**Category:** Bug\
**Created:** [February 20, 2020, 1:58pm UTC](https://meta.discourse.org/t/subfolder-trailing-slash-issue/142128 "2020-02-20T13:58:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![joen](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@joen](https://meta.discourse.org/u/joen)\
**Post date:** [February 20, 2020, 1:58pm UTC](https://meta.discourse.org/t/subfolder-trailing-slash-issue/142128/1 "2020-02-20T13:58:23Z")

</div>

We have a discourse setup in a subfolder ([www.example.com/forums](http://www.example.com/forums) ) which used to work by leaving out the trailing slash.  
Since the bug and fix ([Recent Changes Breaking Subfolder Setup?](https://meta.discourse.org/t/recent-changes-breaking-subfolder-setup/141232)) that we also encountered, we are now dealing with a new issue. When the trailing slash in the url is left out, our discourse forum only will load the header.  
When adding the trailing slash and loading the url again, the site loads completely. I’ve been looking at the html output in firefox and noticed that when the trailing slash is not there, the following happens:  
`<body class "staff">...</body>`  
The following div also has 260px height:  
`<section id="main" class="ember-application">`

Whereas with the trailing slash, it’s this:  
`<body class "staff navigation-categories categories-list>...</body>`  
And the section id div is 909px (which is expected as the categories have loaded).

This is all I was able to figure out so far. As mentioned, the trailing slash didn’t needed to be entered prior to the update that fixed the subfolder issue. Does anybody have an idea as to why this is happening?

---

_[View the full topic](https://meta.discourse.org/t/subfolder-trailing-slash-issue/142128)._
