Welcome Guest, Not a member yet? Register   Sign In
URI Routing
#1

[eluser]Unknown[/eluser]
Hi there I've got question with URI Routing

I've changed this behaviour
example.com/class/function/id/

to this:
example.com/product/productname/
with a wildcart

$route['product/:any'] = "catalog/product_lookup";

What if I want that the third segment looks for the function?
So that I can make something like that:


example.com/product/productname/info
example.com/product/productname/fotos
etc.

How could I do that?




Theme © iAndrew 2016 - Forum software by © MyBB