Skip to content Skip to sidebar

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Dražen 2 weeks ago.

Assisted by: Dražen.

Author Posts
November 14, 2025 at 10:43 am #17578291

pedroD-14

Background of the issue:
I am trying to ensure that the URL slug generated for the HREFLANG points to the correct canonical URL. I noticed that the URLs generated by RankMath in the XML sitemap at hidden link point correctly to the Portuguese homepage hidden link, but the HREFLANG generated URLs incorrectly point to hidden link. The website is set to have WordPress Pages as the homepages for each language.

Symptoms:
The HREFLANG generated URLs incorrectly point to hidden link instead of the expected hidden link.

Questions:
Why does the HREFLANG URL point to a non-canonical URL?
How can I ensure the HREFLANG URL points to the correct canonical URL?

November 14, 2025 at 11:00 am #17578544

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

here is the ticket.

I will update you here as soon as I have some news.

Regards,
Drazen

November 17, 2025 at 6:46 am #17582406

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

can you please share admin access again so we can have a look? Also let us know if it is okay to take a copy of your website, to escalate and debug issue further.

Regards,
Drazen

The topic ‘[Closed] URL slug for translated content homepage points to non-canonical URL’ is closed to new replies.