[wp-meta] [Making WordPress.org] #3988: Alter hreflang behaviour on plugin pages

Making WordPress.org noreply at wordpress.org
Sun Dec 9 19:09:42 UTC 2018


#3988: Alter hreflang behaviour on plugin pages
------------------------------+-------------------------
 Reporter:  jonoaldersonwp    |      Owner:  joostdevalk
     Type:  defect            |     Status:  assigned
 Priority:  high              |  Milestone:
Component:  Plugin Directory  |   Keywords:
------------------------------+-------------------------
 When a plugin is / has been translated, we include hreflang tags to/from
 each translated version, on each page. This creates a 'matrix' of
 reciprocal tags between these pages.

 We currently ''omit untranslated versions'' from that matrix.

 E.g., because https://wordpress.org/plugins/bacon-ipsum/ is available
 ''only'' in English, this page features only itself as the `x-default`
 value, and as the `en` value.

 However, https://es.wordpress.org/plugins/bacon-ipsum/ also exists - but
 because it has not been translated, it is omitted from the translation
 matrix. It also has a self-referential canonical tag, and so now
 ''competes'' with other localised pages for this plugin.

 We should therefore include ''all'' versions/localisations of each plugin
 in the hreflang matrix, but, when a version has not been translated, we
 should alter the hreflang attribute to reflect this.

 E.g., the hreflang value for https://es.wordpress.org/plugins/bacon-ipsum/
 should be en-es - 'English for Spain'.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3988>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list