Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported an issue where the product URL in English still showed parts in Finnish, despite being translated. Additionally, there were PHP warnings related to file access restrictions due to open_basedir settings on the server.
Solution:
1. We initially attempted to debug the issue and requested a staging site or a duplicator copy from the client to safely investigate the problem further. https://wpml.org/fr/faq/provide-supporters-copy-site/
2. After initial checks, we escalated the issue to our second-tier support for deeper investigation.
3. We suggested the client ask their hosting provider to disable the open_basedir restrictions in the PHP settings to see if that resolves the permalink translation issue.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.

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.

This topic contains 4 replies, has 0 voices.

Last updated by Dražen 2 weeks, 1 day ago.

Assisted by: Dražen.

Author Posts
April 8, 2025 at 9:49 am #16908175

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked, and we share the same thoughts on this.

When using open_basedir you can restrict access to specific files or directories.

WPML String Translations relies on writing .mo files in wp-content/languages/wpml/ folder, so if this directory is not allowed by the PHP configuration - there will be issues and failures.

Regards,
Drazen

April 10, 2025 at 10:31 am #16917774

pamelaW

Hi,
finally I have translations in German and Swedish for this same product, and tested all four languages. The bread-crumbs on each languange are 100 % correct but the permalink has the main category standard-products in English, even that they are translated (two examples attached)

R-201 in all 4 languages:
Finnish: hidden link
English: hidden link
German: hidden link
Swedish: hidden link

You can login again on the production site, I've renewed the login time.

Kind regards,

Pamela

URL-SV.png
URL-DE.png
April 11, 2025 at 6:18 am #16921025

Dražen
Supporter

Languages: English (English )

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

Hello Pamela,

It seems like the same issue like in the beginning, so either you still have same error with openbase dir or this slug is already in use, I see you are using the same slugs in all languages also for your shop page Standard products.

Please check your error logs if you still have same issue, or try to use different unique slugs for shop page / permalinks.

Let me know how it goes.

Regards,
Drazen