Skip Navigation

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

Problem:
The client needed to ensure that hreflang tags were added to each URL in their sitemap for all three languages, as Google was not recognizing them. They were using the All in One SEO Plugin to generate the sitemap.
Solution:
We informed the client that WPML automatically adds hreflang tags to every page of the site, which should resolve the issue with Google not recognizing all languages. We reassured the client that there was no need to manually add hreflang tags and provided a screenshot to show that the hreflang tags were indeed present in the page code.

If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

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.

Tagged: 

This topic contains 0 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year ago.

Assisted by: Mihai Apetrei.

Author Posts
April 13, 2024 at 6:09 am #15514412

olgaD-8

Hello, I would like to ask you something about sitemaps. My sitemap is created automatically with the All in One SEO Plugin. Attached, you can see what this sitemap looks like. Unfortunately, Google doesn't recognize all three languages; I think I need to add an hreflang tag. How is it possible to do this, meaning to add an hreflang tag to each URL with WPML?

Thank you!
Best regards

sitemap.png
April 15, 2024 at 6:29 am #15517152

olgaD-8

Hi Mihai, thank you!
Best regards
Olg