[eluser]kezman[/eluser]
Hey!
My routes.php doesn't work.
Here the code
Code:
$route["test"] = "blogs";
$route['default_controller'] = "mainpage";
$route['404_override'] = '';
My .htaccess saved in ANSI
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|css|images|robots\.txt|css)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
In my config.php
Code:
$config['uri_protocol'] = 'AUTO';
I type
Code:
http://localhost/test/
and got "page not found" and the same URL.
What's wrong?
I want URL to be changed to
Code:
http://localhost/blogs/
first
Thanks!