How to hide frontend/web and backend/web COMPLETELY from url

| Last Updated: | In: Yii framework


If your only goal is to achieve not ever seeing /frontend/web or /backend/web, even without using .htaccess rules, you could go for the following. Before procees make sure your directory structure would look like : – yii2app/ – frontend/ – backend/ – common/ – .. other folders.. – admin/ – assets/ – css/ – index.php …