Tag Archives: apache

Clean URLs in PHP Yii Framework

Here is a quick tip to save some trouble. The goal here is to get clean urls like http://localhost/site/test/5 or http://localhost/site/contact without having a query string variable and also not having the filename index.php show up. My configuration: EasyPHP (apache/php/mysql combo for windows) Yii PHP framework In the Yii main.php configuration file you need: Inside the ‘components’ array area. In the primary directory where the index.php file is you need … Continue reading

Posted in General | Tagged , , , , , , , | Comments