Welcome Guest, Not a member yet? Register   Sign In
config route help
#1

[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

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?


Messages In This Thread
config route help - by El Forum - 01-09-2010, 03:27 AM
config route help - by El Forum - 01-09-2010, 05:07 AM
config route help - by El Forum - 01-09-2010, 02:11 PM
config route help - by El Forum - 01-09-2010, 07:34 PM
config route help - by El Forum - 01-10-2010, 01:22 AM
config route help - by El Forum - 01-10-2010, 04:02 AM
config route help - by El Forum - 01-10-2010, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB