Website has two language versions of the pages with different URLs. Wordpress plug-in translates pages after selecting the language in the site menu, not automatically.
- Am I doing the right thing if I put the canonical tag in the section for each page?
http://www.example.com/page-english
<link rel="canonical" href="http://www.example.com/page-english" />
<link rel="alternate" hreflang="ru" href="http://www.example.com/page-russian">
http://www.example.com/page-russian
<link rel="canonical" href="http://www.example.com/page-russian" />
<link rel="alternate" hreflang="en" href="http://www.example.com/page-english">
- How to do it correctly to avoid duplication in Google and showing the correct version of the page in the search result based on the language selection in the user's browser?