2011-09-24, 19:24:45
yurifanboy Wrote:I found a conflict between using language codes in the URL with the I18N plugin and using clean URLS with the news manager. The URL for the news manager includes the %language% instead of the particular en/es/de ect. I guess this would involve modifying the news manager .htaccess rules too? I'm afraid to screw up my rewrite rules.
I don't know when you get the %language% in the URL.
I just tried (the newest) news manager, fancy URLs switched on, with (the newest) I18N plugin and the URLs generated always contain en or de.
To forward these URLs to news manager, it is sufficient to remove the ^ in front of the news manager rules. But you can also change the rules to
Code:
RewriteRule ^(es|en)/(blog)/(tag|post|page|archive)/([^/.]+)/?$ index.php?id=$2&$3=$4 [L]