This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing a redirect loop issue when setting up a WPML language root page on a WordPress site using WPEngine Cache and Solid Security. The loop occurred between WPML redirection and SSL redirects, caused by the site's WordPress address being set to HTTP instead of HTTPS.
Solution: We recommended checking for existing redirects in the .htaccess file or using plugins like Simple 301 Redirects, and ensuring no conflicts with WPEngine Cache or Solid Security. The client resolved the issue by updating the WordPress address from HTTP to HTTPS, which corrected the redirection loop. If you're experiencing similar issues, we recommend verifying your site's URL settings and checking for any conflicting redirects.
Please note that this solution might be outdated or not applicable 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 problem persists, 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.
Background of the issue:
I want to create a redirection root page as in your documentation for my site hidden link. I use WPEngine Cache and Solid Security.
Symptoms:
It creates a redirect loop between WPML redirection and Solid Security / WPEngine SSL redirect.
Questions:
How can I resolve the redirect loop issue between WPML redirection and SSL redirect?
Is there a specific configuration needed for WPEngine Cache when setting up a WPML language root page?
There shouldn't be any issues with WPEngine cache, did you try disabling that and also
Solid Security and see if the redirection works?
Please also check that there aren't already any redirects in place in Simple 301 Redirects or your .htaccess file.
If nothing of this helps, please provide us with the exact code you're using in your root page and how it's called.
Thank you for the updates and the detailed information.
First of all, you can check the details on redirection at hidden link. So it gives the detailed log of where it is coming from. Perhaps it may help understanding it on the production site.
Secondly, I'm not sure what impact is done by WP Engine and Solid Security SSL, but of course 'd be interested in finding this out. We also have a dedicated 2nd tier support who are the experts of investigating in much detail and resolving the issues.
May I request that if you can match your staging environment with the production, and, recreate the same problem? So we can then investigate it on the staging instead of checking in live site and putting that into a risk.
If that's possible, I'll request temporary access (WP-Admin and FTP), preferably to your staging site where the problem has been replicated.
Your next answer will be private, to share this information safely.
IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.
I've found it! Posting here if someone is having this issue some day.
It turns out that it was only because my WP website address was http and not https.
The redirection loop was 1) https 2) WPML redirects to home_url() which was http 3) redirects to https... and so on.
Fixed the Home URL on WordPress, fixed the problem.
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.