Remove index.php in the url of Yii website
Complete URL management for a Web application involves two aspects:
- When a user request comes in terms of a URL, the application needs to parse it into understandable parameters.
- The application needs to provide a way of creating URLs so that the created URLs can be understood by the application.
For a Yii application, these are accomplished with the help of CUrlManager.
Yii is one of favourite php framework of all time. Here we give another one hidden secret of Yii which is very helpful for changing the URL structure to your application for more convenient reading.
You must be logged in to post a comment.