WordPress.org

Ready to get started?Download WordPress

Forums

Polylang
[resolved] faulty link alternate hreflang implementation / request for easy fix (3 posts)

  1. sasa1
    Member
    Posted 8 months ago #

    hola!

    i'm currently using polylang and am very confident with it. works nicely with all other plugins i got and well well ... good job.

    the one thing i came across though is, that the <link rel="alternate" hreflang="x"> implementation does not quite follow google's recommendation.

    If you have multiple language versions of a URL, each language page in the set must use rel="alternate" hreflang="x" to identify all language versions including itself. For example, if your site provides content in French, English, and Spanish, the Spanish version must include a rel="alternate" hreflang="x" link for itself in addition to links to the French and English versions. Similarly the English and French versions must each include the same references to the French, English, and Spanish versions.

    https://support.google.com/webmasters/answer/189077?hl=en

    so this is what's missing: the self-reference. - i could dive into it and hack it myself easily, but this an easy fix! please include that request in a future update, would you?!

    http://wordpress.org/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 8 months ago #

    Thanks for pointing this out. It will be fixed in Polylang 1.2

  3. sasa1
    Member
    Posted 8 months ago #

    that's cool! thanks!

Reply

You must log in to post.

About this Plugin

About this Topic