url problem |
[eluser]AnishKumar20[/eluser]
I am having this problem of url.. www.mysite.com/index.php?<controller-name> it is showing this in url which does not redirect me to the controller.. i have googled a bit and got to know that index.php can be removed by .htaccess file . But here problem is not index.php . Here problem is that "?" Now how can this be removed . Does anyone here ever faced this problem ? Can anyone explain me the cause of such a problem ? Thanks in advance !!
[eluser]emily12[/eluser]
I'm guessing that it's a config error when you were setting up your site or in htaccess you have an unnecessary ? somewhere? Is this a freshly installed codeigniter or did you customize anything on it?
[eluser]AnishKumar20[/eluser]
thanks.. yes it was config error.. $config['enable_query_strings']="TRUE" .. I had to change it to FALSE .. and it works.. |
Welcome Guest, Not a member yet? Register Sign In |