开发者

Which one is the right way to add geolocation meta info to a site?

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 a开发者_Go百科nd another one is for WAP (mobile) browsers. Is there any difference?


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜