• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mod_Rewrite for code igniter

#1
[eluser]ummarbhutta[/eluser]
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.

Ummar

#2
[eluser]wiredesignz[/eluser]
Search the forums for .htaccess, this subject has been discussed $many++ times before.

#3
[eluser]Yash[/eluser]
mine
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

for more search forum + wiki


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.