title: friendly url in codeigniter with variables in url
body: <p>I'm making a site using Codeigniter and my URL for a particular product page is like <a href="http://www.domain.com/products/display/" rel="nofollow">http://www.domain.com/products/display/</a>$category_id/$product_id/$offset</p>
  
  <p>$offset is used for limiting the number of pages shown per page when using the Codeigniter's Pagination library.</p>
  
  <p>How I want to make it such that my URL is something more human friendly, like <a href="http://www.domain.com/" rel="nofollow">http://www.domain.com/</a>$category_name/$product_name/$offset ie. <a href="http://www.domain.com/weapons/proton-canon/3" rel="nofollow">http://www.domain.com/weapons/proton-canon/3</a></p>
  
  <p>Can anyone point me the general approach? I just started learning codeigniter and is working on my first project</p>