Which one is the right way to add geolocation meta

2019-06-06 18:27发布

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?

1条回答
闹够了就滚
2楼-- · 2019-06-06 19:21

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.

查看更多
登录 后发表回答