title: Redirect to login page instead of index page in Yii
body: <p>When I am going to my application, the page is redirect to the index page in Yii.</p>
  
  <p>As per requirement, I want to redirect to the login page of the user module just like <code>/user/login</code>.</p>
  
  <p>So for doing that I have changed the <code>sitecontroller</code> code index to <code>user/login</code>, but it showed an error.</p>
  
  <p>Can some one tell me how to redirect the <code>user/login</code> page by default instead of index page? Any help and suggestions will be highly appreciable. </p>