Skip Navigation

[Gelöst] wrong links in translated language after WPML

This support ticket is created vor 4 Jahren, 6 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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

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

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Matthias Reichl vor 4 Jahren, 6 Monaten.

Assistiert von: Waqar.

Author
Artikel
#1631399

I try to:
see correct links in the polish translation of an english original

Polish URL: - with problems:
versteckter Link

English URL: - works OK
versteckter Link

I expected to see:
Correct URLs of the list of product group links on the Polish page like: versteckter Link

Instead I see:
Wrong links leading to an error page like:
versteckter Link

The wrong URLs in the list come from a view with the following code:

[wpv-layout-start]
[wpv-items-found]
<li style="list-style-type: none;"><i class="fusion-li-icon fa fa-angle-right" style="margin-right: 10px;">
[wpv-attribute name="link"] ([wpv-found-count])
[/wpv-items-found]
[wpv-no-items-found]
[/wpv-no-items-found]
[wpv-layout-end]

I just found out that the wrong link
versteckter Link

is just missing a "/" befor the "?"

This corrected link does work and is rewritten to the correct format
versteckter Link

#1631681

Hi,

Thank you for contacting us and I'd be happy to assist.

The non-working links that you've shared are all showing the "This site can’t be reached" message with the error:
"ERR_HTTP2_PROTOCOL_ERROR"

This suggests that some security plugin or server configuration is blocking the successful connection or transmission of the data from these pages.

To troubleshoot this, I'll suggest the following steps:

1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.

2. It would be interesting to test this with all extra plugins disabled ( i.e. other than Toolset and WPML ) and a default theme like Twenty Twenty.

If it's fixed, you can start adding the disabled items, one-by-one, to narrow down to a possible conflicting one.

3. In case the issue still persists, I'll need to see exactly how these pages are set up in the admin area.

Please let me know how it goes and I've set your next reply as private so that you can share temporary admin login details.

regards,
Waqar

#1631809

Hi Waqar!

I don't think its a server or security issue, because it worked without any problems before our update of VIEWS and WPML to the latest version

The reason is simply that either the VIEW od WPML provide a link with a syntax error

This link is provided e.g.
versteckter Link

This would be the correct syntax (with a / before the ?)
versteckter Link
... this link is then redirected to the correclty formatted URL without parameters
versteckter Link

Before the update the link was provided as correctly formatted without parameters

#1633219

Hi,

Thank you for sharing these details.

During testing on my own website, I couldn't reproduce this specific issue with the latest WPML and Toolset plugins.

Can you please share temporary admin login details, so that I can see how the permalinks and the view is set up in the back-end?

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1634279

Hi,

Thank you for sharing the admin access.

If you'll go to WP Admin -> WPML -> Languages, you'll see the following error message:
( screenshot: versteckter Link )

"It looks like languages per directories will not function."

To troubleshoot this issue, you'll find the recommendations at:
https://wpml.org/documentation/getting-started-guide/language-setup/cannot-activate-language-directories/

Please especially make sure that a valid .htaccess file exists in the root folder of your website ( ref: https://wordpress.org/support/article/htaccess/ ) and WordPress has proper "read and write" access to this file and the folders.

I hope this helps and please let me know how it goes.

regards,
Waqar

#1637441

My issue is resolved now. Thank you!