This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported an issue with the Croatian version of a WooCommerce product page showing an ERR_TOO_MANY_REDIRECTS error and having a URL with double slashes. Additionally, the featured image and attribute images were not displaying on the translated product page.
Solution: We advised the client to first take a full backup of their site and database. The steps included: 1) Checking in String Translation for the problematic URL and correcting it for the Croatian translation. We also suggested running the process to scan and auto-adjust links under WPML -> Settings -> Translate link targets. 2) Deactivating all plugins except for WPML, String Translation, WooCommerce, and WCML to check if the issue persists. 3) Switching to a standard theme like 2024 or 2021 to rule out theme-related issues. 4) Re-activating plugins one by one to identify any conflicts, and then switching back to the original theme to check for issues.
Alternatively, client found that plugin SEO press was causing the url to look like this, resetting the plugin fixed the issue.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant, 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 problems persist, please open a new support ticket at WPML support forum for further assistance.
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.
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?
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.
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.
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.