[eluser]WebMada[/eluser]
Hi!
Here is my .htaccess code:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
RewriteRule ^(.*)(recent-news)$ content/recent_news [L]
It works correctly with CI 1.7 but when I migrate to CI 2.0.2 it doesn't work
The redirection to index.php is OK but the following RewriteRule not!
Why???
I try to replace the line
RewriteRule ^(.*)(recent-news)$ content/recent_news [L]
by using CI URI routing in config/routes.php
$route[‘recent-news’] = ‘content/recent_news’;
but no success, the same problem, why?
WebMada