I have static pages to rewrite by changing urlManager like this. 'login'=>'user/login'
which allows you to www.site.com/user/login.phpdisplay howwww.site.com/login.php
The goal is to remove user/from everything that is in the user directory.
source
share