You can do this by defining permalinks in admin. In my example, my subfolder is /forum:
/forum
I’m not sure if both are necessary, but I created them to be sure.