![]() |
index.php remove error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18) +--- Thread: index.php remove error (/showthread.php?tid=416) |
index.php remove error - Ahmad Alhaj - 12-01-2014 Hi all, I tried to remove (index.php) from my application URL by the .htaccess file but there is a message error appear told me that the requested url not found ,,,, I'am use Wampserver RE: index.php remove error - Rufnex - 12-01-2014 Please post you htaccess RE: index.php remove error - Dracula - 12-01-2014 (12-01-2014, 06:20 AM)Ahmad Alhaj Wrote: Hi all, Put this in your .htaccess file and remove index.php from the config file at line 68 : $config['index_page'] = ''; <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on # Send request via index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> RE: index.php remove error - bastinhas - 12-06-2014 My .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> |