开发者

How to support internationalization & SEO

开发者 https://www.devze.com 2023-04-01 17:49 出处:网络
I have looked over a few similar questions here at stackoverflow and I can\'t seem to locate a clear cut answer.

I have looked over a few similar questions here at stackoverflow and I can't seem to locate a clear cut answer.

I know how to internationalize my page content, but how do I notify crawlers for SEO?

Specifically, lets say I have a pages that de开发者_StackOverflow社区scribes content in Norwegian and english. Must I use multiple tags with relation to the meta "description" tag?

Also, I presume that it is good enough to add various languages to a single "keywords" meta tag as follows: <meta name="keywords" content="thejarbar.org, thejartender Java, Windows, Ubuntu, Linux, Virtualbox, tutorials, examples, guides, lærer, eksempler" /> ?


You can simply use it like this:

<meta name="keywords" lang="en" content="keyword1, keyword2, keyword3">
<meta name="keywords" lang="no" content="keyword1, keyword2, keyword3">

But I feel better with different URL for different languages and then generating a language specific meta-data.

0

精彩评论

暂无评论...
验证码 换一张
取 消