Page 1 of 1

Default language as root

Posted: Thu Oct 02, 2008 9:16 pm
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  :)

Re: Default language as root

Posted: Thu Oct 02, 2008 9:46 pm
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

Re: Default language as root

Posted: Fri Oct 03, 2008 7:06 pm
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 ?