WordPress.org

Support

Support » Plugins and Hacks » Polylang » [Resolved] faulty link alternate hreflang implementation / request for easy fix

[Resolved] faulty link alternate hreflang implementation / request for easy fix

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] faulty link alternate hreflang implementation / request for easy fix’ is closed to new replies.
Skip to toolbar