[Solved] Multi-language Search Engine Spidering

Bimble

Joined: 2007-12-17
Posts: 34
Posted: Mon, 2008-08-11 10:42

Despite the very extensive options for language settings in g2, I seem to have a gap...

For my g2 site, I need to attract customers in both English and Spanish. I have both languages installed, and everything works great.

My problem is that the search engine spiders see only the default language. So I only get google geo listings in either English or Spanish (depending on the default language setting).

To try and solve this i've purchased a name.es domain, and I've duplicated the site URI and pointed the webserver httpd.conf name.es domain to this new doc root. This part works fine, my name.es now points at the site and is served the default english language. The problem I have is how to change the activeLanguage served to name.es.

What command/code can i add to config.php or index.php to change the activeLanguage?

I'd really appreciate any pointers! Cheers.

 
Bimble

Joined: 2007-12-17
Posts: 34
Posted: Mon, 2008-08-11 21:54

Solved using multiroot and the GalleryEmbed::init activeLanguage field

Some more details in this post:

http://gallery.menalto.com/node/80334

 
Bimble

Joined: 2007-12-17
Posts: 34
Posted: Mon, 2008-08-11 21:55

Oh, and sorry for suggesting there is a gap, there isn't :)