Welcome Guest, Not a member yet? Register   Sign In
Routing issue - again!
#2

[eluser]Dam1an[/eluser]
Wrap the :any in brackets, and then change the right hand side of the expression to use $1 for the first variable (and $2 for the next and so on)

So you'll want something like
Code:
$route['page/index/CONTACT-US/(:any)'] = 'page/contact/$1';

Also, not sure if you want the contact us string to be upper case, but I recommend lower case
Also, you could probably get rid of index from the rule as well

Oh, and welcome to CI Smile


Messages In This Thread
Routing issue - again! - by El Forum - 06-20-2009, 05:12 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:20 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:26 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:29 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:33 PM
Routing issue - again! - by El Forum - 06-20-2009, 05:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB