E
E
entermix2017-06-22 20:28:42
Layout
entermix, 2017-06-22 20:28:42

How to properly implement Open Graph and Schema.org?

There is a multilingual site, where possible services, various information, etc. are listed on the pages, the content is available at the following links:

https://site.ru/article
https://site.ru/ru/article
https://site.ru/en/article

The head says:
<link rel="alternate" hreflang="x-default" href="https://site.ru/article"/>
<link rel="alternate" hreflang="ru" href="https://site.ru/ru/article"/>
<link rel="alternate" hreflang="en" href="https://site.ru/en/article"/>

Open Graph (we are on the page https://site.ru/ru/article, or https://site.ru/article and the Russian language is selected:
<meta property="og:type" content="website">
<meta property="og:site_name" content="Название сайта">
<meta property="og:title" content="Статья - Название сайта">
<meta property="og:url" content="https://site.ru/article">
<meta property="og:locale:alternate" content="en_US">
<meta property="og:locale" content="ru_RU">
...

Accordingly, if we are on https://site.ru/en/article, or https://site.ru/article and English is selected:
<meta property="og:type" content="website">
<meta property="og:site_name" content="Site Name">
<meta property="og:title" content="Article - Site Name">
<meta property="og:url" content="https://site.ru/article">
<meta property="og:locale:alternate" content="ru_RU">
<meta property="og:locale" content="en_US">
...

1. Are the localization and URL settings correct? I draw your attention to the fact that in og: url one page is indicated for different languages.
2. Is it possible to duplicate the name of the site in og: title, or should it be just the title of the article/page?
3. Each page of the site has Schema.org markup in the head of the page:
<script type='application/ld+json'>
        {
          "@context": "http://www.schema.org",
          "@type": "WebSite",
/...
        }
    </script>

    <script type='application/ld+json'>
        {
            "@context": "http://www.schema.org",
            "@type": "Organization",
/...
        }
    </script>

Am I correct in Schema.org markup? Those. These 2 objects are placed on each page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-06-22
@dimonchik2013

jokes with lang are bad, but sometimes they are good (guess which is the second locale in AU, CA or UK in terms of prevalence),
but with showing different content at the same URL (even if the same translation) - it’s definitely bad
the easiest thing is to rip off a successful competitor
, there are options when links to languages ​​are made only through JS, there are options when through subdomains and are played with robots, but I have not seen options when /page_url in Russian is the same as /page_url in English

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question