CodeIgniter Forums

Full Version: Mod_Rewrite for code igniter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi, I have developed a new website in codeigniter.. but I don't want the index.php in every URL request.. Please can any one tell me that how can I remove that.. I think with Mod_Rewrite in .htaccess file.. but i don't know what to write there?? I am hosting my website on (Apache Server).. Please help me out as soon as possible.


El Forum

Search the forums for .htaccess, this subject has been discussed $many++ times before.

El Forum

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

for more search forum + wiki