Setting the hreflang attribute for pages
The hreflang attribute helps search engines (such as Google) to find other language versions of the current page on a multilingual site. Thus, a search engine understands that several pages are alternative and are written in different languages. It allows search engines to display pages in the search results in the most convenient language for the client. It can increase your conversion and reduce bounce rate, as your target audience will land on the most appropriate page's language version for them.
If you have added the same new pages to several site language versions after creating a multilingual site, you may need to link them manually with the hreflang attribute to improve the site's search engine optimization. Follow the following steps to do it:
- In the editor, go to the list of your site pages, open the Settings of the needed page, and in the SEO tab at the very bottom, click on the Edit button next to the word Hreflang:
- You will see one or more drop-down lists (depending on the number of language versions on the site). In each drop-down list, you can see the corresponding page in a different language version of the site — the same page, but in another language:
- If the page was added after the creation of the site's language version, then you should manually select a page or pages from other language versions for the hreflang attribute:
Do the steps above for all the pages you need and publish your site.
hreflang="fr-fr"
).
Updated on: 04/20/2023
Thank you!