Remove index.php

[eluser]morph london[/eluser]
I have a website that uses a .htaccess file to remove the index.php. I goto and it works fine so the .htaccess is working. Now when I do a redirect using the built in function it directs to It obviously does not break the site, but I was just wondering how to remove it. My colleague is building a site exactly the same as mine and his does not do it. But we can not work out if hes changed a setting somewhere.

Thanks Alex

[eluser]GSV Sleeper Service[/eluser]
check your config.php in application/config. the line you are looking for is
$config['index_page'] = "index.php";
if you want to completely remove index.php then you should leave this blank.

[eluser]morph london[/eluser]
Thanks all sorted, I thought that was there to tell the system what my index file was called. If I changed it to default.php for example.

[eluser]GSV Sleeper Service[/eluser]
nope, that would be set in your apache conf.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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