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

[eluser]Naeem084[/eluser]
hi zeeshan...
thanks again... i got ur way of rewriting but there is still a confusion...
and that is i write that url in this way that the last segment will be a name of a destination and there should not be any number at the last..

like here

Code:
$route['http://ans/travel/client/destinations/index/([0-9]+)/([0-9]+)'] = 'http://ans/travel/client/destinations/$1';

'http://ans/travel/client/destinations/$1';

in this line there will be a destinations and then '/' and then a number but what i want is..
Code:
'http://ans/travel/client/countryname-transfers';
hope u can solve this.... thanks in advance


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