Hi Thorsten,
Thank you for your reply.
I puted your code, but the result is not what Google wants.
– All hreflang codes should be same on all linked websites.
<link rel="alternate" href="https://example.com" hreflang="x-default">
must appear on the main website and on localized websites, not only on the main website.
For example, if there are 3 websites (www|fr|es), there should be the same 4 lines on each :
<link rel="alternate" href="https://www.example.com" hreflang="x-default">
<link rel="alternate" href="https://www.example.com" hreflang="en">
<link rel="alternate" href="https://fr.example.com" hreflang="fr">
<link rel="alternate" href="https://es.example.com" hreflang="es">
– The URL should always be that of the linked page of the main website (not the hompepage).
For example, on the webpage https://fr.exemple.com/page/ :
<link rel="alternate" href="https://www.example.com/page/" hreflang="x-default">
<link rel="alternate" href="https://www.example.com/page/" hreflang="en">
<link rel="alternate" href="https://fr.example.com/page/" hreflang="fr">
<link rel="alternate" href="https://es.example.com/page/" hreflang="es">
– In my multisite network, some independant websites are not connected to others with multilingual press. No new tag hreflang=”x-default” should appear on those independant websites. Only on linked websites with the plugin.
Thank you for your help.
Regards.