This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with hreflang tags not being inserted correctly on their multilingual site. The tags are using translated slugs for both the French (FR) and English (EN) links, where the English link should display 'prints' instead of 'prints-fr'.
Solution:
We reviewed the site and found that the hreflang tags are functioning correctly for the pages we checked, such as the 'off-piste and ski touring photo sessions' page. Here, the hreflang tags correctly point to the respective EN and FR versions, as well as the x-default:
<link rel="alternate" hreflang="en" href="https://ollybowman.com/services/off-piste-and-ski-touring-photo-sessions/" /><br /><link rel="alternate" hreflang="fr" href="https://ollybowman.com/fr/services/seances-photo-hors-piste-et-ski-de-randonnee/" /><br /><link rel="alternate" hreflang="x-default" href="https://ollybowman.com/services/off-piste-and-ski-touring-photo-sessions/" />
We could not locate a '/print' or '/print-fr' page, which might have been part of an earlier test or no longer exists. If you are still encountering issues on specific URLs, please share them with us for further investigation.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, feel free to open a new support ticket at 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 1 reply, has 0 voices.
Last updated by 3 weeks, 1 day ago.
Assisted by: Lucas Vidal de Andrade.