Mobile app version of vmapp.org
Login or Join
Kaufman445

: How do I get my site's content to show up in other languages on google search when locale is stored in a cookie I'm using setting the locale for each user by detecting the browser's language

@Kaufman445

Posted in: #GoogleSearch #Hreflang #LocalSeo #Seo

I'm using setting the locale for each user by detecting the browser's language header and storing it in a cookie to display my site's content. Users can also select the language and change the locale, the cookie will update accordingly.

tldr; the site path names are all the same but the static content will change based on the value of the cookie.

When someone searches for my site in Japan - for example - I want to go the search engine result to display my site's information in Japanese. Currently google displays results pertaining to my site only in English.

According to this page: support.google.com/webmasters/answer/6144055?hl=en&ref_topic=2370587 google does provide locale-aware crawling. But it asks to 'Confirm that your website configuration supports locale-aware crawling'. Currently it seems not to be working for my site. How could I resolve this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

Googlebot does not use cookies to work out translations, it detects the language on the page and so your content while being accessed by Googlebot from its U.S IP will serve English language content.

Google recommends using different URL's for different language content such as your default site being in English but setting up a different sub domain for your translated content such as fr.domain.com, or using ccTLD's such as domain.com, domain.com.cn, etc for the translated content but if your implementation doesn't support this then you can add the

<link rel="alternate" hreflang="es" href="http://www.domain.com/es/title.html" />


You can see further information on how to do this in Google's support section at support.google.com/webmasters/answer/189077?hl=en

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme