se vuoi togliere "index.php" dal url, devi attivare: urlManager, che si trova in protected/config/main.php, ed aggiungere "showScriptName=>false", e dopo aver controllato che sia attivo il modulo mod_rewrite aggiungi il file .htaccess (se non è attivo, lo attivi nel config di apache):
codice:RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php

Rispondi quotando
