Welcome to WebmasterWorld Guest from 54.167.83.224

Forum Moderators: open

Message Too Old, No Replies

Multilingual site indexing in Search Engines

How can i get listed in search engine for my multilingual site

     
10:46 am on Jul 22, 2003 (gmt 0)

New User

10+ Year Member

joined:July 22, 2003
posts:4
votes: 0


I want to index my site which is in seven languges. The pages are dynamic through JSP.

Would it be enough for search engine to recognize the content language by content (links format for different language www.mysite.com?userlanguageid=fre)

Looking forward for a solution.

11:12 am on July 22, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 24, 2002
posts:1130
votes: 0


Hello Naveen, Welcome to WebmasterWorld.

You can help the search engines a little bit with a code like

<meta http-equiv="Content-Language" content="?">

or
<html lang="?">

where you put the language code on the place of the question mark. See also Meta "Content Language" Tag Usage. [webmasterworld.com]

For some searches/searchengines/directories the ccTLD (Country Code Top Level Domain; like '.se' for Sweden) of a domain is also important.
For example on www.google.de the user can choose to restict the search reselts to German pages only. Google will then just show pages from domains with '.de' or an IP address known to be in Germany.

11:54 am on July 22, 2003 (gmt 0)

New User

10+ Year Member

joined:July 22, 2003
posts:4
votes: 0


Thanks

Is that enough I mean the language tag <html lang="de">. My site uses the cookie to detect the language selected and all page URLs are the same for any language.

Once again thanks a lot.

12:37 pm on July 22, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 24, 2002
posts:1130
votes: 0


My site uses the cookie to detect the language selected and all page URLs are the same for any language.

That won't work for search engines. They will only be able to crawl the default language, meaning that no potential visitor can find the site through a SE for any other language. Search engines will need a unique URL for all these seven languages. And most likely you will need these unique URLs also for (deep) links to your pages.
12:39 pm on July 22, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 14, 2002
posts:157
votes: 0


Naveen, you have to use *different* URLs for all language versions. SEs can't handle cookies. Common method is to put every language into a separate folder, e.g.:

www.xyz.com/en/
www.xyz.com/de/
www.xyz.com/fr/

etc. After all, every language constitutes an independent web site, so this method is appropriate.

You can also use HTTP_ACCEPT_LANGUAGE header to redirect new users to the language version they prefere.

1:02 pm on July 22, 2003 (gmt 0)

Moderator from DK 

WebmasterWorld Administrator 10+ Year Member

joined:Oct 23, 2000
posts:2531
votes: 1


>Would it be enough for search engine to recognize the content language by content

YES.

Takagi nailed it on the domain issue - use ccTLD's if you have that option.

Marek also gave a good answer. Make sure you have unique language content on each page (eg. dont mix them). Make sure your URL's are static and support the page with the meta language tag.

Then you should be ok.

We've had quite a few discussions about this topic:

Translations will get you top rankings in major engines [webmasterworld.com]
Is good SEO practise enough in Europe? [webmasterworld.com]
European Search Engine Beginner [webmasterworld.com]

Do a site search as well, you'll find plenty of good threads on the subject :)

1:07 pm on July 22, 2003 (gmt 0)

New User

10+ Year Member

joined:July 22, 2003
posts:4
votes: 0


Thanks Takagi and Marek

Now i got the point except one thing

File name is same for all languages, lets say there is a file xxxxx.htm how can i put this file in folders
e.g.
www.xyz.com/en/
www.xyz.com/de/
www.xyz.com/fr/

because the same file serve the different language (dynamically through JSP and uses the cookie for the preferred language)?

Do i need to create differnt JSP for different languages and put them in the respective language folders?

1:11 pm on July 22, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 24, 2002
posts:1130
votes: 0


The following 3 URLs are different for a browser and a search engine:

www.xyz.com/en/page1.htm
www.xyz.com/de/page1.htm
www.xyz.com/fr/page1.htm

Filenames are just a part of the total URL. So yes, you can keep the filename the same, if you put these files in different folders.

1:17 pm on July 22, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 14, 2002
posts:157
votes: 0


Naveen, you can either put your JSP files in the respective language folders, or you can use one JSP script with parameters and rewrite URLs via mod_rewrite or something like that. For instance the real URL may read

www.xyz.com/abc.jsp?lang="en"

and you rewrite it to:

www.xyz.com/en/abc.jsp

1:22 pm on July 22, 2003 (gmt 0)

New User

10+ Year Member

joined:July 22, 2003
posts:4
votes: 0


ok

lol...........

Got it.

Thanks