Two domains and two languages on one site using eZ Publish - part 2
Earlier I've described how to chose proper language depending on domain. When you want to smoothly switch between these two languages you have to comment out SiteURL entry in settings/override/site.ini.append.php file and set this variable in config files of each language.
I have two directories in settings/siteaccess: pol and eng, so I've add in section SiteSettings
SiteURL=www.somedomain.pl
in file settings/siteaccess/pol/site.ini.append.php, and
SiteURL=www.somedomain.eu
in file settings/siteaccess/eng/site.ini.append.php.
Komentarze
Log in or create a user account to comment.