Hi -
My company has 30 local domains in addition to the main domain.
I would like to know how can i redirect to the relevant local domain given a pre-defined value (like language)?
For example:
if the "lang" parameter equals "fr" then redirect to www.example.fr . if it's "de" then redirect to de.example.com and so on ...
I know this sounds trivial, however, i seek for a way in which i wouldn't have to implement 30 "if" statements in order to do this.
does anybody know efficient way to do this?
thanks in advance