Problem with mod rewrite for multi-lingual site

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-06-14T05:30:10Z Indexed on 2010/06/14 5:32 UTC
Read the original article Hit count: 196

Filed under:
|

Hi everyone Currently developing a multi-lingual website, Users can access the front page using url with format below: http://mydomain.com/en/ http://mydomain.com/fr/ Problem is here. URL without last "/" (http://mydomain.com/fr) caused page not found problem

Here is the rule RewriteRule ^/?([^./]+)/(.*)$ $2?lang=$1 [L,QSA]

Can anybody help ? Thanks in advance

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about multilingual