You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
In Mlp_Hreflang_Header_Output::wp_head() resp. Mlp_Hreflang_Header_Output::http_header()
only the available translations are searched - excluding the current base content.
That should be included, though :
If you have multiple language versions of a URL, each language page must 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.
In
Mlp_Hreflang_Header_Output::wp_head()
resp.Mlp_Hreflang_Header_Output::http_header()
only the available translations are searched - excluding the current base content.
That should be included, though :
https://support.google.com/webmasters/answer/189077?hl=en
So maybe
Mlp_Hreflang_Header_Output::get_translations()
should passarray( 'include_base' => TRUE )
when fetching the available translations:multilingual-press/inc/hreflang-header/Mlp_Hreflang_Header_Output.php
Line 98 in 36d312c
The text was updated successfully, but these errors were encountered: