Welcome Guest, Not a member yet? Register   Sign In
Mod_Rewrite for code igniter

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 hostmonster.com (Apache Server).. Please help me out as soon as possible.


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

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

for more search forum + wiki

Theme © iAndrew 2016 - Forum software by © MyBB