Page 1 of 1

Multi language & Pretty urls (and SEO)

Posted: Thu Feb 05, 2009 10:31 am
by ravonet
Hi, i've been searching the forum, but did not find the right solution, hope you can help.

I'm running CMS MS MLE 1.5.2 for a site with two languages (Danish & English)

The danish version is to be my default site.

Right now the url for my sub pages (example: contact) look like this:

Danish subpage: mysite.dk/index.php?page=contact&hl=da_DK
English subpage: mysite.dk/index.php?page=contact&hl=en_US

What I would like is pretty urls like this:

Danish subpage: mysite.dk/da/contact/
English subpage: mysite.dk/en/contact/

Is this possible?

And one more question - is it possible to define different site-aliase for each language?

Like this:

Danish subpage: mysite.dk/da/kontakt/ or even better mysite.dk/kontakt/
English subpage: mysite.dk/en/contact/

Re: Multi language & Pretty urls (and SEO)

Posted: Thu Feb 05, 2009 2:36 pm
by ravonet
Found a solution for part of my question in the forum: http://forum.cmsmadesimple.org/index.ph ... #msg133074

ThanksĀ  :)

But still, is it somehow possible to have urls in different languages? Like:

Danish subpage: mysite.dk/da/kontakt/
English subpage: mysite.dk/en/contact/

Site-aliases for each language...

I am asking because the url is quite important for SEO reasons, and it would be nice to tell the search engines what the sub pages are about via the url.

Re: Multi language & Pretty urls (and SEO)

Posted: Thu Feb 05, 2009 8:47 pm
by ravonet
CMSMS MLE gives me some SEO problems with duplicate content.

My default website url is www.mysite.dk but because I use CMSMS MLE my danish "HOME" button links to www.mysite.dk/da/home/

This is a problem because Google look at this as duplicate contet - the same content can be found at two different urls.

An other problem is that my sub pages now links to www.mysite/da/home/ while my ekternal links point at www.mysite.dk - so I can actually get pagerank for both www.mysite.dk and a pagerank for www.mysite.dk/da/home/ instead of contentrating this on the first url.

Is it possible to have a CMSMS MLE website with this url structure:
Default danish site: www.mysite.dk
English site: www.mysite.dk/en/
Italian site: www.mysite.dk/it/

This way all my danish sub pages will link to the right url and there is no duplicate content.

I hope you understand what I'm trying to explain. And I would love to see a solutionĀ  ;)

Re: Multi language & Pretty urls (and SEO)

Posted: Fri Mar 06, 2009 4:29 pm
by alby
ravonet wrote: Right now the url for my sub pages (example: contact) look like this:

Danish subpage: mysite.dk/index.php?page=contact&hl=da_DK
English subpage: mysite.dk/index.php?page=contact&hl=en_US

What I would like is pretty urls like this:

Danish subpage: mysite.dk/da/contact/
English subpage: mysite.dk/en/contact/
If I understand you want da_DK to da only:
- look to config_lang.php.alby.label (attention to cookie, search in forum)
- use pretty url

ravonet wrote: And one more question - is it possible to define different site-aliase for each language?

Like this:

Danish subpage: mysite.dk/da/kontakt/ or even better mysite.dk/kontakt/
English subpage: mysite.dk/en/contact/
No, search in forum for different aliases
This is a choice of cmsms for retrieve pages with id (ugly) and/or alias
Maybe in 2.0

Alby

Re: Multi language & Pretty urls (and SEO)

Posted: Tue Mar 10, 2009 6:50 pm
by ravonet
Thanks for your reply.

I think I will have to wait for 2.0 before I start to use MLE.