1

For example, my home page is available in several language and the language displayed depends on the browser language.

I have added these 2 alternate links:

<link rel="alternate" href="http://example.com/lang/en" hreflang="en"/>
<link rel="alternate" href="http://example.com/lang/fr" hreflang="fr"/>

Is it possible to tell search engines that the URL http://example.com is available both in English and French and the one displayed depends on the browser language?

1

In theory you should be able to tell Google that the same URL is available in either language depending on browser language. Google announced about 2 years ago that they would start supporting that.

In practice, I don't know of any sites that have implemented it that way and get good SEO rankings. The recommended way of having a site in multiple languages is still to have separated URLs. Both Google recommends it that way and I do in How should I structure my URLs for both SEO and localization?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.