title: yii : how to config SEO friendly url at Yii?
body: <p>I create a app by yiic. and then I tried to make a SEO url. I uncomment urlManager at [app root]/protected/config/main.php . And I add following into [app root]/.htaccess. </p>
  
  <blockquote>
    <p>RewriteEngine on</p>
    
    <h1>if a directory or a file exists, use it directly</h1>
    
    <p>RewriteCond %{REQUEST_FILENAME} !-f</p>
    
    <p>RewriteCond %{REQUEST_FILENAME} !-d</p>
    
    <h1>otherwise forward it to index.php</h1>
    
    <p>RewriteRule . index.php</p>
  </blockquote>
  
  <p>When I browse [app]/site/index, I got the error 404 - object not found. But if I browse by [app]/index.php?r=site/index, it is show me my app page. I followed many web sites by googling. but I got same error. </p>
  
  <p>please help me to solve this one.</p>