Elxis CMS Forum

Support => General => Topic started by: ROUBOS on May 16, 2011, 18:36:08

Title: auto directs to /en [SOLVED]
Post by: ROUBOS on May 16, 2011, 18:36:08
How can I stop the site from auto directing to /en/ ????
I want it to only be in greek, but it auto directs to en/ (english) for which I have to setup anything.

thanks
Title: Re: auto directs to /en
Post by: stepsdesigns on May 16, 2011, 18:52:04
How can I stop the site from auto directing to /en/ ????
I want it to only be in greek, but it auto directs to en/ (english) for which I have to setup anything.

thanks

are u adding greeck language to your elxis language ?
if yes go to your admin area and languages choose main language to greeck
Title: Re: auto directs to /en
Post by: stepsdesigns on May 16, 2011, 18:59:26
admin area---->Languages Manager
then choose Greece and at the top right u will find default click on it and greeck will become your default language
Title: Re: auto directs to /en
Post by: ROUBOS on May 16, 2011, 19:07:41
I did have Greek as default but also had english. Just removed english to make sure. It might be directing me to en/ since my OS language is English
thanks
Title: Re: auto directs to /en
Post by: webgift on May 16, 2011, 19:22:35
File : index.php
Folder : Elxis root
Line : ~74

Find this line of source code :
$elxis_language->toBrowserLang();
and change that to :
//$elxis_language->toBrowserLang();
Title: Re: auto directs to /en
Post by: ROUBOS on May 17, 2011, 01:18:23
thank you
Title: Re: auto directs to /en [SOLVED]
Post by: webgift on May 17, 2011, 01:29:42
You are welcome ;)