[TYPO3] Multidomain - multilanguage
Dmitry Dulepov
dmitry at typo3.org
Mon Oct 9 17:00:54 CEST 2006
Hi!
Logi Huldar Gunnlaugsson wrote:
> I have a little problem with one of my clients. I set up a multi
> language website for his company a while ago. The website is working
> fine and the language system as well. Now he wants the system to work on
> many domains depending on language i.e. the domain firmname.de would
> automatically bring up the german version of the site but firmname.com
> would give the user the English version. Being a bit of a newbee I did
> not think of this situation beforehand.
> Is it possible to do this? and so, can anyone give me some advice on how
> to do this. The Typo3 version is 3.8.1 and is running on LAMP.
I would do this as a combination of:
- mod_rewrite
- wildcard domains
I.e. I would setup virtual host with ServerAlias as "*.mydomain.com". Then I would redirect anything that looks like "de.mydomain.com/my/url" to "www.mydomain.com/de/my.url". This example uses realurl syntax but it is easy to setup with L variable too.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list