哪一个是将地理位置元信息添加到网站的正确方法? [英] Which one is the right way to add geolocation meta info to a site?

查看:111
本文介绍了哪一个是将地理位置元信息添加到网站的正确方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找如何将元信息添加到页面。
一种方式是元标记

 < metatag name =countrycontent =Canada/> 

另一个我看到的是

pre > < metatag name =geo.countrycontent =CA/>

使用ISO 3166.

I就像第二个一样,因为它是ISO的标准,并且易于被抓取者理解。
这些选项中的哪一个是标准的?或者大部分抓取工具都接受它们?



我知道Google不会使用它们中的任何一种,但必应。



一个网站用于桌面网页浏览器,另一个网站用于WAP(移动)浏览器。有什么区别?



在此先感谢,
Jonathan。

解决方案为什么不使用两者?顺便说一句,它是< meta /> 不是< metatag />



然而,我所看到的,geo.country可能是最好的选择。

http://marketingblogonline.com/geo-tag-seo.html



我仍然没有看到任何理由不同时使用这两种。

编辑:其实,我多看了一眼,发现<< code<< ; meta name =country> 似乎没有做太多 - http://www.google.com/support/forum/p/Webmasters/thread?tid=0610ddf168b8d424&hl=zh_CN



无论如何,您还应该考虑到全球业务可能不应该有一个国家。但是,如果您确定让您的网站在本地可以帮助您的业务,那么我刚刚阅读了HTML5的<$ c $

 < html lang =zh-CN > 

http://en.wikipedia.org/wiki/ISO_3166-1 - 国家代码列表

http://www.rfc-editor.org/rfc/rfc4646.txt - 如何编写lang属性。


I'm looking how to add meta info to a page. One way is the meta tag

<metatag name="country" content="Canada" />

another I saw is

<metatag name="geo.country" content="CA" />

using the ISO 3166.

I like the second one because is standard with ISO and easy to understand by crawlers. Which one of these options is standard? Or most of the crawlers accept them ?

I know that Google does not use any of them, but Bing does.

One site is for desktop web browsers and another one is for WAP (mobile) browsers. Is there any difference?

Thanks in advance, Jonathan.

解决方案

Why not use both? BTW it's <meta /> not <metatag />

From what I've seen, though, geo.country may be the way to go.

http://marketingblogonline.com/geo-tag-seo.html

I still don't see any reason not to use both, though.

EDIT: Actually, poking around a little more I see that <meta name="country"> doesn't seem to be doing much– http://www.google.com/support/forum/p/Webmasters/thread?tid=0610ddf168b8d424&hl=en.

You also want to consider that a global business probably shouldn't have a country tied to it, anyway. Otherwise you're limiting your customer base.

But, if you are certain that making your website local will help your business, I have just read that HTML5's lang attribute identifies both country and language.

<html lang="en-US">

http://en.wikipedia.org/wiki/ISO_3166-1 –– List of country codes

http://www.rfc-editor.org/rfc/rfc4646.txt –– How to write the lang attribute.

这篇关于哪一个是将地理位置元信息添加到网站的正确方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆