I have developed codeigniter based web application.its working perfectly on my localhost,remove index.php in url using htaccess. I am using godaddy server upload entire file to server and run it. it getting an error 404 error page. i am accessing every controller in url go to 404 error page. I am manaually include index.php in url it worked. ex www.mysite.com/demo/admin/login (not worked) www.mysite.com/demo/admin/index.php/login(worked fine) i have mention my htaccess code here RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L,QSA] Anybody help me,thanks
Lets try with this htaccess RewriteEngine on Options -Indexes RewriteCond $1 !^(player|images|js|css|favicon\.ico|index\.php|robots\.txt) RewriteRule ^(.*)$ index.php?/$1 [L] and try change the in the config file $config['uri_protocol'] = 'AUTO';//PATH_INFO or QUERY_STRING or REQUEST_URI or ORIG_PATH_INFO