Skip Navigation

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

Problem:
You are experiencing an ERR_TOO_MANY_REDIRECTS error on specific product pages when WPML Multilingual CMS is enabled on your WooCommerce site.
Solution:
This issue is recognized as a known bug related to interactions between WPML and SmartCrawl. Our developers are currently working on a fix. Meanwhile, you can mitigate this issue by adding the following line of code to your wp-config.php file:

define('SMARTCRAWL_DISABLE_PRIMARY_TERMS', true);

Please try this solution and let us know if the problem persists.

Keep in mind that this solution might become outdated or might not apply to your specific case. 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. If the issue continues, please open a new support ticket.

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 0 replies, has 0 voices.

Last updated by konstantinosP-5 1 week, 1 day ago.

Assisted by: Bruno Kos.

Author Posts
January 23, 2025 at 11:55 am

konstantinosP-5

Background of the issue:
I am trying to access specific products on my site hidden link, but I encounter an error. This issue is product-specific and occurs when WPML Multilingual CMS is enabled.

Symptoms:
This page isn’t working. impressionspromo.gr redirected you too many times. ERR_TOO_MANY_REDIRECTS. The error appears when accessing certain products, such as hidden link, but not others.

Questions:
Why does enabling WPML Multilingual CMS cause a redirect error on specific product pages?
How can I resolve the ERR_TOO_MANY_REDIRECTS issue when WPML is enabled?

January 23, 2025 at 12:42 pm
January 23, 2025 at 2:12 pm #16628516

Bruno Kos
Supporter

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

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

Can you only send me 2-3 URL on the staging site where I would get this redirection?

Because if I try the shop/sxoleia/tositseio-ekalis/dimotiko-2/sweatshirt-22/ it only takes me to the home page and I can't find it in products.

January 24, 2025 at 8:33 am #16630607

konstantinosP-5

smartcrawl was disabled. i enabled again so here are some links....

hidden link

hidden link

hidden link

hidden link

January 24, 2025 at 9:19 am #16630700

konstantinosP-5

seems that at the above links there is a missing /dimotiko-2 after /tositseio-ekalis/

links are

hidden link

hidden link

hidden link

hidden link

January 27, 2025 at 10:12 am #16636948

Bruno Kos
Supporter

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

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

I am checking this with our and tier and will keep you posted.

January 27, 2025 at 11:58 am #16637501

konstantinosP-5

it seems it was a smartcrawl issue but with some overlap with wpml (as disabling wpml was also resolving the issue).

They gave me a solution:

We have a known bug that causes too many redirect errors on Woocommerce websites. Our developers are already aware of this and are working on a fix which will be released in next plugin updates.

At this point, you can try using the following code: Please add it to the end of your wp-config.php file and let us know if that wasn't helpful.

define('SMARTCRAWL_DISABLE_PRIMARY_TERMS', true);

thank you