remove index.php? - 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: remove index.php? (/showthread.php?tid=26810) |
remove index.php? - El Forum - 01-23-2010 [eluser]ronnixw[/eluser] hi, is there any way to avoid from index.php in url? i have .htaccess file : RewriteEngine on RewriteRule ^$ /BEEK/index.php [L] RewriteCond $1 !^(index\.php|img|css|js|video_files|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /BEEK/index.php/$1 [L] and with http://localhost/beek/ I can access default controller/index() i have second controler which I want to access from default, I do it with anchor: <?=anchor('second', 'title="My News"');?> but in url i get http://localhost/beek/index.php/second, how can I get http://localhost/beek/en ? best regards, ronnixw remove index.php? - El Forum - 01-23-2010 [eluser]ronnixw[/eluser] just found solution remove index.php? - El Forum - 01-23-2010 [eluser]vickel[/eluser] which is ??? please share, I'd love to know how you handled that... remove index.php? - El Forum - 01-24-2010 [eluser]Patrick K[/eluser] I'm pretty sure this solution should work: <a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/">http://expressionengine.com/wiki/Remove_index.php_From_URLs/</a> |