Welcome Guest, Not a member yet? Register   Sign In
Removing index.php from url
#1

[eluser]Computerzworld[/eluser]
Hello. I am having problem in removing index.php from url. I made one htaccess file for this and also removed index.php from config file like this.
Code:
$config['index_page'] = "";
Here is my htaccess code.
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|uploads|jscripts|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

This works perfectly in my windows environment but doesn't works with linux environment. In windows all the urls are without index.php and the same code I have uploaded to linux server I have to write index.php after url for the first time after it works. I don't know what is the problem behind it. Please help me. Thanks in advance.


Messages In This Thread
Removing index.php from url - by El Forum - 06-30-2008, 09:09 PM
Removing index.php from url - by El Forum - 06-30-2008, 10:37 PM
Removing index.php from url - by El Forum - 06-30-2008, 10:45 PM
Removing index.php from url - by El Forum - 07-01-2008, 10:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB