Forum Moderators: phranque
Please see this recent thread [webmasterworld.com] on the same subject.
The only difference is the "purpose" of the project, and you might want to name the "master subdirectory" mentioned in that thread to "languages" (or "lang", or similar) for clarity.
Please review our Forum Charter [webmasterworld.com], and post questions back here.
Thanks,
Jim
RewriteCond $1 !^ro/
RewriteCond %{HTTP_HOST} !^www\.example\.com
RewriteCond %{HTTP_HOST} ^([a-z]([\-_]?[0-9a-z]+)+)\.example\.com
RewriteRule (.*) /$1?theLang=ro [L]
Should I enable something on my server to work, or?
P.S. I am using .htaccess