Welcome Guest, Not a member yet? Register   Sign In
mange routes with htaccess file
#1

[eluser]YahyaKACEM[/eluser]
hi, i have this content in my routes file :
Code:
$route['logout']    = 'admin/logout';
$route['res_yass']    = 'page/index/res_yass';
$route['res_nesr']    = 'page/index/res_nesr';
$route['societe']    = 'page/index/societe';
$route['app_type']    = 'page/index/app_type';
$route['future_plan_situation'] = 'page/index/future_plan_situation';
$route['plan_situation']          = 'page/index/plan_situation';
$route['fini_stand']   = 'page/index/fini_stand';
$route['future_app_type']  = 'page/index/future_app_type';
that works fine now but whenever i want to add a page i have to add it in the routes page and that's not a good idea. so how can i change it in a htaccess file except the logout one.
thanx in advance.


Messages In This Thread
mange routes with htaccess file - by El Forum - 12-06-2012, 01:20 AM
mange routes with htaccess file - by El Forum - 12-06-2012, 04:18 AM
mange routes with htaccess file - by El Forum - 12-06-2012, 05:40 AM
mange routes with htaccess file - by El Forum - 12-06-2012, 01:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB