V
V
Viktor2022-04-16 14:24:29
HTML
Viktor, 2022-04-16 14:24:29

In the google validator, when checking pages, there is a block "Type not specified" - how to fix it?

When checking the markup in the google validator, in a multilingual site I encountered such a nuisance as the message "Type not specified". The reason for the message is probably c open graph and indication of alternative pages using these lines:

<link rel="alternate" hreflang="x-default" href="https://site.ru/ru/news/">
  <link rel="alternate" hreflang="en" href="https://site.ru/en/news/">

......
<meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:image" content="....." />
    <meta property="og:locale" content="ru"/>
    <meta property="og:site_name" content="...."/>
    <meta property="og:url" content="...">
    <meta property="og:title" content="....">
    <meta property="og:description"

.......
in the validator:
Тип не указан   ID: https://site_name.ru НЕТ ОШИБОК НЕТ ПРЕДУПРЕЖДЕНИЙ
@type Тип не указан
@id https://site_name.ru
http://ogp.me/ns#locale ru
http://ogp.me/ns#site_name site_name.ru

Searched for a solution but found more similar questions with no answers!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question