Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Search Engine Optimization Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 03-13-2007, 04:36 PM   #1 (permalink)
Elite Googler
 
alex-party's Avatar
 
Join Date: Oct 2006
Location: Ireland
Posts: 1,085
Thanks: 0
Thanked 2 Times in 2 Posts
alex-party is an unknown quantity at this point
Exclamation Multilingual Sitemap

Hi,
I've created multilingual web site and now I'm thinking how google will parse this web site.
The trick is that sitemap (url's) within the web site does not change when user switches language. I.e:

"index.php?page=home" [en] -> changes content and keywords
"index.php?page=home" [de] -> changes content and keywords

+Links that switch the content:
"index.php?lang=en" -> switch content under "home page"
"index.php?lang=de" -> switch content under "home page"

So, google will be looking at the same page(url), but reading different contents!

How is it going to add both pages in database and show them in search results?
Or is it going to overwrite contents with the last page it found ([de] in this case) ?

Any ideas welcome!
Thanks!

Last edited by alex-party; 03-13-2007 at 06:48 PM.
alex-party is offline   Reply With Quote
 
Sponsored Links
Old 03-20-2007, 04:32 AM   #2 (permalink)
Elite Googler
 
alex-party's Avatar
 
Join Date: Oct 2006
Location: Ireland
Posts: 1,085
Thanks: 0
Thanked 2 Times in 2 Posts
alex-party is an unknown quantity at this point
I guess I can reply to myself
After a little thinking, I've decided to use apache mod_rewrite module for splitting up web site into /en/de/ sections and still using single code.

This is how .htaccess file looks like:
...........................
RewriteEngine on
Options +FollowSymlinks
RewriteRule ^en/(.*)/?$ index.php?action=$1&lang=en [NC,L]
RewriteRule ^ru/(.*)/?$ index.php?action=$1&lang=ru [NC,L]
RewriteRule ^de/(.*)/?$ index.php?action=$1&lang=de [NC,L]
RewriteRule ^lt/(.*)/?$ index.php?action=$1&lang=lt [NC,L]

RewriteRule ^(.*.html)$ index.php?action=$1 [NC,L]
RewriteRule ^([^/\.]+)/?$ index.php?action=$1 [L]
...........................

Basically if you have web site running on PHP and you're using something like index.php?somepage=id syntax and you want pages look like somedomain.com/en/ , then create .htaccess file with the text above and you'll see how it works.

Hope that helps someone.
alex-party is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sitemap not being indexed raltomonte Search Engine Optimization Forum 7 02-26-2007 04:44 PM
Google participates in Cairo ICT 2007 - Multilingual Search News Alerts Google in the News 0 02-04-2007 03:26 AM
Google Sitemap RashidNQH Search Engine Optimization Forum 0 12-30-2006 03:33 AM
Google Sitemap EmmaP All About Google 5 11-25-2006 09:28 AM
Multilingual Google Access! Virtual Keyboard ! mrigor Site Reviews & Suggestions Forum 7 09-14-2005 07:44 AM


All times are GMT -8. The time now is 02:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community