Welcome Guest, Not a member yet? Register   Sign In
URL Rewriting
#7

[eluser]Zeeshan Rasool[/eluser]
Naeem84 , try this way, i thik you are talking about this thing

Code:
$route['(.*)/yourfunction/([1-3]+)/([0-9]+)'] = 'site/yourfunction/$2/$3';

In above code line .* is the first dynamic part of url next is your function and in the last two param are defined.
You can use make levels in url but when you get this in routes then keep track of positioning for url.

Good luck !


Messages In This Thread
URL Rewriting - by El Forum - 10-26-2009, 03:28 AM
URL Rewriting - by El Forum - 10-26-2009, 03:35 AM
URL Rewriting - by El Forum - 10-26-2009, 03:50 AM
URL Rewriting - by El Forum - 10-26-2009, 04:12 AM
URL Rewriting - by El Forum - 10-26-2009, 06:38 AM
URL Rewriting - by El Forum - 10-27-2009, 01:54 AM
URL Rewriting - by El Forum - 10-27-2009, 05:10 AM
URL Rewriting - by El Forum - 10-27-2009, 05:41 AM
URL Rewriting - by El Forum - 10-27-2009, 05:57 AM
URL Rewriting - by El Forum - 10-27-2009, 09:36 PM
URL Rewriting - by El Forum - 10-27-2009, 10:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB