Codeigniter Make URL SEO FRIENDLY
<p>My current URL is like:</p>

<pre><code>www.hostname.com/get_city/
</code></pre>

<p>(this url is already shorten by using routes)
Here <code>get_city</code> is my method name and now <strong>what i exactly want is</strong>...</p>

<p>1)<strong>remove</strong> controller name from url</p>

<p>2)<strong>pass selected city value</strong> from dropdown and set in URL as a parameter</p>

<p>So,Required url is: <code>www.hostname.com/california</code> OR <code>www.hostname.com/newjersey</code> </p>

<p>NOTE:I know how to use routes but in such case how to make dynamic URL?!
<strong>AND please don't give me direct reference of ellislab docs because i have already tried those things</strong></p>