Hello. I am trying to setup my site on a sub domain folder. The site is not a multi site. I can get the site to work if I use the address:
However, that obviously means that
sub.domain.com shows all the root files (composer.json, web folder, config folder etc). I used these rules in my env file:
That let me get the site working if I view the web folder but not what I want. I want it to run so that you don’t see the root folder and from the front end perspective “web” folder is basically invisible. I hope that makes sense. I tried changing to:
But that showed the site with missing stylesheets etc. I’m sure there is a htacess rule I could use but I’ve been searching and cannot find how this is possible.