Remove index.php |
[eluser]morph london[/eluser]
I have a website that uses a .htaccess file to remove the index.php. I goto www.mysite.com/admin/login/ and it works fine so the .htaccess is working. Now when I do a redirect using the built in function it directs to www.mysite.com/index.php/admin/login/. 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 Code: $config['index_page'] = "index.php";
[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. |
Welcome Guest, Not a member yet? Register Sign In |