Address Bar changes under subfolder

I successfully set up my Discourse instance to run it under a subfolder:


The problem is that it seems the client changes the address bar content every time some action is executed (a open admin panel, visit a topic ecc).

Let’s say for example that I am in the homepage, the address bar shows:

Now i want to click on a topic, the address bar updates to:

The /discourse path disappears, so when I try to click on the back button on the browser the site appears to be unreachable

Can someone tell me what i need to edit to let it work?


Subfolder configurations are much more complex, we recommend you skip running in a subfolder and just have the Discourse site at


If you really must have it in a subfolder be sure to check the relevant documentation topics here on meta closely.