This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by dominicH 4 years, 8 months ago.

Assigned support staff: Shane.

Author Posts
December 29, 2014 at 1:16 pm #534760


I am trying to: Have a home page similar to this one hidden link (language selection) and arrive at my current widgetised home page hidden link (after language selection it should be hidden link or hidden link

How do I pull this of and have

<link rel="alternate" hreflang="x-default" href="<em><u>hidden link</u></em>" />

on the language selection page with the mention of the other languages in hreflang?

Kind regards,

December 29, 2014 at 3:22 pm #534829


Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dominic,

Thanks for getting in touch.

What you can try doing is modifying the hreflang so it looks similar to hreflang = "en" for the English translation.

The next step is to use an anchor tag for the language switcher links.
For eg.

  <a  hreflang="en" href="<em><u>hidden link</u></em>" />

This will redirect to the English website when the user clicks on the link.

January 26, 2015 at 12:06 pm #548863


Thank you for the feedback.