[eluser]GK[/eluser]
Hi All,
to elaborate more,
hostelsearch.in/index is routing to hostelsearch.in/index.php/HostelSearch
hostelsearch.in/about is routing to hostelsearch.in/index.php/HostelSearch/about
BUT,
hostelsearch.in is NOT routing to hostelsearch.in/index.php/HostelSearch
and returning a 404.
My .htaccess:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/HostelSearch/$1 [L]
routes.php:
$route['default_controller'] = 'HostelSearch';
config.php:
$config['index_page'] = "index.php";
$config['uri_protocol'] = "AUTO";
Any solutions??
Thanks