Jump to content
Sign in to follow this  
spanjokus

Как задать canonical на мультиязычном сайте

Recommended Posts

Всем привет, как правильно задать canonical на мультиязычном сайте и вообще нужно ли это?

Пример страницы https://basis.myseldon.com/ru/company/1028601356960

Остальные языки в коде прописаны как:


<link rel="alternate" hreflang="en" href="https://basis.myseldon.com/en/company/1028601356960" />

<link rel="alternate" hreflang="de" href="https://basis.myseldon.com/de/company/1028601356960" />

<link rel="alternate" hreflang="es" href="https://basis.myseldon.com/es/company/1028601356960" />

<link rel="alternate" hreflang="fr" href="https://basis.myseldon.com/fr/company/1028601356960" />

<link rel="alternate" hreflang="pt" href="https://basis.myseldon.com/pt/company/1028601356960" />

<link rel="alternate" hreflang="ar" href="https://basis.myseldon.com/ar/company/1028601356960" />

<link rel="alternate" hreflang="zh" href="https://basis.myseldon.com/zh/company/1028601356960" />

<link rel="alternate" hreflang="uk" href="https://basis.myseldon.com/uk/company/1028601356960" />

<link rel="alternate" hreflang="bg" href="https://basis.myseldon.com/bg/company/1028601356960" />

<link rel="alternate" hreflang="tr" href="https://basis.myseldon.com/tr/company/1028601356960" />

<link rel="alternate" hreflang="ja" href="https://basis.myseldon.com/ja/company/1028601356960" />

<link rel="alternate" hreflang="zh-t" href="https://basis.myseldon.com/company/1028601356960?locale=zh-t" />

<link rel="alternate" hreflang="x-default" href="https://basis.myseldon.com/company/1028601356960"

Google вроде не ругается в консоли вебмастера на такое, но хотелось бы уточнить у людей кто с таким сталкивался.
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...