[TYPO3-english] Using domains per language instead of L var
Rens Admiraal
renst3 at e-rank.nl
Thu Feb 18 12:52:47 CET 2010
Hi Henjo,
Here a snippet of what we use to accomplish this.
Greetz,
Rens
# Default settings
config {
linkVars = L
uniqueLinkVars = 1
sys_language_overlay = content_fallback
baseURL = http://www. domain.com/
}
[globalString= IENV:HTTP_HOST = *domain.com]
config {
baseURL = http://www. domain.com/
sys_language_uid = 0
language = en
locale_all = en_US
htmlTagLangKey = en-US
}
page.config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en-US" lang="en-US"
[globalString= IENV:HTTP_HOST = * domain.nl]
config {
baseURL = http://www. domain.nl/
sys_language_uid = 1
language = nl
locale_all = nl_NL
htmlTagLangKey = nl
}
page.config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml"
xml:lang="nl" lang="nl"
[end]
-----Original Message-----
From: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Henjo Hoeksma
Sent: donderdag 18 februari 2010 12:16
To: typo3-english at lists.typo3.org
Subject: [TYPO3-english] Using domains per language instead of L var
Hi list,
I am wondering if it would be possible to have a situation like this be
possible using RealURL:
- using conditions to change the base URL based on the L var
- after that get rid of the L var in the URL
For example:
www.domain.com will be default english
www.domain.nl will be a dutch version
Url's would look like:
www.domain.com/products/
www.domain.nl/produkten/ (instead of www.domain.nl/nl/produkten !)
Any clue's on how to accomplish this?
Thanks in advance.
Henjo
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list