Multilang (MLE) with pretty Url's doesnt switch language

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
Tony_db
Forum Members
Forum Members
Posts: 24
Joined: Mon Nov 12, 2007 8:31 am
Location: Haarlem - Netherlands

Multilang (MLE) with pretty Url's doesnt switch language

Post by Tony_db »

Hello ppl.

I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.

Can someone give me u clue ?
alby

Re: Multilang (MLE) with pretty Url's doesnt switch language

Post by alby »

Tony_db wrote: I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.
This htaccess is an example of rewrite. You must adjust for your condition.
I don't have mod_rewrite but this htaccess I think that it works for these conditions:
- install in root domain (no subfolder)
- $config['internal_pretty_urls'] = false;
- $config['page_extension'] = '';
- $config['use_hierarchy'] = false;

I suppose that you have uncomment last row and comment row before

Alby
Tony_db
Forum Members
Forum Members
Posts: 24
Joined: Mon Nov 12, 2007 8:31 am
Location: Haarlem - Netherlands

Re: Multilang (MLE) with pretty Url's doesnt switch language

Post by Tony_db »

alby wrote:
Tony_db wrote: I installed the multilang version with 1.2.2 and it realy works great, my compliments to the developer!

But when i switch the website to Pretty Url's the website doesnt show the default language
(like set in de config.language.php file) and the swithcing between the languages doesnt work anymore.
So it only shows 1 language at al time. ( the flags are on screen, but the Url's of the flags dont work).

I used the .htaccess given with the MLE.
This htaccess is an example of rewrite. You must adjust for your condition.
I don't have mod_rewrite but this htaccess I think that it works for these conditions:
- install in root domain (no subfolder)
- $config['internal_pretty_urls'] = false;
- $config['page_extension'] = '';
- $config['use_hierarchy'] = false;

I suppose that you have uncomment last row and comment row before

Alby
Tnx for the response, i will try to edit htaccess a litle bit more.

I will let you know if that will work
ZYV
Language Partners
Language Partners
Posts: 868
Joined: Tue Nov 15, 2005 9:08 pm

Re: Multilang (MLE) with pretty Url's doesnt switch language

Post by ZYV »

assume_mod_rewrite = true?
unsigned double ZYV;
Locked

Return to “[locked] CMSMS MLE fork”