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.

This topic contains 7 replies, has 1 voice.

Last updated by ziga pipan 11 hours, 9 minutes ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 19, 2025 at 4:44 pm #16725985

ziga pipan

Background of the issue:
I have my WooCommerce products translated using WPML, and all is ok, but this one product is giving me problems. The original version is working ok: hidden link. However, the Croatian version is not opening and is showing an error.

Symptoms:
I have my Woocommerce products translated and all is ok, but this one product is giving me problems.
Original version is working ok
hidden link
but croatianan is not opening, it's saying ERR_TOO_MANY_REDIRECTS
Somehow, I don't know how, it's got two dashes in url
hidden link

but it's also not showing featured image or attributes images on translations.

Questions:
Why is the Croatian version of my product showing an ERR_TOO_MANY_REDIRECTS error?
How can I fix the URL issue with two dashes in the Croatian version?
Why are the featured image and attribute images not showing on the translated product?

February 19, 2025 at 9:36 pm #16726896

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

While one of my teammates works on your ticket, I'll provide you with some initial debugging steps.

Have you tried to recreate or duplicate this product?

Before proceeding, please ensure that your WPML plugin and add-ons are updated to the latest version, 4.7.1. This will allow you to take advantage of the latest bug fixes and improvements. While this update may not directly resolve your problem, it is essential for troubleshooting with the most current code.

You can check the latest available versions by going to "My Account -> Downloads" on our website. Instructions for updating can be found here: http://wpml.org/faq/install-wpml/

If you do not see any updates available, you may need to click the “Check for Updates” button in the Plugins → Add New Plugin → Commercial tab.

Please remember to back up your database before proceeding with any updates.

Let us know if the issue persists after you've completed the update.

February 19, 2025 at 11:43 pm #16727015

ziga pipan

Yes, after I submitted the debug information, the support form reminded me to update the plugin. I did, and I also clicked "this did not help" button.

Sorry, I thought you got this info.

February 20, 2025 at 10:35 am #16728987

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

I can see // (double-slash) in the URL hidden link. And if I remove the additional slash, it still runs into that too many redirects error.

I checked using hidden link and there are 19 redirects:

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

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Connection:	close
x-redirect-by:	WPML
Location:	<em><u>hidden link</u></em>
content-type:	text/html; charset=UTF-8
cache-control:	public, max-age=0
expires:	Thu, 20 Feb 2025 10:26:38 GMT
content-length:	0
date:	Thu, 20 Feb 2025 10:26:38 GMT
server:	LiteSpeed
vary:	User-Agent,Accept-Encoding
alt-svc:	h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"




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

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Connection:	close
content-type:	text/html; charset=UTF-8
x-redirect-by:	WordPress
Location:	<em><u>hidden link</u></em>
cache-control:	public, max-age=0
expires:	Thu, 20 Feb 2025 10:26:40 GMT
content-length:	0
date:	Thu, 20 Feb 2025 10:26:40 GMT
server:	LiteSpeed
vary:	User-Agent,Accept-Encoding
alt-svc:	h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"




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

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Connection:	close
x-redirect-by:	WPML
Location:	<em><u>hidden link</u></em>
content-type:	text/html; charset=UTF-8
cache-control:	public, max-age=0
expires:	Thu, 20 Feb 2025 10:26:41 GMT
content-length:	0
date:	Thu, 20 Feb 2025 10:26:41 GMT
server:	LiteSpeed
vary:	User-Agent,Accept-Encoding
alt-svc:	h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"




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

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status:	301 Moved Permanently
Code:	301
Connection:	close
content-type:	text/html; charset=UTF-8
x-redirect-by:	WordPress
Location:	<em><u>hidden link</u></em>
cache-control:	public, max-age=0
expires:	Thu, 20 Feb 2025 10:26:42 GMT
content-length:	0
date:	Thu, 20 Feb 2025 10:26:43 GMT
server:	LiteSpeed
vary:	User-Agent,Accept-Encoding
alt-svc:	h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46"

.... and so on....

As you can see it keeps switching between single and double slash.

Can you please try the following?

Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.

1) Check in String Translation for that URL and see if you can find anything related. If that URL exists, try to correct it for Croatian translation.
--- You can additionally go to WPML -> Settings -> Translate link targets and run the process to scan and auto-adjust the links.
2) If none of these helps, deactivate all plugins except WPML, String Translation, WooCommerce and WCML.
3) Switch to a standard theme like 2024 or 2021.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know and I'll try my best to help you further on the matter.

Regards.

February 20, 2025 at 12:34 pm #16729532

ziga pipan

Thank yuo.

I found out thjat plugin SEO press was causing the url to look like this

hidden link
If I disable it it opens ok
hidden link

Even if I never set any settings, I resetted the plugin settings and now it opens ok.

question remains, why is the feature image and attributes images missing?
hidden link

February 20, 2025 at 12:56 pm #16729606

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates and glad that issue was resolved.

For the other question/issue, I recommend opening a separate ticket/chat because as per forum policy we can only handle one issue per ticket/chat. So you can get more to the point help, without mixing up several issues in one long ticket.

February 20, 2025 at 1:20 pm #16729698
ziga pipan

it's actually tha same question from my original post

New threads created by Waqas Bin Hasan and linked to this one are listed below:

https://wpml.org/forums/topic/split-featured-and-attribute-images-not-showing-on-the-translated-product/

February 21, 2025 at 4:43 am #16732077

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Yes of course the question is from your original message but the problem is different than the redirection issue.

However, I've split it to https://wpml.org/forums/topic/split-featured-and-attribute-images-not-showing-on-the-translated-product/ and 'll be handling in that ticket.

Please feel free to close this ticket as resolved.

February 21, 2025 at 11:26 am #16733305

ziga pipan

thank you!