hreflang

How to geotarget website with multiple languages but one link only?

六眼飞鱼酱① 提交于 2019-12-25 18:46:21
问题 I have a website with two languages, which works in this format: example.com/changelanguage.xx?lang=de and redirects to German language and calling the same URL again like: example.com/changelanguage.xx?lang=​en redirects to English language. The URL remains the same example.com after redirection, just the language changes. How to add the hreflang attribute here (for Google indexing)? 回答1: It’s a bad practice to use the same URL for different (i.e., translated) content. Consumers, like search