title: How to make permalink in codeigniter.... social case
body: <p>i want to build a website using codeigniter. The website is look like a social agregator for my school. to build my website i plan :</p>
  
  <ol>
  <li>making a class "pages". The class "pages" has a common function login,<br>
  register , logout.. etc.</li>
  <li>making a "user" class the class "user" has a function related to
  user needs like: edit profile, add social api, <strong>view_profile</strong> etc.</li>
  </ol>
  
  <p>i know if we want to see a profile we should pass an url like : </p>
  
  <pre><code>www.Mysite.com/user/view_profile/ &lt;user name&gt;
  </code></pre>
  
  <p>I dont know how to make a direct user pages (like permalink). i want my user can access his pages just only to type:</p>
  
  <pre><code>www.Mysite.com/ &lt;user name&gt;
  </code></pre>
  
  <p>i have read the user_guide in code igniter but i still dont understand what the url clas. is there any body can explain me how to make it  ?</p>