用于不同语言的Meta标签 [英] Meta tags for different languages
本文介绍了用于不同语言的Meta标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在制作一个多语言网站,我确信我前一段时间看到有一个meta标签可以告诉搜索引擎使用不同语言的同一网页的网址。
I'm making a multi-language website and I'm sure that I saw a while ago that there is a meta tag to tell search engines the URL of the same page in a different language.
我目前正在使用下面的语言标记,但有没有另一个标记列出不同语言的相同网页网址?
I'm currently using the language tag below, but is there another tag to list the same pages URL in different languages?
<meta http-equiv="content-language" content="en">
类似于
<meta http-equiv="alternative-language" content="es" ref="/es/page.php">
推荐答案
从未使用过它,但理论上说:
Never used it, but in theory:
<link rel="alternate" href="/es/page.php" hreflang="es" type="text/html">
这篇关于用于不同语言的Meta标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文