This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing a 'too many redirects' error when switching languages on the login page of their site. This issue arises while using a third-party plugin, Woocommerce Members Only, to create a login page. Solution: 1. Ensure that all WPML plugins and add-ons are updated to the latest version, currently 4.7.2, to benefit from recent bug fixes and improvements. Update instructions can be found at http://wpml.org/faq/install-wpml/. 2. Verify the setup of the WPML and the member plugin on your site to match the configuration on your website. If discrepancies are found, adjust accordingly. 3. If the problem persists, consider contacting the plugin author to report the issue, especially since the plugin claims to be WPML compatible. They can also seek direct support from us through the Go Global program at https://wpml.org/documentation/support/go-global-program/.
If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please 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.
While one of my teammates handles your ticket, I will provide you with initial debugging steps.
Please update your WPML plugin and add-ons to the latest version, 4.7.2, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work on the newest code available to troubleshoot the issue best.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
Remember to backup your database before you proceed.
If the issue persists after an update has been done, please let us know how you created and translated the login page.
I already tried updating my plugins, but the issue is still there.
I translated my login page using the WPML translation editor in the backend using edit page.
1) So I assume you add it there via WC shortcode, right?
2)
Can you please try next:
- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins and Wocommerce
- Switch to WP default theme
- Check if the issue still happens.
the issue seems to happen because of the plugin WooCommerce Members Only, which you are using. It is not on our official compatible plugins list, and some issues may happen.
We can try to reproduce this issue to confirm the bug, and then check with our team if any quick fix, but note that there might not be a proper solution without further plugin author involvement and joining our compatibility program.
I installed the plugin, but I can't activate the license because it is limited to 1 site.
Can I send you the ftp details so you can try on our own site?
hidden link as you can see, the license is invalid and doesn't work without it. I created a new page 'Login page' and added the wpml language switch shortcode. However, if you're not logged in, the plugin doesn't redirect you to the login page like it should and does on the actual site.
I checked, but I see you have not setup WPML or the member plugin same as on your website. I tried, but I can not get the website to be protected, not sure if it really up to licence.
Please try few things more, setup same members plugin and page, and try reproduce the issue on test site,, or you can also check with plugin author and report this issue to them or ask for another license for testing purposes.
As said, we can not guarantee we will be able to fix issue, but we will do our best.
I just changed the settings to the same as on our own website. The plugin does not work properly without the license. If you go to hidden link and try to change the language you can see that eventually it results in an error: TOO_MANY_REDIRECTS
I have checked and I can see the same issue as on your website, I tried to check for a quick solution or workaround but could not find it.
The best I can do is suggest you use a WPML official compatible plugin and/or share this issue with the plugin author, since they claim they are WPML compatible. We would be glad to help if they need our help; they can contact us via:
- https://wpml.org/documentation/support/go-global-program/
Hope this makes sense, and sorry for not being more of help.
Regards,
Drazen
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.