Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 9 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 1, 2023 at 2:12 pm #14135095

jonaJ

SEMrush says there is a hreflang issue on a page but I don't know how to fix it. When inspecting everything looks fine. Could you please help me checking what is wrong? The page is hidden link

Scherm­afbeelding 2023-08-01 om 16.10.49.png
August 2, 2023 at 11:16 am #14141603

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

I just checked the source of hidden link and can see the proper hreflangs added (see attached).

However, notice that the URL you referred has no trailing slash (at end) while all hreflangs are having the one.

Perhaps you need to check about the URLs being without the /. Because in language switchers all URLs are also having the trailing slash.

This sort of issue has been previously fixed by WPML (https://wpml.org/errata/changes-in-the-way-wpml-handles-the-trailing-slashes-in-url-conversion/). But probably there's something still not following it.

I'll advise to check your WordPress General and Permalink settings. As well as, try with only WPML plugins (along with the SEMrush). REMEMBER to take a full backup of site and database beforehand!!

Please let me know your findings.

Regards.

Screenshot 2023-08-02 161017.jpg

The topic ‘[Closed] SEMrush says there is a hreflang issue on a page’ is closed to new replies.