I am new to codeigniter, is it possible to hide some segments in URL but need them inside controller, I know this might be a stupid question but for SEO I need to know.
My current URL:
Now here mobiles is my controller, smartphone is my function within mobiles controller, iphone-5 is the product name(just for SEO purpose) and the last 1534 is the ID which I need for SQL query
Is it possible to get this kind of URL
Here the main ID is not present in URL but in controller when I do $this->uri->segment(4) can I get that ID.
In simple words I just want to hide the ID from URL for SEO
iphone-5---1534in your controller just explode by---