• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
url problem

#1
[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 Smile !!

#2
[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?

#3
[eluser]AnishKumar20[/eluser]
thanks..
yes it was config error..
$config['enable_query_strings']="TRUE" ..
I had to change it to FALSE ..
and it works.. Smile Smile Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.