Two domains and two languages for one site using ez Publish
I want to use Polish language for polish address (.pl) and English version for European address (.eu).
First I've configured web server (apache) to both adresses use same DocumentRoot. I've setup eZ using one of the addresses. Then in settings/override/site.ini.append.php file I've changed in SiteAccessSettings section:
MatchOrder=uri
to
MatchOrder=uri;host HostMatchType=map
and I've added
HostMatchMapItems[]=www.stona1.pl;pol HostMatchMapItems[]=www.strona2.eu;eng
now default language depends on address one use to access site.
Kommentare
Bitte melden Sie sich Logan oder registrieren Sie sich um kommentieren zu können.