01-09-2010, 03:27 AM
[eluser]dadamssg[/eluser]
so i want my urls to be clean and i thought they were. i put something in my .htaccess file at my root so i could go to
mysite.com/blog
instead of
mysite.com/CodeIgniter/index.php/blog
and then i set my config file like so
but now when i submit a form on one of my controllers it goes to
http://mysite.com/CodeIgniter/index.php/mains
which pulls up and displays the right page
but how the heck do i get the"/CodeIgniter/index.php" out of there for good?
so i want my urls to be clean and i thought they were. i put something in my .htaccess file at my root so i could go to
mysite.com/blog
instead of
mysite.com/CodeIgniter/index.php/blog
and then i set my config file like so
Code:
$config['base_url'] = "http://mysite.com/CodeIgniter/";
but now when i submit a form on one of my controllers it goes to
http://mysite.com/CodeIgniter/index.php/mains
which pulls up and displays the right page
but how the heck do i get the"/CodeIgniter/index.php" out of there for good?