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.

Tagged: 

This topic contains 1 replies, has 1 voice.

Last updated by Bruno Kos 3 weeks, 3 days ago.

Author Posts
May 19, 2025 at 11:56 am #17048006

justineM

Background of the issue:
I use WPML on my website hidden link, and I have issues on semrush, as it's not well configured.

Symptoms:
I have a lot of pages with: 'Broken hreflang URL' and on this page: hidden link it says No self-referencing hreflang.

Questions:
What can I do to fix the 'Broken hreflang URL' issue?
How can I resolve the 'No self-referencing hreflang' problem on my page?

May 19, 2025 at 12:11 pm #17048306

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

When checking the source code of the page `hidden link`, I noticed several issues with the hreflang implementation that could be causing the “Broken hreflang URL” and “No self-referencing hreflang” errors:

1. Missing self-referencing hreflang tag
Although there is an hreflang tag for French:

 <link rel="alternate" hreflang="fr" href="<em><u>hidden link</u></em>" />

it doesn’t match the current page URL exactly. The live URL is:

   <em><u>hidden link</u></em>

`

with an uppercase "V". I believe that Google treats URLs with different casing as separate pages, so this mismatch prevents it from recognizing the tag as self-referencing. The href should match the actual page URL exactly:

   <link rel="alternate" hreflang="fr" href="<em><u>hidden link</u></em>" />

2. Duplicate hreflang blocks
There appear to be two sets of hreflang tags in the source code. This can confuse search engines and lead to parsing errors. It's likely that hreflang is being injected by two different sources — possibly your theme and a plugin.

Check your CMS or plugin settings (WPML or SEO plugins) to see if hreflang is being added in more than one place. If so, disable one of them so that only one set of hreflang tags remains in the source.

3. Recommendation: Unify and fix URLs
For consistency and SEO clarity, it’s best to use all-lowercase slugs. Consider changing the page slug to:

  <em><u>hidden link</u></em>

Summary of actions:

* Ensure each page has a self-referencing hreflang tag that exactly matches the URL (including case).
* Remove any duplicate hreflang blocks.
* Standardize the URL to lowercase if possible.
* Check plugin/theme settings to prevent multiple hreflang injections.

Let us know if you have any questions!

The topic ‘[Closed] WPML Translation Management’ is closed to new replies.