Removing index.php from links generated by Ci [SOLVED] |
[eluser]lenswipe[/eluser]
Hi guys Im new here so if this has already been posted and solved i apologise, however ive noted that CI has a tendancy to put /index.php/ in the links it spits out, what i mean by that is that i thas when it creates say a form it has the form action as: <form action="domain.com/index.php/blog"> ive googled in various places and all i can come up with is a .htaccess tutorial at best(which doesnt really prevent it spitting this out). Note: I do have URL Rewriting working, so if you were considering posting about .htaccess - dont bother, ive already been there Regards -Robert
[eluser]lenswipe[/eluser]
Solved it guys with this helpful post here: http://ellislab.com/forums/viewthread/65085/ from Michael Wales - thanks Michael! To cut a long story short, you need to go into the config.php file and change: Code: $config['index_page'] = 'index.php'; Code: $config['index_page'] = '';
[eluser]InsiteFX[/eluser]
Guess you didn't read the CodeIgniter User Guide! LOL InsiteFX
|
Welcome Guest, Not a member yet? Register Sign In |