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=52717) |
Remove Index.php - El Forum - 06-23-2012 [eluser]Unknown[/eluser] hello, i want to remove index.php from url like http://yoursite.com/index.php/football >> to http://yoursite.com/football i tryed to make .htaccess file with this code RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] but still i cant fix please help Remove Index.php - El Forum - 06-23-2012 [eluser]Unknown[/eluser] Hello, read documentation: http://codeigniter.com/wiki/mod_rewrite/ - This is MOD_Rewrite for Apache. Here is a post about NGIX also: http://www.farinspace.com/codeigniter-nginx-rewrite-rules/ |