I’ve upgrade my EE site from version 2.0.2 to 2.5.2 and all went well except I’m having an issue with my url structure.
In version 2.0.2 this line in my htaccess file worked fine:
RewriteRule ^(en|fr|nl|es)/(.*)$ $2/$1I used it so i could use url’s like
<a href="http://www.site.com/en/template_group">http://www.site.com/en/template_group</a> instead of <a href="http://www.site.com/template_group/en">http://www.site.com/template_group/en</a>The RewriteRule changed the order of language selector and template group so EE could find the correct template. But since the upgrade to 2.5.2. this isn’t working anymore. If i use {segment_1} it still gives me the language and not the template.
For completeness these are the other lines in .htaccess:
RewriteRule ^(en|fr|nl|es)/(.*)$ $2/$1
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]Any idea?