This line adds the English translation the URL is also correct. However I can see that the content of this page is in French. I checked your debug file and you have the option "Translatable - use translation if available or fallback to default language" activated. So, if the translation doesn't exist, that seems logic that the french version is displayed.
Hi Nicolas, within SEMRUSH I am getting hreflang conflicts within page source code error on my website. I got in touch with SEMRUSH and they said the following:
'I have checked the provided campaign.
Please note that these issues are identified due to the incorrect implementation of the hreflang tags that can be found within the website's code. Please see the following screenshot:
Image_2023-06-09_12-47-32.png (I have attached it here again)
Therefore there is nothing wrong with the translation of the website and the implementation of the hreflang tags should be brought to the webmaster for fixing. Please note that the correct implementation of hreflang tags can help your website increase the chances for ranking, therefore I would definitely recommend looking into it with the help of your webmaster. "
I need to know what I need to do within WPML to solve this issue if possible.
Once again, hreflang links are correctly implemented:
- You have the FR version, the EN version and as "x-default" the FR version (because FR is your primary language).
The issue that I see here is simply that you English article is in fact in French: hidden link
Maybe if you send me the full report from SEMRUSH I will be able to give you more details.
The topic ‘[Closed] hreflang conflicts within page source code’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.