Default language as root

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
antosha
Forum Members
Forum Members
Posts: 60
Joined: Fri Jun 06, 2008 7:20 pm

Default language as root

Post by antosha »

Hello,
I don't know if this question has already been asked but I was wondering if it is possible to make the default language appear as root in the URL. For example:

A website has two languages : french and english;
default language is english.

currently it shows like that :

English :    www.sitename.com/en/content-page
French:   www.sitename.com/fr/content-page

I want to make it like that:

English :    www.sitename.com/content-page
French:   www.sitename.com/fr/content-page

This is mainly for SEO purposes because my current site already has many indexed pages by search engines so I don't want to lose my rankings.
I am using MLE v1.4.1

Thanks a lot  :)
Follow me on twitter: end_tone
Linked In: levchenkoanton
alby

Re: Default language as root

Post by alby »

antosha wrote: English :    www.sitename.com/content-page
French:   www.sitename.com/fr/content-page
Directly no but I think you can do with additional rule in mod-rewrite

Alby
antosha
Forum Members
Forum Members
Posts: 60
Joined: Fri Jun 06, 2008 7:20 pm

Re: Default language as root

Post by antosha »

Thanks,
I suppose that there is something I need to add in the .htaccess file as well as config.php...
Does someone know how to do this ?
Follow me on twitter: end_tone
Linked In: levchenkoanton
Locked

Return to “[locked] CMSMS MLE fork”