I get a 404 error when trying my application on the server. It works fine on the local host. Can someone help me? Website URL: Here is my site.
Here is my .htaccess file.
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
config.php
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
routes.php
$route['default_controller'] = "HomeController";
source
share