![]() |
Issue with SEF URI's - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Issue with SEF URI's (/showthread.php?tid=37388) |
Issue with SEF URI's - El Forum - 01-07-2011 [eluser]jostster[/eluser] I followed the directions here http://ellislab.com/forums/viewthread/176636/ and am still having an issue. I have to have index.php in my url or else I will get the default_controller page. I have set my uri protocol to PATH_INFO and copy/pasted the .htaccess, however, it will not work unless I include index.php/path/to/goto into the uri. I currently have a folder under my root directory which I am making this CI application to test it before it goes live. mysite.com/ci/index.php Here is the mysite.com/ci/.htaccess file Code: #<IfModule mod_rewrite.c> Here is my system/application/config/config.php file Code: $config['index_page'] = ""; Here is my routes Code: #Clothing mysite.com/clothing/shirts?men Inside my products.php controller I have Code: function __construct() Issue with SEF URI's - El Forum - 01-07-2011 [eluser]CroNiX[/eluser] did you remove index.php from $config['index_page'] too? like $config['index_page'] = ''; Issue with SEF URI's - El Forum - 01-07-2011 [eluser]jostster[/eluser] [quote author="CroNiX" date="1294458314"]did you remove index.php from $config['index_page'] too? like $config['index_page'] = '';[/quote] Thanks for the reply. Yes I do have it set as "". I have updated my original post to include my configuration. |