06-30-2008, 09:09 PM
[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.Here is my htaccess code.
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.
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'] = "";
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.