Welcome Guest, Not a member yet? Register   Sign In
I hope it can help you! It is about the index.php.
#6

[eluser]Jon Braud[/eluser]
Using a .htaccess file is the easiest way to go about it in my opinion.

in your website root directory (the one with your index.php file) save a file named ".htaccess" with this content:

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

That will re-write the URL to exclude the "index.php", you don't want to be deleting the index page variable from the config file as CI needs to know what it's index page is. =)

Hope that helps.


Messages In This Thread
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 09:07 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 09:59 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 11:42 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 12:43 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 03:35 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 08:15 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 09:26 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-21-2007, 08:10 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-22-2007, 01:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB