• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index.php keep showing


I'm coding in http://localhost/somefolder so I created a .htaccess file like the following:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ ./index.php/$1 [L]

I copied that from CI docs, I just added the ./ on the last line, and it's working but the all the links are showing the index.php again! If I remove the index.php manually the links work as well.

So, why index.php is being added and how can I get rid of it forever?


[eluser]Michael Wales[/eluser]
Edit your config.php - the comments tell all.

Aha, that fixed the issue. Many thanks.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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