qiang wiki article: Yii site directory structure

Hi

I am following Yii site directory structure (yiiframework.com/wiki/155/the-directory-structure-of-the-yii-project-site/) in one of my project

First of all instructions are very confusing. After following the directory structure i have three applications ie

frontend

backend

console

each application can be executed by their index file, which is in www folder of each application

(project_name)/frontend/www/index.php

(project_name)/backend/www/index.php

now no one wants to have such url structure for their site, since its not SEO friendly and it also reveals extra information about directory structure.

how can we achieve some thing like this

(project_name) ---------------> for front end application

(project_name)/admin ---------------> for backend application

some people have suggested creating vhosts for both front end and backend.

another way is by placing .htaccess file in the project root directory

can we achieve this with yii urlmanager