title: how to make codeigniter dynamic url search engine friendly
body: <p><strong>Question:</strong>
  how to make codeigniter dynamic url search engine friendly?</p>
  
  <p><strong>Example: 1</strong></p>
  
  <p><strong>My Current URL:</strong> After selecting menu called "Articles"</p>
  
  <pre><code>http://localhost/lw_user/home_control/getMenu/52
  </code></pre>
  
  <p><strong>Expected URL:</strong> </p>
  
  <pre><code>    http://localhost/articles
  </code></pre>
  
  <p><strong>Example:2</strong>
  <strong>My Current URL:</strong> After selecting sub-menu called "thehindu" under menu "articles"</p>
  
  <pre><code>http://localhost/lw_user/home_control/getPage/6
  </code></pre>
  
  <p><strong>Expected URL:</strong></p>
  
  <pre><code>http://localhost/articles/thehindu
  </code></pre>
  
  <p><strong>NOTE:</strong> This is dynamic URL and contents are fetching from database</p>