Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

multi domains + multi lingual site


Reply

3 Posts   1474 Views

Avatar
snaip

6 May 2010 at 10:49pm Community Member, 180 Posts

hi

i have site with 3 languages pl, en, de

for each site i have one domain .pl .com .de

each home page of language must has own different url :/

www.domain.pl -> polish home page
www.domain.pl/en -> english home page
www.domain.pl/de -> german home page

in htaccess i redirected each domain to thair home page

RewriteCond %{HTTP_HOST} ^(www\.)?domain-de\.de$ [NC]
RewriteRule ^/?$ http://www.domain-de.de/de/ [R=301,L]

RewriteCond %{HTTP_HOST} ^(www\.)?domain-pl\.pl$ [NC]
RewriteRule ^/?$ http://www.domain-pl.pl/pl/ [R=301,L]

RewriteCond %{HTTP_HOST} ^(www\.)?domain-en\.en$ [NC]
RewriteRule ^/?$ http://www.domain-en.en/en/ [R=301,L]

is it possible to set the domain to thair language without /de or /en ?

http://silverstripe.org/general-questions/show/264154#post264154
http://silverstripe.org/general-questions/show/281604#post281604
http://silverstripe.org/general-questions/show/281176#post281176

Avatar
snaip

9 May 2010 at 10:44pm Community Member, 180 Posts

???

Avatar
Anonymous user

25 May 2010 at 2:37am Community Member, 1 Post

You should to tab Behavior -> Use this page as the 'home page' for the following domains: (separate multiple domains with commas)
and just input domains