Background of the issue:
I am trying to translate a page, but the translated page creates multiple redirects and ends in an error. The issue can be seen at this URL: hidden link. I expected to see the content in French.
Symptoms:
Instead of the expected content, I got an error page.
While one of my teammates handles your ticket, I will provide you with the first debugging steps.
Have you fully completed the page translation? Does the same issue occur if you temporarily disable all plugins except WPML? What is the result if you create a new page and translate it?
Please backup your database before making any changes.
We were able to fix the issue.
I went to "Permalink settings” in the WordPress Admin page and set the value in the Event base field to event. Before there was a placeholder text with the same value. See image attached.
And this fixed it.
I believe that what was happening is that WPML was trying to translate the URL from “event" to the language the user had selected (ex: “évènement", and WordPress was redirecting to “event" again, and then WMPL was translating it again and WordPress was redirecting it to “event” again etc. until it broke (too many redirects).
Once I set the Permalink setting “Event base" to “event” WPML stopped trying to translate this part of the URL and then the event showed correctly.
I’m posting this here in case your team may find a better solution for this (ex: allowing WPML to translate this part of the URL), or make a fix to WPML not to fall into this redirect loop when the value is not set in Permalink settings.
Best,
Carlos
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.