Welcome Guest, Not a member yet? Register   Sign In
How to custom route ?

I need to custom URL from service/show/webdesign/p1 to service/webdesign/p1

I'm assign route to :
$route['service'] = "service/show";

When goto URL : service/webdesign/p1 parameter it's not work ! help me ,please.

Thank you Codeigniter
Wiwat Noikhumpuang
Web programmer in Thailand

[eluser]Phil Sturgeon[/eluser]

$route['service/webdesign/:any'] = "service/show/webdesign";

Or perhaps

$route['service/webdesign/p([0-9]+)'] = "service/show/webdesign/p$1";

Thank you very much ^_^

Theme © iAndrew 2016 - Forum software by © MyBB