URL rewriting using htaccess |
[eluser]shankar ganesh[/eluser]
In controller folder i am having two folders named as User and admin, one for user and another for admin I can able to access user panel by http://wwa.jumpwebservice.com/ARG/ and for admin panel http://wwa.jumpwebservice.com/ARG/index.php/admin/home where "admin" is folder name and "home" is controller name and how to customize URL like http://wwa.jumpwebservice.com/ARG/admin and also if URL is like http://wwa.jumpwebservice.com/ARG/index.php/admin/about it should be rewrite as http://wwa.jumpwebservice.com/ARG/admin/about and in router.php i initiliazed as Code: $route[‘default_controller’] = “user/home”; Code: $route[‘default_controller’] = “admin/home”; |
Welcome Guest, Not a member yet? Register Sign In |