• I have trouble with hreflang and Google on root pages in multisite environment:

    Google has detected that some pages on your site have implemented the rel-alternate-hreflang tag incorrectly. In particular, there seems to be a problem with incorrect language and region codes, or incorrect bi-directional linking (if page A links with hreflang to page B, there must be a link back from B to A as well).

    In particular I see

    ‘ru’ – no return tags
    ‘en’ – no return tags

    errors in Google analytics for:

    mydomain.com
    mydomain.com/ru/

    This is quite surprising as I do have

    <link title="RU" href="https://mydomain.com/ru/" hreflang="ru" rel="alternate">
    <link title="EN" href="https://mydomain.com/" hreflang="en" rel="alternate">

    on both pages.

    Any ideas?

    p.s. both pages are allowed in robots, of course.

    https://www.ads-software.com/plugins/multisite-language-switcher/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    I checked the google WMT and I can confirm that I can also see these errors. I’m not sure if this is correct but “no return tag” could mean that there is no content in your language if you set – for example – only Spanish as your browser language without any fallback?

    Thread Starter davydov-denis

    (@davydov-denis)

    I am not sure I understand you. Those “no return tags” are errors from google crawler (shown in the Webmaster). There is certainly content in the corresponding languages. Moreover, I have this error ONLY for the root pages. For all the other bi-linguo pages and posts it’s all good.

    Plugin Author Dennis Ploetner

    (@realloc)

    I have to admit that all the information regarding this are confusing. I asked a guy here in my company that work as SEO and he said that we could probably indicate the default content like this:

    <link href="https://mydomain.com/" hreflang="x-default" rel="alternate" />
    <link title="EN" href="https://mydomain.com/" hreflang="en" rel="alternate">
    <link title="RU" href="https://mydomain.com/ru/" hreflang="ru" rel="alternate">

    but I will look for more information before I implement this. Could you please file an issue here: https://github.com/lloc/Multisite-Language-Switcher/issues

    Thread Starter davydov-denis

    (@davydov-denis)

    sure, i will create an issue on github.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hreflang issues for root pages’ is closed to new replies.