• Resolved ewiggmbh

    (@ewiggmbh)


    the resource has two languages installed:
    Russian with system code “ru-RU”, and Ukraininan with code “uk”

    Plugin add 3 record on every page:

    <link rel=”alternate” hreflang=”uk” href=”https://teplonasos.ua/”/&gt;
    <link rel=”alternate” hreflang=”ru-RU” href=”https://teplonasos.ua/ru/”/&gt;
    <link rel=”alternate” hreflang=”ru” href=”https://teplonasos.ua/ru/”/&gt;

    The second and third attributes refer to the same page. They duplicate each other.

    How can you get rid of the second hreflang “ru-RU” ?

    My plugin is updated to the latest version.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello there,

    Thank you for reaching us!

    TranslatePress adds extra region independent hreflang tags, along with region dependent. They point to the same page.
    The region independent language tags help search engines provide the correct link to visitors without country specification or with a different country specification than those available.
    All this is recommended to be implemented in Google guide for multilingual websites:
    https://developers.google.com/search/docs/advanced/crawling/localized-versions

    If you see errors about this, they are false-positive.

    Regards,

    Plugin Support Alex

    (@alexcozmoslabs)

    Since more than 5 days have passed since you received instructions about the opened topic, and you did not return with an update, we will mark this ticket as successfully resolved.
    If you have other questions regarding TranslatePress, we recommend you create another ticket.

    but if they point to the same page, it will be not good for SEO, I checked by SEO Tools, it shows: Hreflang duplicates:
    Hreflang tags contain repeatable href values

    • This reply was modified 3 years, 2 months ago by jimmyharsle.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘extra unnecessary attribute “hreflang”’ is closed to new replies.