Hi.
Could anyone help me here with this rewrite rule please?
From this
http://www.SOMEDOMAIN.com/en/somefolder/
To this
http://www.SOMEDOMAIN.com/frontend/somefolder/?idLang=2
From this
http://www.SOMEDOMAIN.com/es/somefolder/
To this
http://www.SOMEDOMAIN.com/frontend/somefolder/?idLang=3
(...)
And for several other languages...where "pt" when the parameter is "idLang=1", "en" when the parameter is "idLang=2", "es" when the parameter is "idLang=3", "br" when the parameter is "idLang=5" and "pt" when the parameter is empty.
Thanks in advance.