So this issue has probably been brought up a couple of times but I can't seem to find an answer to it.
My goal is to include css, js, asset-files into my php framework. However when calling those files, the path must always be called as the folder structure such as:
<link rel="stylesheet" href="\frontend\web\css\style.css">
Instead of what I would prefer:
<link rel="stylesheet" href="\web\css\style.css">
If there is a way to "trick" PHP into referring files (from a different directory), to the directory I want That way it would never show external users that the website/domain has a subdomain or cms.
My file structure would be as such:
root
    frontend
    backend
A subdomain could be anything, but in this case would be frontend.domain.com, but is user dependant and other subdomains can be created dynamically such as backend.domain.com, manage.domain.com.
Any clues on how to achieve this effect would be greatly appreciated