• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove Index.php

#1
[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



#2
[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-ng...ite-rules/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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