如何最大限度地提高多语言网站的知名度?
我被告知要了解如何最大限度地提高即将推出的 Web 应用程序的可见性,该应用程序最初以多种语言提供,特别是法语和英语。
我有兴趣了解机器人(如谷歌机器人)如何抓取提供多种语言的网站。
我有几个关于机器人和索引引擎的行为的问题:
- 网站是否应该在 URL 中指定语言?
- 如果通过 cookie 设置语言(假设可以更改语言的链接),机器人会抓取两种语言的网站吗?
- 我应该为每种语言使用不同的域吗?
- 什么元标记可以用来帮助机器人理解网站的语言?
- 我是否遗漏了任何我应该注意的事情?
I've been told to understand how to maximize the visibility of an upcoming web application that is initially available in multiple languages, specifically French and English.
I am interested in understanding how the robots, like the google bot, scrapes a site that is available in multiple language.
I have a few questions concerning the behaviour of robots and indexing engines:
- Should a web site specify the language in the URL?
- Will a robot scrape a site in both language if the language is set through cookies (supposing a link that can change the language)?
- Should I use a distinct domain for each language?
- What meta tag could be used to help a robot in understanding the language of a web site?
- Am I missing anything that I should be aware of?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
网站。
b.对于 SEO,最好使用 www.mysite.com/en/ 而不是 en.mysite.com,因为 PageRank 不会在不同的域中稀释。
<meta http-equiv="content-language" content="en">
site.
b. For SEO, it's better to use www.mysite.com/en/ that en.mysite.com because the PageRank is not diluted in different domains.
不,不一定。
不可以。您应该按照 Eduardo 的建议使用
content-language
属性。或者,将执行相同的工作 AFAIK。
见上文
Stack Overflow 共识(抱歉,我一生都找不到相关问题!我们对此进行了大量讨论,也许它们因与编程无关而被关闭)是:是的,有一个不同的域如果您想最大限度地提高该国家/地区的搜索引擎可见度,请针对每个国家/地区。
No, not necessarily.
No. You should use a
content-language
attribute as suggested by Eduardo. Alternatively,<html lang='en'>
will do the same job AFAIK.See above
The Stack Overflow consensus (I'm sorry, I can't find for the life of me find the relevant questions! We had huge discussions on this, maybe they were closed as not programming related), is: Yes, have a different domain for each country if you want to maximize search engine visibility for that country.