remove index.php from URI |
[eluser]Unknown[/eluser]
hi all i want to remove index.php from my url but there is problem. i am redirecting a page by redirect function this code in welcome file Code: redirect("index.php/campaigns/job/home") this code in routes file Code: $route['campaigns/job/(:any)'] = "jobcontroller"; but i am not able to use any function of "jobcontroller" controller. plz give me any idea for solving this problem
[eluser]gon[/eluser]
You can remove index.php by reading the docs: http://ellislab.com/codeigniter/user-gui.../urls.html And you must not do a redirection on welcome. Just create your controller and set it as the default one: http://ellislab.com/codeigniter/user-gui...uting.html |
Welcome Guest, Not a member yet? Register Sign In |