title: How to change a part of the URL in codeigniter
body: <p>How can I change this url:</p>
  
  <pre><code>schoolportal/schoolportal/login
  </code></pre>
  
  <p>To this url:</p>
  
  <pre><code>schoolportal/schoolportal/studentportal
  </code></pre>
  
  <p>So that if a user will click logout and press back, he will not be re-logged in.</p>