Anojan_Sivarajah - 3:42 am on May 10, 2012 (gmt 0) [edited by: incrediBILL at 4:10 am (utc) on May 10, 2012]
my site is sef enabled and done in joomla.
what i need is a rewrite rule so
http://www.example.com/fr/corporate/news points to http://www.example.com/corporate/news/?lang=fr
i tried few url rewrite rules but it generates 404 error category not found page. i believe it looks for thr fr folder or a category called fr.
i have a rule which is
RewriteRule ^/([a-z][a-z])/(.*) /$2/?lang=$1 [R=301,L]
but this changes the value in the address bar. without r=301 it doesn't work at all –
[edit reason] fixed URLS, use Example.com [/edit]
[edited by: incrediBILL at 4:10 am (utc) on May 10, 2012]