Multi language & Pretty urls (and SEO)

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
ravonet
Forum Members
Forum Members
Posts: 59
Joined: Fri Jan 11, 2008 12:04 pm

Multi language & Pretty urls (and SEO)

Post 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/
Last edited by ravonet on Thu Feb 05, 2009 8:47 pm, edited 1 time in total.
ravonet
Forum Members
Forum Members
Posts: 59
Joined: Fri Jan 11, 2008 12:04 pm

Re: Multi language & Pretty urls (and SEO)

Post 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.
Last edited by ravonet on Thu Feb 05, 2009 8:48 pm, edited 1 time in total.
ravonet
Forum Members
Forum Members
Posts: 59
Joined: Fri Jan 11, 2008 12:04 pm

Re: Multi language & Pretty urls (and SEO)

Post 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  ;)
alby

Re: Multi language & Pretty urls (and SEO)

Post 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
ravonet
Forum Members
Forum Members
Posts: 59
Joined: Fri Jan 11, 2008 12:04 pm

Re: Multi language & Pretty urls (and SEO)

Post by ravonet »

Thanks for your reply.

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

Return to “[locked] CMSMS MLE fork”