subdomaingoogle-searchgeotargetting

How to say to google that my subdomain is targeted to a specific country


I have these subdomains:

And each one has content specific per each country.

If I go to google.co.uk I have to see only contents from uk.example.com.

Which is the right metadata for this?


Solution

  • EDIT:

    Google does not use locational meta tags (like geo.position or distribution) or HTML attributes for geotargeting.

    So, you can't use <html lang="en-UK"> as I originally said.

    But it seems from here:

    The first three elements used for geotargeting are strongly tied to the server and to the URLs used. It's difficult to determine geotargeting on a page by page basis, so it makes sense to consider using a URL structure that makes it easy to segment parts of the website for geotargeting.

    that specifying a url, like you did, is enough!

    source: http://googlewebmastercentral.blogspot.co.il/2010/03/working-with-multi-regional-websites.html or https://support.google.com/webmasters/answer/182192?hl=en#2


    OLD POST:

    Google supports rel hreflang

    <link rel="alternate" hreflang="es" href="http://www.example.com/" />
    <link rel="alternate" hreflang="es-ES" href="http://es-es.example.com/" />
    <link rel="alternate" hreflang="es-MX" href="http://es-mx.example.com/" /> 
    <link rel="alternate" hreflang="en" href="http://en.example.com/" />
    

    (source: http://googlewebmastercentral.blogspot.dk/2011/12/new-markup-for-multilingual-content.html)

    but if you're buying new domains, it's best to have correct ccTLD:

    If you use a ccTLD or a gTLD together with Webmaster Tools, then we'll mainly use the >geotargeting from there

    (source: http://www.seroundtable.com/seo-geo-location-server-google-17468.html)

    see also: