Home / Community / Blog

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.

Just my blog...

Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30