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
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

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

Tagged: 

This topic contains 30 replies, has 1 voice.

Last updated by Bigul 9 months, 2 weeks ago.

Assisted by: Bigul.

Author Posts
June 25, 2025 at 6:58 am #17167227

franz-josefG

Hi Bigul,

The php_errorlog doesn't shown any new errors, and I can't see anything special in the apache log either (I can send it to you if you wish). I can't reproduce the errors either.

Can't some kind of tracing or debugging be activated in WPML to see why it generates incorrect links on images?

Thanks,

Christophe

June 27, 2025 at 7:57 am #17176256

Bigul

Hi Christophe,

Thank you for the updates. I have forwarded the details to our team for further checking. We will get back to you as early as possible. Please wait.

--
Thanks!

Bigul

July 6, 2025 at 7:33 am #17204607

Bigul

Hi Christophe,

This is quite a tricky issue. After detailed troubleshooting, we were able to identify the root cause. It turned out to be a simple fix, but not easy to discover. It was due to a mismatch in the site URLs.

The Site URL showed as:
hidden link

But in Settings >> General for both *WordPress Address (URL)* and *Site Address (URL)*, it was set to: hidden link

We corrected it to:
hidden link

It is working as expected now after these steps:

1) Visit Settings >> Permalinks, resave the settings
2) Open the test pages for editing in German
3) Make a small content change to refresh translation settings
4) Update the page translations using the WPML Editor
5) Clear both site and browser caches

Please check the attached images and the following links for more details.

hidden link

hidden link

--
Thanks!

Bigul

Screenshot 2025-07-03 at 17.47.11.png
2025-07-06_12h43_36.png
July 7, 2025 at 9:45 am #17207574

franz-josefG

Hi Bigul,

I can indeed confirm that it now works on the staging site. However, it still doesn't work on the production site. I added the custom XML in WPML -> Settings -> Custom XML like you did on the staging site.

The URL of the image in Media & Text blocks now appears in the Advanced Translation Editor and can be edited:

hidden link

but on the frontend it is still the incorrect untranslated version of the link that gets published:

hidden link

I'll leave things as they are for now, because I have more urgent matters to attend to.

Thanks,

Christophe

July 7, 2025 at 2:18 pm #17209220

Bigul

Hi Christophe,

Thank you for the updates. That does sound unusual. Just to confirm, have you tried the following steps? In our case, we only got the expected results after clearing the SG (SiteGround) caches.

1) Visit Settings >> Permalinks, resave the settings
2) Open the test pages for editing in German
3) Make a small content change to refresh translation settings
4) Update the page translations using the WPML Editor
5) Clear both the site (Site Ground) and browser caches

Please confirm this and let us know your feedback. Also, does the same issue occur with a newly created page?

--
Thanks!

Bigul

July 9, 2025 at 7:41 am #17217153

franz-josefG

Hi Bigul,

I tried all the steps you outlined in your previous comment but image links still don't properly work in Media & Text blocks:

hidden link

I also created a new test page with a Media & Text block and it also exhibits the image link problem:

hidden link

If you wish, I can provide you admin access to the production site.

Thanks,

Christophe

July 9, 2025 at 9:55 am #17218125

Bigul

Hi Christophe,

Thank you for the updates. I am enabling the private option for the next reply. Please share the live site credentials, including FTP access, after taking a full site backup.

--
Thanks!

Bigul

July 9, 2025 at 4:56 pm #17220525

Bigul

Hi Christophe,

Thank you for the updates. I will check about this with our team and get back to you as early as possible. Please wait.

--
Thanks!

Bigul

July 10, 2025 at 11:36 am #17223543

Bigul

Hi Christophe,

We are getting expected results on your live site after the following steps.

1) Deactivate the WPML Sticky Links plugin
2) Open the page for editing - hidden link
3) Made a minor change in the contents
4) Update the page
5) Update the English and French translations
6) Clear the caches

Please check it now. Refer to the following links for more details.

hidden link

hidden link

Therefore, could you please confirm if you are using the WPML Sticky Links plugin? It is often used to automatically correct sticky links and update them to the correct permalinks.

--
Thanks!

Bigul

July 10, 2025 at 1:05 pm #17224035

franz-josefG

Hi Bigul,

I do indeed use the Sticky Links plugin as certain permalinks have changed, and I remember a few weeks ago when I tried to revert the links to normal permalinks and remove the Sticky Links plugin, some links were broken and/or I got strange bugs in the Advanced Translation Editor.

Is using the Sticky Links plugin not recommended anymore? Is it incompatible with the Advanced Translation Editor?

Thanks,

Christophe

July 10, 2025 at 1:55 pm #17224337

Bigul

Hi Christophe,

Thank you for the feedback. We just wanted to confirm whether you are using WPML Sticky Links or not, as some users activate it without actually using its features. We will continue debugging the issue and get back to you soon. Please wait.

--
Thanks!

Bigul

July 11, 2025 at 8:29 am #17226718

franz-josefG

OK, thanks Bigul!

July 11, 2025 at 11:33 am #17227603

Bigul

Hi Christophe,

Thank you. In the meantime, you can try the following steps as a temporary workaround. We will get back to you as soon as possible. Please wait.

- Deactivate the Sticky Links plugin.
- Edit the page in the original language (the one with the link issue).
- Make a small change to the content.
- Update the page.
- Update the English and French translations.
- Clear all caches.
- Reactivate the Sticky Links plugin.

--
Thanks!

Bigul

July 15, 2025 at 6:43 am #17236133

Bigul

Hi Christophe,

We are currently making major changes to the Sticky Links feature in the WPML development version. So, we would like to gather more details about the following problem.

I do indeed use the Sticky Links plugin as certain permalinks have changed, 
and I remember a few weeks ago when I tried to revert the links to normal 
permalinks and remove the Sticky Links plugin, some links were broken, 
and/or I got strange bugs in the Advanced Translation Editor.

Therefore, please let us know:

- Does the problem happen on your staging site too?
- What are the exact steps to see the issue?

This will help us check and give you the right feedback.

--
Thanks!

Bigul

July 17, 2025 at 9:57 am #17244909

franz-josefG

Hi Bigul,

I'm sorry, but I am really busy with other stuff right now. AFAIK, you still have access to both the staging site and the production site, and the problem occurred on both sites until you deactivated the Sticky Links plugin.

As for the steps to reproduce the problem, it has been described in this thread I think.

All the best,

Christophe

The topic ‘[Closed] Image link in “Media & Text” of translated pages leads to NOT translated page version’ is closed to new replies.