[TYPO3] Multidomain - multilanguage

Logi Huldar Gunnlaugsson logi at spuni.is
Mon Oct 9 17:39:45 CEST 2006


Thanks for your prompt reply Dmitry. 

The problem is that I need to be working on the Top Level Domain (TLD)
but not subdomains. The site works like this at the moment:

www.mydomain.com/de/page -> would give me a page in german,
www.mydomain.com/fr/page -> would give me a page in french and
www.mydomain.com/en/page -> would give me the same page in english

What I need is to make it so that

www.mydomain.de/page -> would give me the german page above,
www.mydomain.fr/page -> would give me the french page but
www.mydomain.com/page -> would give me the english page

I suggested to my client to make this happen on subdomains
(de.mydomain.com, fr.mydomain.com etc.) but he is fixed on working only
with TLDs.

cheers,
Logi

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Dmitry
Dulepov
Sent: 9. október 2006 15:01
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] Multidomain - multilanguage

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.)
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english






More information about the TYPO3-english mailing list