Hello.
I want to have my URL like mydomain.com/en/home.php instead of mydomain.com/en_US/home.php.
I have been searching around for this, there is a reference in another post to the howto on this, but I am not able to find it.
I'm using MLE 1.6.3.
Can anyone point me in the right direction?
Many thanks.
Eddie.
Changing URL from en_US to just en..
Re: Changing URL from en_US to just en..
I don't remember if in MLE 1.6.3 you can change LabelURL (in next release yes).eddie67 wrote: I want to have my URL like mydomain.com/en/home.php instead of mydomain.com/en_US/home.php.
I have been searching around for this, there is a reference in another post to the howto on this, but I am not able to find it.
I'm using MLE 1.6.3.
Can anyone point me in the right direction?
1. backup config_lang.php
2. edit config_lang.php
3. change en_US with en:
4. enter in admin Global Settings > MLE languages and correct DEFAULT LANGUAGE$hls = array(
'en' => array(
'locale_cms'=>'en_US',
'block'=>'en',
'parent'=>'en',
'flag'=>'',
'text'=>'English',
'locale'=>'en_US.UTF-8'
),
....
);
5. clean your browser cookies for that site
Alby