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: Exception
This topic contains 4 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
November 3, 2023 at 4:26 pm #14727289 | |
loaiH |
Dears, 6501 hreflang conflicts within page source code can you help me to solve it |
November 6, 2023 at 6:59 am #14734837 | |
loaiH |
any updates |
November 6, 2023 at 8:50 am #14735659 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understand the issue you're having. If Hreflang is configured correctly in "WPML → Languages → Edit languages", WPML will retrieve the value and adjust the Hreflang for each translated post accordingly. No special adjustments are required for this. Since the Semrush audit shows an Hreflang error, could you please share the detailed report in your next response? Typically, the audit report includes links, and each link provides a specific reason for the error. If you could provide screenshots of the links that clearly display the reasons, it would be greatly helpful in diagnosing the issue. I will check and guide you accordingly. Looking forward to your response. Best regards, |
November 11, 2023 at 10:59 am #14781607 | |
loaiH |
13561 hreflang conflicts within page source code |
November 14, 2023 at 3:48 am #14793301 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thank you for sharing the screenshot. It appears that the "self-referencing" error was visible on certain English Category pages. Upon reviewing one of these categories in detail, I found that the Page URL and language code are accurately specified in the hreflang tag. There don't seem to be any errors in the Hreflang tag configuration. Occasionally, this problem can arise from omitting the trailing slash in the URL. However, in your instance, the URL seems to be properly set up. Please check this screenshot for a better understanding. : hidden link Please also review the guidelines provided by the Semrush authority to prevent such issues. - hidden link If you examine the screenshot alongside the guidelines, you'll see that everything has been set up correctly. I also examined the page that includes a query parameter (hidden link) and noticed that its "canonical tag" correctly references the page without the parameter. This is the standard behavior. Search engines will recognize this canonical version as the primary one and will index it accordingly. The page with the query parameter won't be indexed to avoid penalties for duplicate content, as search engines typically view such instances unfavorably. By following the article below, you can verify whether the canonical is added properly there or not. - hidden link So, I think the SEO analysis is showing a False-positive report in this case. As everything is set correctly, rest assured that the search engine will index the page correctly. If you believe there is a page that is missing it's self-referencing hreflang, please review the source code of the page manually if indeed it's missing it and update me here, please. You can also consult with SemRush support regarding this matter. Please let me know if you need further assistance in this matter. I will be happy to help. Best Regards, |