Ok, i have an old static site in english. Customer wishes to upgrade it to 3 languages and dynamic content
He also wishes for specific url patrerns
In english everything will be as:
www.example.com/path/to/page.htm
In all other languages he wants:
www.example.com/language/path/to/page.htm
so, page.php?lang=&var=test AND page.php?lang=english&var=test will serve www.example.com/somepage.htm
On the other hand, page.php?lang=french&var=test will serve www.example.com/french/somapage.htm
From my limited knowledge, I constucted:
# English (as defualt)
RewriteRule ^$ /path/to/page.php?lang=
RewriteRule ^$ /path/to/page.php?lang=en
# Other Languages
RewriteRule ^(french|greek|italian)/?$ $1/path/to/page.php?lang=$1
is this approach good or there is a better solution?