Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
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.
You can help the search engines a little bit with a code like
<meta http-equiv="Content-Language" content="?">
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.
My site uses the cookie to detect the language selected and all page URLs are the same for any language.
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.
joined:Oct 23, 2000
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 :)
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
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?
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.
and you rewrite it to: