vdegenne
vdegenne

Reputation: 13270

make a friendly multi-language website

Just to make things clear.

I'm trying to figure out how to build a website with a language chooser.

The language chooser is just refreshing the current page but altering the session variable "language" (if the user comes in for the first time I set it up to 'eng').

Now let's figure out the way the crawler is doing, it visits the site and the language is automatically chosen for it, so basically it recognizes the website language and classified it as 'eng'.

I'm just not sure this is the right way to go building a multi-language website since the crawler won't be scanning the pages in a different set of language again, am I right ? (or maybe it can detect that the language has been modified and rescan all the pages...which sounds a bit fancy). So the pages won't be referencing in the search engines database. So what is the right way to build those kind of websites ?

EDIT : I'm thinking about the mod_rewrite, do you think it's a great solution ?

Upvotes: 4

Views: 875

Answers (2)

Your Common Sense
Your Common Sense

Reputation: 157872

I'm thinking about the mod_rewrite, do you think it's a great solution ?

Yes.

Upvotes: 1

3emad
3emad

Reputation: 238

Solve this by making the language as a url attribute for instance:

www.example.com/en/

www.example.com/fr/

Those will be able to crawl and handle content with different languages.

more explained here

Upvotes: 4

Related Questions