Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported that the hreflang attribute was not correctly indicating the availability of a Spanish version of an article on their English page, although the Spanish page correctly showed the English version. Additionally, the language switcher in the footer was missing the link to the Spanish article.
Solution:
The user cleared the cache on his site and this solved the problem.

If this solution doesn't look relevant to your issue, please open a new support ticket at the WPML support forum.

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 3 replies, has 2 voices.

Last updated by Itamar 12 months ago.

Assisted by: Itamar.

Author Posts
January 15, 2024 at 7:39 pm #15186939

arranR

I have this English article here:
hidden link

The hreflang on this article does not say there is a Spanish article available, but there is:
hidden link

The Spanish version of the article shows there is an english article available.

January 15, 2024 at 8:00 pm #15186953

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can see the problem on your site. Also, the Language Switcher is missing the Spanish link. Please see the attached screenshot. But on the Spanish page, the English link is showing.

Can you please let me check this issue on your site?

If you need further help with this, please share the access details to your site with me.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

2024-01-15_21-57-58.jpg
January 15, 2024 at 8:17 pm #15186984

arranR

Thanks very much, I have just cleared all cache's and I see it?

I'm using default settings to display the language switcher in my footer.

January 15, 2024 at 8:49 pm #15187009

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Great!

I confirm that I can see it is OK from my side. Please see the attached screenshot.

Please let me know if we can close this ticket.

Regards,
Itamar.

2024-01-15_22-46-35.jpg
January 15, 2024 at 9:55 pm #15187118

arranR

That's everything thanks!